-
Notifications
You must be signed in to change notification settings - Fork 216
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
关于Associated Objects的疑问 #12
Labels
Comments
没什么优势。。功能也不会有什么差异。 |
@ibireme 我想了很久,一直徘徊这里,其实只是两种实现方式。因为Associated Objects优势体现在要自定义属性的时候。 |
没必要的话就不要用 Associated Objects,写起来麻烦,性能又不高。 |
性能不高指的是?是否有文档解释这个性能? |
没文档,但可以自己测一下。 |
好的,感谢! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在封装UIBarButtonItem的Category的时候,发现你使用了Associated Objects去进行了封装,因为你使用的时候必要时用一个block的property,我想问,下面的方式都能够实现同样的功能,Associated Objects的优点在哪儿?
The text was updated successfully, but these errors were encountered: