1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

UISlider question

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

  1. macrumors newbie

    #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

    #2
    check the "continuous" (i think that's what it's called) box in IB
     
  3. macrumors newbie

    #3
  4. macrumors newbie

    #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

    #5
    Start by learning Objective-C first..
     
  6. macrumors newbie

    #6
    Thank you helpful.
     
  7. macrumors newbie

    #7
    found a switch in xcode that fixed it for me :)
     
  8. Moderator

    dejo

    Staff Member

    #8
    You'll still want to learn Objective-C though.
     
  9. macrumors 6502

    #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. macrumors newbie

    #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