• 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 and NSArray
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSUserDefaults and NSArray


  • Subject: Re: NSUserDefaults and NSArray
  • From: j o a r <email@hidden>
  • Date: Fri, 13 Sep 2002 15:47:21 +0200

Have you verified that you actually find anything in user defaults? Something like this:

- (void) readMyArray
{
NSArray * myArray = [[NSUserDefaults standardUserDefaults] objectForKey: @"MyArray"];

if (myArray != nil) {
NSLog(@"Found %d entries in user defaults", [myArray count]);
} else {
NSLog(@"Nothing stored in user defaults");
}
}

j o a r

On Friday, Sep 13, 2002, at 15:21 Europe/Stockholm, email@hidden wrote:

Why _myList is nil!!
_______________________________________________
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.

  • Follow-Ups:
    • Re: NSUserDefaults and NSArray
      • From: jerome LAURENS <email@hidden>
References: 
 >NSUserDefaults and NSArray (From: email@hidden)

  • Prev by Date: Exception handling: confused by syntax
  • Next by Date: Re: setFrameUsingName , setFrameAutosaveName
  • Previous by thread: NSUserDefaults and NSArray
  • Next by thread: Re: NSUserDefaults and NSArray
  • Index(es):
    • Date
    • Thread