• 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's isEqualToDictionary: method
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSDictionary's isEqualToDictionary: method


  • Subject: NSDictionary's isEqualToDictionary: method
  • From: Michael James <email@hidden>
  • Date: Thu, 25 Mar 2004 06:15:02 -0500
  • Resent-date: Thu, 25 Mar 2004 18:25:47 -0500
  • Resent-from: Michael James <email@hidden>
  • Resent-message-id: <email@hidden>
  • Resent-to: email@hidden

I am writing a unit test that creates a property list in code (with an NSMutableDictionary as the plist's root element), writes it to a file (as an XML plist), reads it back into memory and checks if the plist read from the file equals the original one created in code.

I am able to successfully write the XML plist file and read it back in, but when I check their equality with isEqualToDictionary:, it returns NO. I make no changes at all to the file and when I print out both dictionaries using the description method, their contents are exactly the same.

Does anyone have an idea why this is happening? Thanks in advance for all of your help.

- Michael James
_______________________________________________
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: Access to ADC TV (142 free sessions ?)
  • Next by Date: [OT]xcode troubles
  • Previous by thread: NSDictionary's isEqualToDictionary: method
  • Next by thread: String constants and how to do them
  • Index(es):
    • Date
    • Thread