Rbstoryboardlink Library Usage Precautions-reproduced to---kun Martinli Blog

Source: Internet
Author: User

Precautions for use of the Rbstoryboardlink library

Demo Download: Https://github.com/MartinLi841538513/RBStoryboardLinkDemo

Operation Steps:

1, introduced Rbstoryboardlink library, I am here to use Pod Management library.

Added in the Podfile file: pod ' rbstoryboardlink ', ' ~> 0.1 ', then pod install or pod update

Note: If you do not know the use of Pod Management library, please refer to my previous article: http://www.cnblogs.com/MartinLi841538513/articles/3923145.html

There is also a way to directly download the Rbstoryboardlink library, manually add is also possible.

2, new Second.storyboard, put any viewcontroller inside.

I put a view1 as the logo. There is no practical use.

Note: The Second.storyboard and Third.storyboard here must have a viewcontroller is to set the is initial view Controller

3, in the Main.storyboard of a Viewcontroller do the following treatment

Analysis function:

1,class: Viewcontroller inherited Rbstoryboardlink So now this viewcontroller is equivalent to Uistoryboardsegue

2,storyboadname, not much to say, see the name of the idea

3,needstoplayoutguide is set to Yes. Otherwise there will be a repeat layout of the head.

4, if you want to jump to the specified VC, first find the Linke view controller, and then enter the identity of the view controller in the storyboard ID, as entered here: Navcontroller.

Next, add the Sceneidentifier field as in 3, and join the Sceneidentifier:navcontroller where link is needed, see arrows.

Rbstoryboardlink Library Usage Precautions-reproduced to---kun Martinli Blog

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.