The Viewcontroller in Swift

Source: Internet
Author: User

Viewcontroller is an important part of the iOS application and is an important bridge between application data and views, Viewcontroller managing many views in your app. Many native Viewcontroller are available in the iOS SDK to support standard user interfaces such as Table view controllers (Uitableviewcontroller), navigation controllers ( Uinavigationcontroller), tab Bar controllers (Uitabbarcontroller), and ipad-specific uisplitviewcontroller.

< Span style= "color: #555555; line-height:19.5938px; " >         by structure you can divide all the viewcontroller of iOS into two categories:
        1, mainly for the display of content Viewcontroller, This viewcontroller is primarily used to present content to the user and interact with the user, such as Uitableviewcontroller,uiviewcontroller.
        2, Viewcontroller for control and display of other viewcontroller. This kind of viewcontroller is generally a viewcontroller container. such as Uinavigationcontroller,uitabbarcontroller. They all have a property: Viewcontrollers. Where Uinavigationcontroller represents a stack-type structure, push a viewcontroller or pop once, so the latter viewcontroller generally depend on the previous viewcontroller. While Uitabbarcontroller represents an array structure, each viewcontroller is tied.

Viewcontroller in Swift

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.