You've got your keys and values the wrong way around in your dictionary. The method name hints at this - object first, then key.
On 30/03/2010, at 3:12 AM, Dale Miller wrote: > two attribute dictionaries: > stext = [[NSDictionary alloc]initWithObjectsAndKeys: > NSFontAttributeName,sfont, > NSUnderlineStyleAttributeName,[NSNumber > numberWithInt:NSUnderlineStyleNone], > nil]; > btext = [[NSDictionary alloc]initWithObjectsAndKeys: > NSFontAttributeName,bfont, > NSUnderlineStyleAttributeName,[NSNumber > numberWithInt:NSUnderlineStyleSingle], > nil]; _______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [email protected]
