How to increment and decrement...

Discussion in 'Mac Programming' started by rethish, Nov 4, 2008.

  1. rethish macrumors member

    Joined:
    Oct 16, 2008
    #1
    please provide examples for incrementing and decrementing the value using NSStepper.
     
  2. kainjow Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #2
    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.
     

Share This Page