Re: nsuserdefaults woes
Re: nsuserdefaults woes
- Subject: Re: nsuserdefaults woes
- From: "Rick C." <email@hidden>
- Date: Sun, 30 Aug 2009 08:11:17 -0700 (PDT)
thanks jerry,
if that's the only way i'll have to look into it. one question though, is there anything i could have done that i can no longer read using addSuiteNamed along with arrayForKey like i mentioned in my original post? just a couple of hours ago it was working for me over and over again. but after many attempts of trying to write to the file now i can no longer even get the initial read. i have recreated the plist again and again and these methods will no longer give me the starting array i'm looking for. just running a defaults shell script will give the info no problem and i can see myself the key and info is there. i figured if i corrupted my plist a new one would fix it but no go. anything come to mind? thanks again i appreciate it,
rick
________________________________
From: Jerry Krinock <email@hidden>
To: cocoa dev <email@hidden>
Sent: Sunday, August 30, 2009 9:33:33 PM
Subject: Re: nsuserdefaults woes
I may be wrong, because I'm in a hurry here, but I believe ethat -addSuiteNamed only works for reading preferences. If you want to write preferences to another app you've got to use the CFPreferences API (unfortunately).
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden