• 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: KVO can be unsafe in -init?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: KVO can be unsafe in -init?


  • Subject: Re: KVO can be unsafe in -init?
  • From: "Stephen J. Butler" <email@hidden>
  • Date: Tue, 8 Sep 2009 22:09:08 -0500

On Mon, Sep 7, 2009 at 9:36 AM, John Chang<email@hidden> wrote:
> This code is running on iPhone OS. On some devices (we haven't been to
> narrow this down), the last line of code is throwing an exception:
>
> Sun Sep  6 13:41:26 unknown MyApp[1609] <Error>: *** Terminating app due to
> uncaught exception 'NSInvalidArgumentException', reason: '***
> -[NSCFDictionary setObject:forKey:]: attempt to insert nil key'

Why do you think registering the observer is causing this exception?
There's nothing KVO related in this message.
_______________________________________________

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: 
 >KVO can be unsafe in -init? (From: John Chang <email@hidden>)

  • Prev by Date: How to set the media box for a CGPDFPageRef?
  • Next by Date: Re: Malloc error: GC operation on unregistered thread...
  • Previous by thread: Re: KVO can be unsafe in -init?
  • Next by thread: Re: KVO can be unsafe in -init?
  • Index(es):
    • Date
    • Thread