Re: NSUserDefaultsController
Re: NSUserDefaultsController
- Subject: Re: NSUserDefaultsController
- From: mmalcolm crawford <email@hidden>
- Date: Sat, 8 Nov 2003 14:04:06 -0800
On Nov 8, 2003, at 1:05 PM, James Spencer wrote:
NSData * tempData = [[[NSUserDefaultsController
sharedUserDefaultsController]
defaults] valueForKey:@"smtpServer"];
but what is returned is a data object and I can't figure out how to
convert this object back into my NSString.
NSString * server = [[[NSUserDefaultsController
sharedUserDefaultsController]
defaults] stringForKey:@"smtpServer"];
mmalc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.