Re: binding uncaught exception
Re: binding uncaught exception
- Subject: Re: binding uncaught exception
- From: "Shawn Erickson" <email@hidden>
- Date: Wed, 18 Apr 2007 14:06:00 -0700
On 4/18/07, Ahmet Taha Sakar <email@hidden> wrote:
2007-04-18 13:50:36.265 Monopoly[12003] An uncaught exception was raised
2007-04-18 13:50:36.265 Monopoly[12003] Cannot create NSArray from object {0
= <Corner: 0x35ccb0>; } of class NSCFDictionary
2007-04-18 13:50:36.265 Monopoly[12003] *** Uncaught exception:
<NSInternalInconsistencyException> Cannot create NSArray from object {0 =
<Corner: 0x35ccb0>; } of class NSCFDictionary
I'm getting this error for some reason for an object. The other binding
works all fine, but when I tried to create another nsmutabledictionary
object and assign it to a nsarraycontroller, I'm getting this error. Anyone
has any idea?
I think the failure you are getting aligns with what you described you
are attempting to do... or by "assign" to you mean add a dictionary
instance to an array (via the array controller)?
As you likely know a dictionary is not an array. NSArrayControllers
"manage" arrays (or sets) not dictionaries. NSObjectContollers
"manage" dictionaries.
-Shawn
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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