[Adium-devl] Using NSUserDefaults for preferences (or not)

Colin Barrett timber at lava.net
Wed Apr 5 01:26:34 UTC 2006


On Apr 4, 2006, at 9:16 PM, David Smith wrote:

>>   - I know Evan doesn't "get my Core Data hard-on" ;), but it's too
>> bad we can't use Core Data for this. Would be nearly instantaneous,
>> and would probably be real fast too. Something like
>> AIPreferenceProxy, but it'd be called AIManagedPreference.
>>
>> -Colin
>
> Whether CoreData or some other database, I think using a database  
> for the ByObject files makes a lot of sense. That might leave us  
> with a small enough (and constant enough) set of prefs data to  
> effectively use NSUserDefaults. As I see it, the current ByObject  
> files are kinda shoehorning a contact database into the prefs system.

We could use SQLite directly for 10.3 compat, or just drop 10.3 at  
some point in the future (1.1?) There may be other database solutions  
out there, anyone have any recommendations? I think it'd also be  
helpful to outline exactly what it is we need in a ByObject database  
replacement. That'll help narrow down the choices.

-Colin




More information about the devel mailing list