UISlider question

Discussion in 'iPhone/iPad Programming' started by TheDozer, Nov 27, 2009.

  1. macrumors newbie

    Joined:
    Oct 15, 2009
    #1
    Hi all programming pros

    is there some way to get the UISlider send the value until released ?
    Hope you understand what I'm looking for...

    Cheers'
     
  2. Guest

    Darkroom

    Joined:
    Dec 15, 2006
    Location:
    Montréal, Canada
    #2
    check the "continuous" (i think that's what it's called) box in IB
     
  3. thread starter macrumors newbie

    Joined:
    Oct 15, 2009
    #3
  4. thread starter macrumors newbie

    Joined:
    Oct 15, 2009
    #4
    continuous

    Contains a Boolean value indicating whether changes in the sliders value generate continuous update events.

    @property(nonatomic, getter=isContinuous) BOOL continuous

    Discussion

    If YES, the slider sends update events continuously to the associated target’s action method. If NO, the slider only sends an action event when the user releases the slider’s thumb control to set the final value.

    The default value of this property is YES.


    how do I set it to no ?

    Yes I'm a noob
     
  5. Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #5
    Start by learning Objective-C first..
     
  6. thread starter macrumors newbie

    Joined:
    Oct 15, 2009
    #6
    Thank you helpful.
     
  7. thread starter macrumors newbie

    Joined:
    Oct 15, 2009
    #7
    found a switch in xcode that fixed it for me :)
     
  8. Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #8
    You'll still want to learn Objective-C though.
     
  9. macrumors 6502

    Joined:
    Oct 31, 2007
    Location:
    San José
    #9
    Interface Builder can be a great tool for someone who really knows their way around Cocoa. The problem is that Interface Builder abstracts so much out of the process that I don't think it's a great idea for beginners to "Learn Cocoa" with it.

    Besides, there are many attributes for views that you cannot modify in Interface Builder; you will have to drop down to code sooner or later.
     
  10. thread starter macrumors newbie

    Joined:
    Oct 15, 2009
    #10
    all of you are off course right :)

    I'm trying to do it at the same time :)
    Objective-C, Cocoa and Cocoa-touch haha some evenings my head is spinning

    I have found a new love ESPRESSO !
     

Share This Page