iPhone 程式開發與一般程式開發最大的不同點在於使用的程式語言是 objective-C
以下列出ㄧ些在其它語言比較少見的語法與特色
[ ] 代表的是 send message 的意思
@property 與 setter/getter methods declaration
@synthesize 與 setter/getter methods implementation
.m 檔與 private methods declaration
Using dot notation to call getters and setters methods.
outlet, action and delegation
以下列出ㄧ些在其它語言比較少見的語法與特色
[ ] 代表的是 send message 的意思
@property 與 setter/getter methods declaration
@synthesize 與 setter/getter methods implementation
.m 檔與 private methods declaration
Using dot notation to call getters and setters methods.
outlet, action and delegation
0 意見:
張貼留言