• 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
Re: Rounding the output value while the slider is being moved
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rounding the output value while the slider is being moved


  • Subject: Re: Rounding the output value while the slider is being moved
  • From: "I. Savant" <email@hidden>
  • Date: Fri, 29 Sep 2006 10:47:49 -0400


Additionally, read the documentation on NSFormatter and the Data Formatting Programming Guide. That'll help you understand what's going on a bit better.


file:///Developer/ADC Reference Library/documentation/Cocoa/ Conceptual/DataFormatting/index.html

file:///Developer/ADC Reference Library/documentation/Cocoa/ Reference/Foundation/Java/Classes/NSFormatter_index.html#//apple_ref/ doc/uid/20000470

--
I.S.


On Sep 29, 2006, at 10:19 AM, Hank Heijink wrote:

I would just put a number formatter on your textfield.

Uhm, I am not sure how I'd do that - is it in the docs for NSTextField?

It's in interface builder, text palette, lower left corner. The one with the dollar sign. Just drop it on the text field and check out the properties in the inspector.

_______________________________________________ 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:
    • trying to save NSImage with different resolution
      • From: Alexander Cohen <email@hidden>
    • Re: Rounding the output value while the slider is being moved
      • From: Artemiy Pavlov <email@hidden>
References: 
 >Rounding the output value while the slider is being moved (From: Artemiy Pavlov <email@hidden>)
 >Re: Rounding the output value while the slider is being moved (From: Artemiy Pavlov <email@hidden>)
 >Re: Rounding the output value while the slider is being moved (From: Hank Heijink <email@hidden>)

  • Prev by Date: Re: detachDrawingThread:toTarget:withObject: vs detachNewThreadSelector:toTarget:withObject:
  • Next by Date: Animation during scrollbar tracking
  • Previous by thread: Re: Rounding the output value while the slider is being moved
  • Next by thread: Re: Rounding the output value while the slider is being moved
  • Index(es):
    • Date
    • Thread