Skip to content

luisligunas/CSCI-181.03-Layouting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

CSCI 181.03 - Layouting Sample

There are currently three available UIViewControllers for testing right now:

  • RandomizingColorsTableViewController
    • sdfsf
  • ProgrammaticTwitterViewController
    • This is for exhibiting how to use a programmatically created UITableViewCell in a UITableViewController.
    • This contains code for differentiating between "pushing" and "presenting" UIViewControllers.
    • This also contains code for showing how to reference /other/ storyboards.
    • ProgrammaticTwitterTableViewCell also differentiates between a programmatic UIStackView layouting approach versus a programmatic constraint-based layouting approach.
  • XibTwitterTableViewController
    • This is for exhibiting how to use a UITableViewCell defined by a xib in a UITableViewController.
    • This also partially exhibits the layouting capabilities of UIStackViews.

By default, when you run the program, RandomizingColorsTableViewController will be the UIViewController that will be displayed.


To change this:

  1. Go to Main.storyboard.
  2. 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.) Screenshot 2023-02-21 at 11 56 19 PM
  3. Navigate to the Identity Inspector on the right hand side of Xcode.
  4. Then, change the custom class from RandomizingColorsTableViewController to the name of the UIViewController you want to test (e.g. ProgrammaticTwitterViewController, XibTwitterTableViewController).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages