/RSJoystick

iOS UI control element

Primary LanguageObjective-COtherNOASSERTION

RSJoystick

RSJoystick is joystick control for iOS.

Demo GIF

Here is values you can get from joystick:

-(void)positionChanged:(RSJoystick *)sender {
    NSLog(@"value: %f", sender.value);
    NSLog(@"radius: %f", sender.radius);
    NSLog(@"angle: %f", sender.angle);
    NSLog(@"cartesian: %@", NSStringFromCGPoint(sender.cartesianPoint));
}

License

RSJoystick is licensed under the terms of the MIT license. Please see the LICENSE file for full details.