• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: nsuserdefaults woes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: nsuserdefaults woes
      • From: Jerry Krinock <email@hidden>
References: 
 >nsuserdefaults woes (From: "Rick C." <email@hidden>)
 >Re: nsuserdefaults woes (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: x86_64 "Symbol not found" problem
  • Next by Date: Re: Async NSURLConnection + Concurrent NSOperation = Not possible under Mac OS X 10.6?
  • Previous by thread: Re: nsuserdefaults woes
  • Next by thread: Re: nsuserdefaults woes
  • Index(es):
    • Date
    • Thread