integer value in NSTableColumn
integer value in NSTableColumn
- Subject: integer value in NSTableColumn
- From: Andres <email@hidden>
- Date: Thu, 19 Jul 2007 12:01:20 -0400
I have an entity with an integer32 attribute called "quantity" and I have an
array controller with instances of this entity. By binding an NSTableColumn
to the controller I am able to display the quantity values in the table just
fine. The problem is when I try to edit the quantity value in the table I
get the message below and am not allowed to tab out of the edit field.
Unacceptable type of value for attribute: property = "quantity"; desired
type = NSNumber; given type = NSCFString; value = 6.
How do I resolve the that the table is using NSStrings and the array
controller is storing the values as NSNumbers?
Thanks,
Andres
_______________________________________________
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