close

Yesterday  I read Your First iPhone Application and I know I need to have some study about Objective-C language....

I have Java programming background but it is obviously not enough.
Let me start reading Learning Objective-C: A Primer now!




  • #import - include header file
  • Header file (.h) - for declaration (interface/method/property)
  • Source file (.m) - for implementation
  • Storing object by pointer type variable. There are two kind of pointer type variables: Strong (includes Class name in declaration) and Weak.
  • Instance method (-) and Class method (+)
  • Accessor methods - the Get and Set methods
  • Synthesize - comilper directive, generation (get/set) methods according to (property) specification
  • Protocols (similar as defining an interface but no parent class and no instance variable) and Delegates

Today conclusion: feeling better and having confidence when I was reading again yesterday code, HAHA

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 阿峰 的頭像
    阿峰

    愛iPhone者的部落格

    阿峰 發表在 痞客邦 留言(0) 人氣()