iOS hacker and developer Ryan Petrich has been working hard on a new API that developers will soon be able to take advantage of. The API will allow developers to write toggle switches for their tweaks; it will be named Flipswitch and it will be open source. Because it's an API, it won't have any user interface.
The overall goal of Flipswitch is to make it so developers all take advantage of the same toggle switch API and make it so there arenít so many variations of toggle interfaces in Cydia. This will not only make developing toggle switch tweaks easier on developers, but also make bug tracking a whole lot easier as well. Here are the words from Petrich himself:
Originally Posted by Ryan Petrich
Several projects are already in place to begin taking advantage of the Flipswitch API in the future. While we canít name them all at this point in time, we can say that Activator, and an upcoming Auxo update will take advantage of Flipswitch. Auxo's toggles will still remain in the App Switcher even though they will be powered by Flipswitch. Activator on the other hand will be adding Flipswitch support so that individual Activator actions can be assigned to toggle switch features.
Even though Flipswitch isnít available for developers yet on the main repositories, you can find it, along with Switchicons, on Ryan Petrichís beta repository. If you would like to give it a try, add Ryan Petrichís beta repository by following the steps below:
- tap on the Manage tab
- tap on the Sources button
- tap on the Edit button
- tap on the Add button
- enter the following URL and then tap Add Source:
Sources: Ryan Petrich