Skip to content

Make muti-storyboard develop more convince with Swift

License

Notifications You must be signed in to change notification settings

xdq/StoryboardWarp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StoryboardWarp

##Introduction Provide more convenient function between multiple storyboard of jump in Swift.

##Use

  1. For example, if the project has two stroyboard call Main.storyboard and S1.storyboard. Main.storybord has viewcontroller 'ViewController' embed in UINavigationController, a button has text 'goto S1' on the viewcontroller. StoryboardWarp Use Image 1

  2. S1.stroyboard has a initial viewcontroller StoryboardWarp Use Image 2

  3. Create new viewcontroller in Main.storyboard.Then add attribute (Choose added viewcontroller, in Utilities panel -> Identity inspector -> User Defined Runtime Attributes) Key Path: target, Type: String, Value: S1. StoryboardWarp Use Image 3

  4. Link button 'goto S1' and new viewcontroller like below StoryboardWarp Use Image 4

  5. Refer to the Project 'Example' for details.

##Contact Follow me on Twitter (@MelodicGin) or Weibo (@风微漾gin)

##License

StoryboardWarp is available under the MIT license. See the LICENSE file for more info.

About

Make muti-storyboard develop more convince with Swift

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages