开发者

When should I use an Outlet and property, say for a button?

开发者 https://www.devze.com 2023-02-13 19:29 出处:网络
I can never remember, when sho开发者_运维知识库uld I use an Outlet and property, say for a button?Property is a part of Objective-C language (automatic/manual generating of getter and setter for objec

I can never remember, when sho开发者_运维知识库uld I use an Outlet and property, say for a button?


Property is a part of Objective-C language (automatic/manual generating of getter and setter for object instances of a particular class), outlet is a part of Cocoa API interface bulding (connecting NIB elements and object instances of a particular class). Write it on your sticky note :)

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号