Does somebody know a rich text editor (like NSTextView
for Mac OS X) library for the iOS platform?
Asked
Active
Viewed 2.3k times
10

Dharmesh Dhorajiya
- 3,976
- 9
- 30
- 39
-
1You know, one **amazing/bizarre** solution to this: it sounds crazy but, just bring up a UIWebView.... And then have your web-side colleagues make a perfectly sized "web page" for there, that is, simply, a CKEditor. Just click to http://ckeditor.com to see how perfectly, amazingly, after years of development, web rich-text-editing has become. It would be a staggering amount of work to equal that in a native app. – Fattie Jun 09 '14 at 12:03
-
@JoeBlow This question is almost four years old. By now, the iOS SDK has gained lots of features which make creating a rich text editor fairly simple. Stuff like TextKit didn't exist back then. – Jun 10 '14 at 12:14
-
Hey Ph! Guten tag, I'm almost certain that **today 2014** there is no easy way to build a **WYSIWYG rich text editor**. Sure, you would use TextKit but is like saying you'd use strings :-) Amazingly there is no library for this. (On the "under construction" one mentioned below, and the Omni project which is just a pile of sample code.) The ONLY WAY I know to do it, is using the (bizarre/amazing) trick of using creditor inside a webView window (and then, somehow, coordinating with a server). **IF YOU KNOW A SOLUTION, I'M WAITING TO SEND YOU MONEY!** – Fattie Jun 10 '14 at 13:57
-
1Note, TBC TextFields do today have (trivial) "rich" text editing built-in: hold down on a word and you can select bold, italic, underline. {Note though that even that has no relation to creating marked up text, RTF, html whatever.} – Fattie Jun 10 '14 at 13:58
4 Answers
7
I am following 3 rich text editors for iOS, available in GitHub. Below is the list:
ZSSRichTextEditor is best library among these.

Teena nath Paul
- 2,219
- 23
- 28
7
The Omni Group also released some code that could be the start of a rich-text editor.
http://github.com/omnigroup/OmniGroup/tree/master/Frameworks/OmniUI/iPad/Examples/TextEditor/
Based on Core Text.

Stefan Arentz
- 34,311
- 8
- 67
- 88
5
Here's an attempt at a fully implemented one: http://www.cocoanetics.com/parts/dtrichtexteditor/

jamie
- 2,963
- 1
- 26
- 27
4
One doesn't exist, you'll have to craft one yourself. There are examples of using Core Text out there, if you just know where to look. For instance, the I7CoreTextExample is one such example.

jer
- 20,094
- 5
- 45
- 69