Skip to content

ECS189E/ConstraintsDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Constraints Demo List

(Check out the comments in two swift files for details.)

Constraints

  1. Fixed pixel constraints.
  2. Ratio constraints: centerX, centerY, Equal width, Equal height.
  3. Combine of the above two.
  4. Embed in stack view and view.
  5. Change constraints during runtime (programmatically: func layoutInit).

Collection View

  1. Data Source
  2. Customized class for Cell (class for view object, including outlet in class).

Table View

  1. Data Source
  2. Delegate (cell on tap)
  3. Cell style: subtitle

Navigation Controller

  1. perform different segues with different identifiers

Others

  1. Dictionary in swift
  2. Array in swift
  3. UIColor

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages