iOS

iOS Storyboards

iOS Storyboards

The storyboard was initially introduced in iOS 5 to help developers save time while creating user interfaces for iOS apps. It's a graphic representation of an iOS app's user interface. It can be described as a series of screens, each representing a ViewController and its associated Views. A segue object, which represents a transition between two ViewControllers, is required for transitions between two storyboard screens.

The Storyboard is created with XCode's visual editor, allowing us to design the application's user interfaces by dragging and dropping widgets from the media library such as buttons, views, table views, text fields, etc.

You may need to communicate data between ViewControllers on occasion. The prepareForSegue method, which is executed on the View Controller when the segue is triggered, can accomplish this. The segue can be done either on the tap of the object on which the segue is defined or programmatically using the ViewController's performSegue(withIdentifier: String) method.

Top course recommendations for you

    C for Beginners
    2 hrs
    Beginner
    149.6K+ Learners
    4.48  (13491)
    Binary Trees
    2 hrs
    Intermediate
    5.5K+ Learners
    4.57  (211)
    PowerPoint for Beginners
    2 hrs
    Beginner
    71.1K+ Learners
    4.53  (4737)
    UI / UX for Beginners
    1 hrs
    Beginner
    317.1K+ Learners
    4.53  (33263)
    Splunk Tutorial
    1 hrs
    Beginner
    4.1K+ Learners
    4.54  (304)
    Turbo C++
    1 hrs
    Beginner
    15.9K+ Learners
    4.41  (667)
    Dev C++ Tutorial
    1 hrs
    Beginner
    6.3K+ Learners
    4.44  (234)
    Hashing in Java
    2 hrs
    Intermediate
    6.4K+ Learners
    4.44  (171)
    Eclipse Tutorial
    1 hrs
    Beginner
    3K+ Learners
    4.48  (134)
    NoSQL Database
    2 hrs
    Beginner
    11.8K+ Learners
    4.52  (822)