iOS learning UI Visual programming-storyboard

Source: Internet
Author: User

First, storyboard and xib

    • Contrast:
    • The same point: all in the form of IB programming, you can quickly build a GUI.
    • Differences: Xib focuses on single-file (separate controller or view) editing, storyboard focuses on multi-page correlation. Storyboard can intuitively comb out the logic between pages, and all page jump logic can be in -(void) Prepareforsegue: (Uistoryboardsegue *) Segue Sender: (ID) sender ; method is completed to facilitate the unified management of data between interfaces.
    • Note: Do not use code to initialize a window in the Appdelegate-application:didfinishlaunchingwithoptions: method. Set the created storyboard to Maininterface in the application configuration general.

Second, page jump

Third, segue

Four, sizeclasses screen adaptation

iOS learning UI Visual programming-storyboard

Related Article

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.