+ Reply
Results 1 to 10 of 10

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: Ryan Petrich Lets Us in on Some Details About His Upcoming Flipswitch Toggle API

is a discussion within the

iPhone News

forums, a part of the

General iPhone

section;
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
...
  1. #1
    MMi Staff Writer Anthony Bouchard's Avatar
    Join Date
    Sep 2011
    Location
    Florida
    Posts
    7,148
    Thanks
    220
    Thanked 1,049 Times in 769 Posts

    Default Ryan Petrich Lets Us in on Some Details About His Upcoming Flipswitch Toggle API


    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:

    Quote Originally Posted by Ryan Petrich
    Flipswitch is a system that makes it simple to both write switches and tweaks that use switches. Included in it are some of the standard switches you'd expect from a toggle tweak: wifi, bluetooth, hotspot, etc. It does not have any UI—for that you need a tweak that integrates with it, such as Switchicons. Switchicons is an open source example of how as a tweak developer you might integrate with Flipswitch, which is also open source. My intention is to get rid of all the duplicate work that developers have been doing building toggles in their tweaks. As a user, this system will eventually allow using any available switch with any compatible tweak, instead of like now where most toggles are available for SBSettings, but everything else has limited selection.
    The demonstration tweak (Switchicons) that Petrich is referring to is pictured above. Switchicons is an open source jailbreak tweak that demonstrates how the API known as Flipswitch can be used. It's a basic jailbreak tweak that was written using the Flipswitch API to place several toggle switches on the home screen. Using Flipswitch, developers will be able to place toggles almost anywhere.

    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:

    PHP Code:
    http://rpetri.ch/repo/ 
    Flipswitch sounds like a great step forward for the jailbreak community and we look forward to seeing it get used by many other jailbreak tweaks!

    Sources: Ryan Petrich

  2. The Following User Says Thank You to Anthony Bouchard For This Useful Post:

    96aman96 (06-04-2013)

  3. #2
    What's Jailbreak?
    Join Date
    Oct 2010
    Posts
    28
    Thanks
    1
    Thanked 0 Times in 0 Posts

    This is brilliant!

  4. #3
    What's Jailbreak? 96aman96's Avatar
    Join Date
    Dec 2012
    Posts
    8
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Quote Originally Posted by Wicrowe View Post
    This is brilliant!
    True that !!

  5. #4
    Green Apple i113's Avatar
    Join Date
    Apr 2011
    Posts
    70
    Thanks
    0
    Thanked 19 Times in 11 Posts

    I'm always impressed with Mr. Petrich's work! Keep it up man!

  6. #5
    iPhone Warranty Voider Faresismail's Avatar
    Join Date
    Dec 2012
    Posts
    342
    Thanks
    41
    Thanked 26 Times in 25 Posts

    Quote Originally Posted by i113 View Post
    I'm always impressed with Mr. Petrich's work! Keep it up man!
    +1

  7. #6
    iPhone? More like MyPhone
    Join Date
    Apr 2011
    Posts
    280
    Thanks
    246
    Thanked 450 Times in 137 Posts

    Man this guy and his ideas!

  8. #7
    .artwork assassin Jato_BZ's Avatar
    Join Date
    Jan 2012
    Location
    New Zealand
    Posts
    3,044
    Thanks
    3,217
    Thanked 5,998 Times in 2,025 Posts

    Should be re-inventing the iOS for us from within! This man does have some ideas that's for sure!
    Twitter ID: @Jato_BZ
    .artwork Assassin / Emoji Extractor

  9. The Following User Says Thank You to Jato_BZ For This Useful Post:

    Sage I (06-05-2013)

  10. #8
    My iPhone is a Part of Me bmwraw8482's Avatar
    Join Date
    Mar 2011
    Location
    Virginia
    Posts
    508
    Thanks
    5
    Thanked 61 Times in 42 Posts

    Someone's gonna b getting some job offers from apple...

  11. The Following User Says Thank You to bmwraw8482 For This Useful Post:

    Sage I (06-05-2013)

  12. #9
    What's J*******k? Sage I's Avatar
    Join Date
    Feb 2012
    Location
    The Big I Land of Hawaii
    Posts
    329
    Thanks
    220
    Thanked 52 Times in 41 Posts

    Quote Originally Posted by bmwraw8482 View Post
    Someone's gonna b getting some job offers from apple...
    I was just thinking about posting that same comment... He has to have had job offers from apple before... If they never offered him one yet they are missing out... He is the biggest name in the jailbreak game... So many of our most used tweaks have been developed by Ryan... I mean c'mon just look at activator... Apple definitely took notice of that essential cydia tweak... Anyways, great news... I have thought it to be crazy how many different ways you can set up toggles... That'll be great to have them all be uniform and consistent... Mr. Petrich is my jailbreak dev hero... I can't believe he gives us so much yet charges us so rarely for his amazing work... Keep up the good work Bruddah Ryan! The jailbreak community tips its hat and salutes you...

    Quote Originally Posted by Jato_BZ View Post
    Should be re-inventing the iOS for us from within! This man does have some ideas that's for sure!
    I would pay hundreds of dollars to run a revamped overhauled os that he built...

  13. The Following 2 Users Say Thank You to Sage I For This Useful Post:

    Jato_BZ (06-05-2013), SpidermanAPV (06-05-2013)

  14. #10
    Developer Matchstic's Avatar
    Join Date
    Mar 2013
    Location
    ~/iOS/Projects
    Posts
    487
    Thanks
    531
    Thanked 1,685 Times in 416 Posts

    I love working with this API, it's brilliant, so easy to integrate with!

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts