Re: KVO can be unsafe in -init?
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