Re: NSForegroundColorAttributeName without AppKit
Re: NSForegroundColorAttributeName without AppKit
- Subject: Re: NSForegroundColorAttributeName without AppKit
- From: Graham Cox <email@hidden>
- Date: Tue, 2 Mar 2010 14:53:37 +1100
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 (email@hidden)
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:
This email sent to email@hidden