Skip to content

accesscode-2-2/unit-1-hw-week-0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Week 0 Homework: Twitter UI

The goal of this assignment is to remake the UI from the official Twitter app profile screen.

Image references:
https://github.com/accesscode-2-2/unit-1-hw-week-0/blob/master/images/IMG_3080.PNG?raw=true
https://github.com/accesscode-2-2/unit-1-hw-week-0/blob/master/images/IMG_3082.PNG?raw=true

Requirements

HINT: Any setup code you need to write can be written in the supplied viewDidLoad: method in the ViewController class.

Bonus

  • Hook up the segmented control to your controller. When the user selected different segments, update the label below to reflect the change
  • Have the "follow" button toggle between "follow" and "following" when tapped
  • Use a profile/cover image from the web with the NSURL class.
References

UISegmentedControl:
https://developer.apple.com/library/ios/documentation/UIKit/Reference/UISegmentedControl_Class/
UIImageView:
https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIImageView_Class/
NSAttributedString: (optional for "following"/"followers") https://developer.apple.com/library/prerelease/ios/documentation/Cocoa/Reference/Foundation/Classes/NSAttributedString_Class/index.html
QuartzCore: (borders and rounded corners)
https://developer.apple.com/library/prerelease/ios/documentation/GraphicsImaging/Reference/QuartzCoreRefCollection/index.html
https://developer.apple.com/library/ios/documentation/GraphicsImaging/Reference/CALayer_class/
http://www.raywenderlich.com/90488/calayer-in-ios-with-swift-10-examples

About

Homework for Unit 1, Week 0

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published