Hi,

I have a Core Data app that displays data in a tableView with each column
bound to a field in a core data entity.

One field is called "active", and is of type BOOL

I box the BOOL for insertion into the Core Data store using [NSNumber
numberWithBool];

In the TableView I would like to bind the "enabled" property of each cell
to the "active" variable, so that if a record has "active" set to NO all
of the fields become read only.

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?

Regards

Darren.



_______________________________________________

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

Reply via email to