Re: NSPropertyListSerialization weirdness
Re: NSPropertyListSerialization weirdness
- Subject: Re: NSPropertyListSerialization weirdness
- From: Jens Alfke <email@hidden>
- Date: Sun, 26 Jul 2015 14:44:22 -0700
> On Jul 26, 2015, at 2:28 PM, Robert Martin <email@hidden> wrote:
>
> I get a null, and an error (200) that the plist contains null.
>
> Before I make that call, I put in a check for nulls, but none are found:
You’re checking for nil pointers. (Which are illegal in Foundation collections, so you’ll never find any.)
It sounds like the error is complaining about instances of NSNull.
If that’s not the problem, then another possibility is that updateDictionary itself is nil — your snippet won’t log that as a problem because the entire enumeration will be silently skipped.
—Jens
_______________________________________________
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