-
Notifications
You must be signed in to change notification settings - Fork 48
Adjusting Views
View Controllers are loaded into the SubViewControllerManagerViewController
which acts as stack container managing what gets loaded at any particular time.
Each view to be loaded has dimensions of 620 * 520.
- each view controller will map to a unique class with code for performing the transitions
- a unique storyboard id is used with the
SubViewControllerManagerViewController
In the event that a phase value is detected from the application property list (com.ibm.enrollment.plist) when the application is loaded, it will display the corresponding view. For readability, these id's are stored in a struct.
- a custom segue connection between the source controller (Primary Registration Child VC) and the destination (Secondary Registration Child VC)
- each segue has a unique identifier which is provided to the
CrossfadeStoryBoardSegue.swift
class to control how the segue transition is animated
In the example image above, a segue is created by dragging from the source view (the button highlighted by a blue square) to the destination view (the area highlighted by the blue triangle). From the resulting Manual Segue contextual menu, select Custom.
You can use the performSegue(withIdentifier..) function to then perform the transition: