JLJoystick
UIView subclass Joystick. Joystick moves around in a perfect circle. No additional resources, just code, so it very light weight. Updates an angle variable or subscribe to the delegate to be notified when the joystick is moved.
Dependencies
UIKit QuartzCore
Usage
Steps:
- Copy the header and the main file to your project.
- Import the header file into the header
License
This OpenSource project is licensed under the Creative Commons-Attribution-ShareAlike 3.0 License. Below is the human readable version of the license:
You are free to: Share — copy and redistribute the material in any medium or format Adapt — remix, transform, and build upon the material for any purpose, even commercially. The licensor cannot revoke these freedoms as long as you follow the license terms. Under the following terms:
Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use. ShareAlike — If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original. No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.
Notices: You do not have to comply with the license for elements of the material in the public domain or where your use is permitted by an applicable exception or limitation. No warranties are given. The license may not give you all of the permissions necessary for your intended use. For example, other rights such as publicity, privacy, or moral rights may limit how you use the material.
The full license is available in the license document and here: https://creativecommons.org/licenses/by-sa/3.0/au/legalcode