• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSUersDefaults and setting for a specific domain
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSUersDefaults and setting for a specific domain


  • Subject: Re: NSUersDefaults and setting for a specific domain
  • From: "Stephen Deken" <email@hidden>
  • Date: Tue, 26 Sep 2006 15:22:48 -0500

There is, but it means dropping "down" to CFPreferences. Key/value
pairs set via CFPreferences are available through NSUserDefaults and
vice-versa.

Couldn't he also do something like:

 NSUserDefaults *otherUserDefaults = [[NSUserDefaults alloc] init];
 [otherUserDefaults addSuiteName:@"com.mycompany.myapp"];

And then use otherUserDefaults as a normal NSUserDefaults object?

Not in front of a mac at the moment, or I'd have tested this before sending it.

--sjd;
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSUersDefaults and setting for a specific domain
      • From: Chris Parker <email@hidden>
References: 
 >NSUersDefaults and setting for a specific domain (From: David Alter <email@hidden>)
 >Re: NSUersDefaults and setting for a specific domain (From: Chris Parker <email@hidden>)

  • Prev by Date: Re: NSUersDefaults and setting for a specific domain
  • Next by Date: Re: Accuracy of timestamping streamed data (code included - long)
  • Previous by thread: Re: NSUersDefaults and setting for a specific domain
  • Next by thread: Re: NSUersDefaults and setting for a specific domain
  • Index(es):
    • Date
    • Thread