Re: set defaults in another application?
Re: set defaults in another application?
- Subject: Re: set defaults in another application?
- From: Kyle Sluder <email@hidden>
- Date: Thu, 1 Jul 2010 18:00:47 -0700
On Thu, Jul 1, 2010 at 5:49 PM, Angelo Chen <email@hidden> wrote:
> Hi,
> In application A, I use following code to set some settings:
> NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];NSData *defaultSettings = [defaults objectForKey : EXPORT_SETTINGS];
> ExportSettings *es = [[ExportSettings alloc] init];NSData *settings = [es getExportSettings: defaultSettings];[es release];if (settings) [defaults setObject:settings forKey:EXPORT_SETTINGS]; Now I'd like to access and set the settings in application B to the defaults in A, possible? thanks,
http://www.google.com/search?q=nsuserdefaults+other+application
--Kyle Sluder
_______________________________________________
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