NSDictionary's isEqualToDictionary: method
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.