Hello,

I have a NSTableView with a column of checkboxes. I have the checkbox value 
bound to an NSInteger instance in a class which is in an array bound as the 
content to an array controller. When the program starts the column is filled 
with 16 rows and the checkbox is set to off. Other columns with bindings seem 
to work OK, but the checkbox column gives the error

 Cannot create BOOL from object (
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0
) of class NSCFArray

This column is not bound to a core data managed object. The other columns are. 
I can get rid of this error if I remove the binding on the other columns that 
are bound to core data managed objects.

So, the question is can a TableView have columns where some columns are bound 
to core data managed objects and others to unmanaged objects? If not, then is 
there a way to prevent changes to a managed object from causing the document 
from being tagged as dirty and triggering the "Save" dialog when closing?

If mixed bindings are allowed, any idea what I am doing wrong?

Thanks




_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to