• 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
Current tick mark index of NSSlider?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Current tick mark index of NSSlider?


  • Subject: Current tick mark index of NSSlider?
  • From: Glen Simmons <email@hidden>
  • Date: Mon, 20 Dec 2004 16:04:08 -0600

So there's a -tickMarkValueAtIndex: method to get from tick mark to actual value, but there's no -tickMarkIndexForValue: for going the other way. I need to know which tick mark my slider is set to. The only way i see of doing it is iterating through the tick marks and comparing the result of -tickMarkValueAtIndex: against the current value, which seems a bit inefficient. Am I missing something?

Thanks,
Glen

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Current tick mark index of NSSlider?
      • From: Andreas Mayer <email@hidden>
  • Prev by Date: @distinctUnionOfObjects changes the order of objects?
  • Next by Date: Toolbar bug?
  • Previous by thread: Re: @distinctUnionOfObjects changes the order of objects?
  • Next by thread: Re: Current tick mark index of NSSlider?
  • Index(es):
    • Date
    • Thread