Get Updates By E-mail 

Article Written By:
Johann Dowa

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.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments