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

NSDictionary vs NSArray writeToFile


  • Subject: NSDictionary vs NSArray writeToFile
  • From: Jeff Evans <email@hidden>
  • Date: Mon, 30 Sep 2002 13:37:58 -0500

I'm working on a program to record people signing into a computer lab, and it stores who has logged in and out with an array, and a dictionary for those who are currently logged in. When I try to save my data with writeToFile, it works for the array but fails for the dictionary, even though they contain the exact same type of object (when someone logs out, i move the entry from the dictionary to the array). I did something similar to this in 10.1, and it worked fine. How can I work around this besides converting my dictionary to an array?

-Jeff
_______________________________________________
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.

  • Prev by Date: NSTextView insertion point when draggin
  • Next by Date: Re: [newbie] Handling a preferences window
  • Previous by thread: NSTextView insertion point when draggin
  • Next by thread: Passing by reference vs Passing by value
  • Index(es):
    • Date
    • Thread