Skip to content

rock88/StoryboardReference

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

###Storyboard Reference

iOS 9 introduced 'Storyboard References', this feature allow place various user navigation cases in other storyboard and easily link them. Great tool, but it not work for previous iOS versions.

###Idea What if swizzle

-initWithIdentifier:source:destination:

method in UIStoryboardSegue class, check destinationViewController and if is kind of StoryboardReference class - create new viewController from storyboardName/referenceIdentifier property and return it as destination?

###Installation See Installation Guide.

###Setup/Use See Setup Guide

###Limitations: StoryboardReference currently can't use with:

  • UINavigationController as rootViewController;
  • UITabBarController as viewControllers;
  • UISplitViewController as master/detailViewController;
  • Perhaps in some other cases, if you find bug, please create issue.

About

Simple storyboard reference tool for iOS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published