I'm using Core Data, and I have an entity; we'll call it "Item". It
has an attribute called "priority". In the xib, I have an
NSLevelIndicator and NSStepper. I have a NSTableView full of
"Items". Depending on which item is selected in the table view, I
want the level indicator and stepper to display the right values, and
for me to be able to set them to a certain value for each item. There
are 2 problems: If I bind the value of either one to
Item.arrangedObjects.priority, the app throws an exception, whereas if
I bind to Item.selection.priority, the controls don't set each item's
priority individually. What should I bind to?
Secondly, an NSLevelIndicator wants a float for its value, whereas an
NSStepper wants a double for its value. Which should I set it to in
the core data model?
Thanks,
- Walker Argendeli
_______________________________________________
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