Skip to content

iphone tutorial ch03

dongwook lee edited this page Feb 10, 2011 · 1 revision

3장. Light the Candle

  • plugin 설치

  • Objective-C 관련 내용 ^[주제를 나누어 조사하고 github wiki에 공유하자.]

    1. @property, @synthesize *78
    2. @dynamic? *p80
      • 접근자 메서드가 runtmime에 제공
      • 서브 클래싱에 사용. 왜?
    3. @class, import *p76
      • @class를 써야하는 이유. 문제 사례 공유
      • best practice?
    4. private method in Obj-C?
      • category
    5. method overloading in Obj-C
    6. 객체의 release
  • Template 분석(p46~)

    1. Window-Based App > View-Based App.

      • NSLog
      • description method
      • getter/setter (manually)
    2. LightTheCandle-Info.plist

    3. main()

    4. AppDelegate

      • NIB(MainWindow.xib) > Inspector > File's Owner > delagate > AppDelegate
      • delegate pattern(X)
      • - protocol - cf. informal protocol(?): private method 와 관련
    5. NIB (with Homework)

      • Injection By Nib!
        • Method Binding: IBAction
        • Variable Binding: IBOutlet
      • "걸어라 인간아" 소개 (nephilim or someone else)
      • File's Owner
      • First Responder(X)
      • NIB와 연결하기
        • UIButton
        • Toolbar
    6. Xcode group

      • virtual reference
      • pragma mark 사용하기
  • Hot Keys(p66)