There are currently three available UIViewController
s for testing right now:
RandomizingColorsTableViewController
- sdfsf
ProgrammaticTwitterViewController
- This is for exhibiting how to use a programmatically created
UITableViewCell
in aUITableViewController
. - This contains code for differentiating between "pushing" and "presenting"
UIViewController
s. - This also contains code for showing how to reference /other/ storyboards.
ProgrammaticTwitterTableViewCell
also differentiates between a programmaticUIStackView
layouting approach versus a programmatic constraint-based layouting approach.
- This is for exhibiting how to use a programmatically created
XibTwitterTableViewController
- This is for exhibiting how to use a
UITableViewCell
defined by a xib in aUITableViewController
. - This also partially exhibits the layouting capabilities of
UIStackView
s.
- This is for exhibiting how to use a
By default, when you run the program, RandomizingColorsTableViewController
will be the UIViewController
that will be displayed.
To change this:
- Go to Main.storyboard.
- Click on the bar above the Table View. (Alternatively, you may also click the "Randomizing Colors Table View Controller Scene" on the View Hierarchy on the left.)
- Navigate to the Identity Inspector on the right hand side of Xcode.
- Then, change the custom class from
RandomizingColorsTableViewController
to the name of theUIViewController
you want to test (e.g. ProgrammaticTwitterViewController, XibTwitterTableViewController).