i am getting error: cannot convert to pointer type
NSMutableDictonary *mydictonary;
[mydictionary setValue: [mySlider.value UTF8String] forKey: @"BR"];
i am getting error: cannot convert to pointer type
NSMutableDictonary *mydictonary;
[mydictionary setValue: [mySlider.value UTF8String] forKey: @"BR"];
mySlider.value is a float, which does not respond to UTF8String selector.
Try this:
[mydictionary setValue:[[[NSNumber numberWithFloat:mySlider.value] stringValue] UTF8String] forKey: @"BR"];