On 2011 Feb 07, at 16:46, Darren Wheatley wrote: > When I try to bind the enabled property I get the following error: > > "cannot create BOOL from object of class __NSArray0" > > Does anyone have any idea how I can achieve the desired result?
Yes, most people get that the first time they try this. It can be a little counterintuitive until you understand it. The error is helpful, though. As the error implies, you are probably binding a checkbox to an array (__NSArray0). You need to bind the *table column* instead of the checkbox. The typical binding for this case looks something like: * Table Column Bindings ** Value, or Enabled Bind to: FooArrayController Controller Key: arrangedObjects Model Key Path: active _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com