• 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: NSPropertyListSerialization weirdness
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSPropertyListSerialization weirdness


  • Subject: Re: NSPropertyListSerialization weirdness
  • From: Robert Martin <email@hidden>
  • Date: Sun, 26 Jul 2015 17:51:44 -0400

Thanks Jens, I’ll test for NSNulls instead. I know the dictionary is valid because after I read it with dictionaryWithContentsOfFile:, I log it, and it ‘looks' fine…


> On Jul 26, 2015, at 5:44 PM, Jens Alfke <email@hidden> wrote:
>
>
>> 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


References: 
 >NSTableView - kill the blue (Obj-C) (From: 2551 <email@hidden>)
 >Re: NSTableView - kill the blue (Obj-C) (From: Ken Thomases <email@hidden>)
 >NSPropertyListSerialization weirdness (From: Robert Martin <email@hidden>)
 >Re: NSPropertyListSerialization weirdness (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: NSPropertyListSerialization weirdness
  • Next by Date: Generics Question
  • Previous by thread: Re: NSPropertyListSerialization weirdness
  • Next by thread: Re: NSPropertyListSerialization weirdness
  • Index(es):
    • Date
    • Thread