Open Source Library Allowing You To Define And Use iOS Segues Programatically

I’ve mentioned a nice tutorial on creating custom segues using the Xcode storyboard tool.

Here’s a library submitted by Arnaud Coomans that allows to define and use segue’s programmatically without the Xcode Storyboard tool called Segway.

Segway provides a number of templates for different types of Segues (popovers, modal, views, and more with extra presentation options), and allows you to easily define your own Segues, and easily pass extra information along with the Segues.

This snippet shows how you can easily perform a segue programatically passing some data:

[self performSegueWithIdentifier:@"push" sender:self userInfo:@{@"indexPath": indexPath}];

You can find Segway on Github here.

Full Appledoc based documentation is included. An excellent open source implementation of segues.

Thanks to Arnaud for the submission.

FacebookTwitterDiggStumbleUponGoogle Plus

Original article: Open Source Library Allowing You To Define And Use iOS Segues Programatically

©2014 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.

Leave a Reply

Your email address will not be published. Required fields are marked *