objective c - Reading NSSlider always returns 0 -
g'day, have been reading nssliders last hour. why nslog(@"%f",[myslider doublevalue]) return zero? reading value slider variable should straight forward reason doesn't. thanks, andrew.
have tried nslog(@"%@", myslider) ? it's entirely possible myslider nil @ point you're reading it.
Comments
Post a Comment