Hi, I have some code that was working fine in 10.5 and earlier, but doesn't work now, and I can't see anything in the release notes about it.

        NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
        NSString *nsstr1 = [defaults stringForKey:@"NMCenterFont"];
        NSString *nsstr2 = [defaults objectForKey:@"NMCenterFont"];
        NSString *nsstr3 = [defaults valueForKey:@"NMCenterFont"];

Prior to Snow Leopard, all three would return the string from my defaults. Now nsstr1 contains the value, and the other two are nil. Can someone else confirm this change?

Thanks

Gideon

_______________________________________________

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