Get Updates By E-mail 

Article Written By:
Johann Dowa

Open Source iOS Component For Creating Customizable Text Views For Source Code Editing

  •  
  •  
  •  
  •  
  •  

A few months ago I mentioned an excellent component for rich text editing with a number of nice features such as font selection, colours, and alignment selection with a built-in custom keyboard.

Here’s an open source component that utilizes CoreText to allow you to create customizable text views for code editing called CYRTextView from Ilya Busigin.

Specifically CYRTextView allows you to display line numbers, provides gesture based navigation within the text view and allows you to define how text is highlighted using regular expressions.  There’s an example included that provides a nice example of how to use the highlighting.

Here’s an image from the read me showing CYRTextView example in action:

CYRTextView

You can find CYRTextView on Github here.

A nice custom text view component if you need a view with source code highlighting in your app.


  •  
  •  
  •  
  •  
  •  

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