On Dec 14, 2010, at 12:40 PM, Matt Neuburg wrote:

> On Sun, 12 Dec 2010 14:05:38 +1100, BareFeetWare 
> <list.develo...@barefeetware.com> 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 that interact with the text input system. So in theory you 
> could do that, and draw with Core Text. Indeed, the docs suggest that you 
> would do exactly that.
> ...
> Unfortunately they make reference to a non-existent example project called 
> SimpleTextInput which, as has been pointed out here before, doesn't exist.
> ...
> This sort of thing makes me wonder whether the protocol is somehow 
> insufficient to work as advertised. Otherwise, why would Apple withdraw the 
> only example illustrating it? And why wouldn't they talk about it at WWDC? 
> Still, this is clearly the direction to go. m.


The protocol, plus NSAttributedString, plus Core Text (plus some thought!) is 
definitely enough to roll your own multi-font text editor, with attachments 
even.  That's what we did for the iPad version of NoteBook.

Best,


__jayson

Circus Ponies NoteBook for iPad
The Best App for Taking Notes on iPad
www.circusponies.com/iPad




_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to