Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 1.35 KB

README.md

File metadata and controls

28 lines (18 loc) · 1.35 KB

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.