Alex Jiang


Web, iOS, Design, Literature

Road To iOS Series 6

The bits about view in iOS:

  • View is an instance of UIView or one of its subclass (e.g. UIScrollView UILabel…)
  • View knows how to draw itself (e.g. drawInRect)
  • View handles events (e.g. touches, value changes)
  • View exists within a hierarchy of views. (root view is app’s window)
Read more...

Road To iOS Series 5

Interface builder :

  • StoryBoard
    • easy way, less flexible, hard to do programmatically
  • XIB
    • create a view only, easy to do programmatically
Read more...

Road To iOS Series 4

Multiple MVCs

Two multiple MVC controllers

  • UINavigationController
    • often used for a more detailed view (e.g. calendar in iOS)
  • UITabBarController
    • often used for views have no logical connections (e.g. timer in iOS)
Read more...