Text Editor Example for iPhone [closed]
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this questionMy program requires TXT/RTF editor functionality. I've only been able to find an old Apple example at Database Example: A Simple Text Editor. Unfortunately, its a Javascript program.
I've also seen a few text editor questions on stackoverflow. However, they seem to be mostly related to de开发者_Go百科sign and architecture.
My question is, are there any modern examples of an iOS/Objective C text editor from Apple to use as a starting point?
Use UITextView for text editing. If you need rich text, you have to write something on your own - not currently available. Cocoanetics did start implementing rich text label at https://github.com/Cocoanetics/NSAttributedString-Additions-for-HTML and AFAIK he did want to create rich text editor too (at least I read this on Twitter).
精彩评论