Still problems with storing preferences
Still problems with storing preferences
- Subject: Still problems with storing preferences
- From: Eivind Andersen <email@hidden>
- Date: Fri, 10 Oct 2003 00:46:39 +0200
Hi,
Sorry for bugging you with the same problem, but I really can't figure
out what to do!
The problem is: I want to store a buddylist, so I don't have to add the
buddies every time I start the Instant messaging app I'm making. The
buddylist is a NSMutableArray, that contains objects from a
"buddyclass" that I've made myself.
So far I've tried to save all the variables to file. i've tried using
NSUserDefaults, but I didn't like my MutableArray.
My final plan was to store everything in a NSDictionary, and then add
it to the NSDefaults. But when I print out the dictionary it turns out
the buddylist isn't stored at all.
Now i really don't know what to do..
Is there anyone who can explain to me how I can store a NSMutableArray,
containing objects from a self-made class? If so, I would be MOST
thankful!
(If anyone wonderes...I'm totally new to both cocoa and objective-c:)
best regards,
Eivind Andersen
_______________________________________________
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.