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:
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.
- Component Providing A Rich Text Editing View With Extra Buttons For Formatting
- Open Source Component For Easily Creating A Custom Progress Indicator From An Image
- Top iOS Development Resources For Week Ended December 8th, 2013
- Top iOS Development Resources For Week Ended September 22nd, 2013
- Open Source iOS Component For Creating Customizable Circular Progress Views
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.