PDA

View Full Version : How to increment and decrement...




rethish
Nov 5, 2008, 12:07 AM
please provide examples for incrementing and decrementing the value using NSStepper.



kainjow
Nov 6, 2008, 08:15 AM
NSStepper automatically increments and decrements its value. Assign it a target and action and then use one of its accessor methods (like intValue) to retrieve its current value.

garethlewis2
Nov 6, 2008, 10:53 AM
Or use bindings.