Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
I ios-tutorial
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ios-general
  • ios-tutorial
  • Wiki
  • autolayout

Last edited by Artem Kalmykov Nov 19, 2016
Page history

autolayout

Autolayout

https://www.raywenderlich.com/115440/auto-layout-tutorial-in-ios-9-part-1-getting-started-2

https://www.raywenderlich.com/115444/auto-layout-tutorial-in-ios-9-part-2-constraints

You should do the following:

  1. Create a branch from develop called feature/autolayout.
  2. Make the application universal (so it supports iPhone and iPad).
  3. Make the application available in all orientations.
  4. Modify the existing application, so all the views are positioned with the use of autolayout. MainViewController should have its table view stretched over the entire width and height. DetailViewController should stretch its label over the width and center it vertically. CreateViewController should persist the width of labels, but stretch the width of text fields.
  5. Create a pull request from your branch to develop.

You should be able to answer the following questions:

  • What is a constraint?
  • What is a size class?
  • What properties define position of a UIView?
  • What is the difference between frame and bounds?
  • Can we modify frames in code, if our application uses autolayout?
Clone repository
  • autolayout
  • basic core data
  • basic networking
  • cocoapods
  • delegation
  • gcd and math
  • git tutorial
  • Home
  • ios basics
  • notifications
  • objective c basics
  • swift
  • ui table view