• 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: binding uncaught exception
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >binding uncaught exception (From: "Ahmet Taha Sakar" <email@hidden>)

  • Prev by Date: Re: guilty for asking questions?
  • Next by Date: Moderator EOT [Re: guilty for asking questions?]
  • Previous by thread: binding uncaught exception
  • Next by thread: mDNS Service Discovery and Text Record access
  • Index(es):
    • Date
    • Thread