Get Updates By E-mail 

Article Written By:
Johann Dowa

Open Source Library Allowing You To Create Text String Shaped By A UIBezierPath

  •  
  •  
  •  
  •  
  •  

I’ve mentioned a couple of interesting open source projects that make use of bezier path, such as KYCircularProgess which allows you to make completely custom progress indicators that move along a specified UIBezierPath.

Here’s an interesting library from Luka Orešnik allowing you to render strings along a UIBezierPath called BezierString. This allows you to create strings that curve exactly how you’d like such as arched and circular text strings.

To use BezierString you simply create a formatted string with NSAttributedString, and then you can render the string along the bezier path as an image.

You can use the included UIBezierLabel class in place of a UILabel and the text in the label will be displayed along a supplied bezier path.

Here’s an image from the readme showing a formatted string rendered along a bezier path with BezierString:
Bezier String

You can find BezierString on Github here.

A nice library for placing text along curved path.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments