Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

第7题,在代理里定义属性,好像没有使用场景吧 #83

Open
tingke opened this issue May 25, 2017 · 1 comment
Open

第7题,在代理里定义属性,好像没有使用场景吧 #83

tingke opened this issue May 25, 2017 · 1 comment

Comments

@tingke
Copy link

tingke commented May 25, 2017

在 protocol 中使用 property 只会生成 setter 和 getter 方法声明,我们使用属性的目的,是希望遵守我协议的对象能实现该属性

@ligun123
Copy link

有!
之前有在按钮上绑定一个用户的数据,或者在其他什么控件上绑定某model

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants