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
全站熱搜
留言列表