close
關於設定outlet
舉例:用control拉完原件(UIText, UILabel...)拉到ViewController.h裡後
還要在ViewController.m裡的 @implementation ViewController 底下,用@synthesize 'property'宣告
如果沒宣告,則在ViewController.m裏會抓不到宣告的原件
全站熱搜
關於設定outlet
舉例:用control拉完原件(UIText, UILabel...)拉到ViewController.h裡後
還要在ViewController.m裡的 @implementation ViewController 底下,用@synthesize 'property'宣告
如果沒宣告,則在ViewController.m裏會抓不到宣告的原件
留言列表