The objective-c grammar
与C#参照对比:
C# |
Objective-C |
|
文件 |
|
|
函数 |
|
|
类 |
Public class Sample{} |
@implementation Sample … @end |
属性 |
Public string Label { get; set; } |
@property (weak,nonatomic) IBoutlet UILabel *msgLabel; |