CFPreferences & NSArray*
CFPreferences & NSArray*
- Subject: CFPreferences & NSArray*
- From: Alessandro Volz <email@hidden>
- Date: Tue, 2 Mar 2004 12:32:45 +0100
PLEASE :(( someone tell me why this code makes my app crash....
NSMutableArray *inner = [NSMutableArray arrayWithCapacity:0];
[inner addObject:[NSNumber numberWithBool:NO]];
[inner addObject:[NSNumber numberWithChar:'+']];
[inner addObject:[NSString stringWithString:@"Whatever"]];
[inner addObject:[NSNumber numberWithChar:13]];
[inner addObject:[NSColor redColor]];
CFPreferencesSetAppValue((CFStringRef)@"Test", inner,
kCFPreferencesCurrentApplication);
Thanks.... (crashes on "CFRetain" inside CFPreferencesSetAppValue).
---
Tous les chats sont mortels. Socrate est mortel. Donc Socrate est un
chat.
_______________________________________________
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.