• 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: 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


  • Follow-Ups:
    • Re: NSPropertyListSerialization weirdness
      • From: Robert Martin <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>)

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