I have an NSSlider that is trying to convert a regular float to CGFloat. The code I'm using is:
CGFloat testing = [mainSlider floatValue];
However, this simply makes the test variable "0.00" when trying to register it.
NSLog(@"%f", testing);
Does anyone have any idea why this will happen? Thanks for any help.
source
share