46
46
CFPropertyListRef obj = CFPreferencesCopyAppValue((CFStringRef)defaultName, (CFStringRef)identifier);
48
48
// passed into -[NSUserDefaults registerDefaults:] is ignored. The following line falls
49
49
// back to using NSUserDefaults, but only if the host bundle is the main bundle, and no value
51
51
if (obj == NULL && [identifier isEqualToString:[[NSBundle mainBundle] bundleIdentifier]])
52
52
obj = [[NSUserDefaults standardUserDefaults] objectForKey:defaultName];
60
60
- (void)setObject:(id)value forKey:(NSString *)defaultName;