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.

FacebookTwitterDiggStumbleUponGoogle Plus

Original article: Open Source iOS Component For Creating Customizable Text Views For Source Code Editing

©2014 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.

Leave a Reply

Your email address will not be published. Required fields are marked *