Skip to content

Week 1 Basic Views and Layout

Timothy Lee edited this page Feb 10, 2014 · 5 revisions

Week 1 Checklist

Basics

  • Create and run an XCode project
  • Create a custom view controller
  • Import a class
  • Allocate an object
  • Set the rootViewController of the window
  • Set the display name of the application

Images

  • Add/modify image assets
  • Set the splash screen for a 3.5"/4"
  • Set the app icon

Homework

  • Create unscrollable detail view of Facebook post
    • Demonstrates setting view properties: backgroundColor, cornerRadius, font, textColor, shadowOffset.
    • Demonstrates buttons and image buttons.
    • Demonstrates UIImageView and image assets.
    • Optional: Configure the autoresizingMasks to support rotation
    • Optional: setup CocoaPods
    • Optional: Use TTTAttributedLabel to style the link and make it clickable
    • Optional: Implement the same page without using Interface Builder
  • Group project
    • ???
  • Find 1-3 lowpri issues that you’d like to learn how to fix

References

  • Objective-C

    • Importing the view controller into the app delegate
    • Allocate a view controller
    • Create a CGRect frame
    • Allocate a view (UILabel, UIView, etc) w/ a frame
    • Set view properties
    • Setting the rootViewController of the window
  • XCode

    • Create an empty XCode project
    • Create a new view controller w/ nib
    • Connecting an outlet
Clone this wiki locally