Core Data bindings question
Core Data bindings question
- Subject: Core Data bindings question
- From: Darren Wheatley <email@hidden>
- Date: Tue, 08 Feb 2011 00:46:18 +0000
- Thread-topic: Core Data bindings question
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 (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