Re: iOS multiple text colors in an editable text field

2010-12-14 Thread Jayson Adams
On Dec 14, 2010, at 12:40 PM, Matt Neuburg wrote: > On Sun, 12 Dec 2010 14:05:38 +1100, BareFeetWare > said: >> 1. Apple Mail. If you reply to a messages containing multi-colored text, you >> can edit that text. >> >> So my question is, how do they do it? > > Okay, I see now that there's a U

Re: iOS multiple text colors in an editable text field

2010-12-14 Thread Matt Neuburg
On Sun, 12 Dec 2010 14:05:38 +1100, BareFeetWare said: > 1. Apple Mail. If you reply to a messages containing multi-colored text, you > can edit that text. > > So my question is, how do they do it? Okay, I see now that there's a UITextInput protocol allowing you to design your own widgets tha

Re: iOS multiple text colors in an editable text field

2010-12-12 Thread Kyle Sluder
On Dec 12, 2010, at 4:43 AM, BareFeetWare wrote: > On 12/12/2010, at 5:02 PM, Kyle Sluder wrote: > >> We wrote our own. > > Could you perhaps be more enlightening? Such as for what app(s)? For display > did you use CoreText and NSAttributedStrings or UIWebView? What did you do > for text edi

Re: iOS multiple text colors in an editable text field

2010-12-12 Thread Matt Neuburg
On Sun, 12 Dec 2010 14:05:38 +1100, BareFeetWare said: >1. Apple Mail. If you reply to a messages containing multi-colored text, you >can edit that text. > >So my question is, how do they do it? Perhaps they have access to API that we don't... m. -- matt neuburg, phd = m...@tidbits.com,

Re: iOS multiple text colors in an editable text field

2010-12-12 Thread BareFeetWare
On 12/12/2010, at 5:02 PM, Kyle Sluder wrote: > We wrote our own. Could you perhaps be more enlightening? Such as for what app(s)? For display did you use CoreText and NSAttributedStrings or UIWebView? What did you do for text editing? Is the result transparent to the user or have annoying glit

Re: iOS multiple text colors in an editable text field

2010-12-11 Thread Kyle Sluder
On Dec 11, 2010, at 7:05 PM, BareFeetWare wrote: > 1. Apple Mail. If you reply to a messages containing multi-colored text, you > can edit that text. > 2. Pages > 3. Textastic > 4. HTML Edit > 5. for i > 6. Code Viewer 2 We wrote our own. --Kyle Sluder_

Re: iOS multiple text colors in an editable text field

2010-12-11 Thread BareFeetWare
On 12/12/2010, at 4:27 AM, Matt Neuburg wrote: > NSAttributedString support is not "worthless" at all. Both CATextLayer and > the Core Text drawing routines accept an NSAttributedString. With > CATextLayer, displaying an attributed string is one line of code! Actually, you're right. It's been a

Re: iOS multiple text colors in an editable text field

2010-12-11 Thread Matt Neuburg
On Fri, 10 Dec 2010 12:43:48 +1100, BareFeetWare said: >3. iOS 3.2 and above state that they provides NSAttributedString support. You >can fiddle around to get multiple colors in the objects, but there's still no >way to actually display the colored text (which makes the NSAttributedString >su

Re: iOS multiple text colors in an editable text field

2010-12-09 Thread Kyle Sluder
On Thu, Dec 9, 2010 at 5:43 PM, BareFeetWare wrote: > Hi all, > > How can I display and edit text with multiple colors on iOS? There is no rich text editing support on iOS. I don't know if anyone's offering it in a framework. --Kyle Sluder ___ Cocoa-d

iOS multiple text colors in an editable text field

2010-12-09 Thread BareFeetWare
Hi all, How can I display and edit text with multiple colors on iOS? I looked into this months ago and got nowhere, but I've since noticed several iOS apps doing it. Even Apple's Mail app allows you to edit multi-colored text in a reply. So there must be a way I'm missing. What I know: 1. UIT