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
    120.5K+ Learners
    4.51  (7675)
    Binary Trees
    2 hrs
    Intermediate
    4.9K+ Learners
    4.58  (159)
    PowerPoint for Beginners
    2 hrs
    Beginner
    57.4K+ Learners
    4.55  (2509)
    UI / UX for Beginners
    1 hrs
    Beginner
    228.7K+ Learners
    4.53  (17001)
    Splunk Tutorial
    1 hrs
    Beginner
    3.5K+ Learners
    4.53  (188)
    Turbo C++
    1 hrs
    Beginner
    13.6K+ Learners
    4.44  (494)
    Dev C++ Tutorial
    1 hrs
    Beginner
    5.6K+ Learners
    4.46  (202)
    Hashing in Java
    2 hrs
    Intermediate
    5.7K+ Learners
    4.42  (130)
    Eclipse Tutorial
    1 hrs
    Beginner
    2.6K+ Learners
    4.45  (107)
    NoSQL Database
    2 hrs
    Beginner
    9.1K+ Learners
    4.56  (394)