On 19.06.2011, at 09:18, Graham Cox wrote:
> Just use the files as resources.

 Just to avoid any potential for confusion: What Graham means here are 
lower-case resources, i.e. files in a "Resources" folder in your application. 
The original stuff you probably have are upper-case Resources, i.e. little 
blobs of data in the resource fork of a file, or in the data fork of a special 
.rsrc file of your application's bundle, depending on how old your code really 
is.

 But yeah, the "Cocoa way" of doing this is to simply use NSAttributedString, 
which takes RTF files natively, and then stash that in an NSTextView for 
display.

Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.lookandfeelcast.com

_______________________________________________

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