• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSLevelIndicator Bindings Crash
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSLevelIndicator Bindings Crash


  • Subject: NSLevelIndicator Bindings Crash
  • From: Walker Argendeli <email@hidden>
  • Date: Sat, 21 Mar 2009 17:41:52 -0400

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 (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


  • Follow-Ups:
    • Re: NSLevelIndicator Bindings Crash
      • From: Richard Somers <email@hidden>
  • Prev by Date: Re: MacRoman -> UTF8
  • Next by Date: What is -launchApplication:'s "name of the application"
  • Previous by thread: Re: MacRoman -> UTF8 [solved]
  • Next by thread: Re: NSLevelIndicator Bindings Crash
  • Index(es):
    • Date
    • Thread