On 02/03/2010, at 2:42 PM, Murat Konar wrote:

>> Unfortunately it seems that using the @"NSColor" key as part of an 
>> NSAttributedString also requires AppKit.
> 
> Well, that's because NSColor (the class) is part of AppKit.


You can still create a literal string @"NSColor" without AppKit - it does not 
have anything to do with NSColor the class.

The reason it won't work for the OP is because NSAttributedString methods for 
displaying the string are in AppKit.

--Graham


_______________________________________________

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