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

Use KVO in a context-aware fashion. #23

Merged
merged 1 commit into from
Aug 2, 2013

Conversation

sixten
Copy link
Contributor

@sixten sixten commented Aug 1, 2013

Small (but pervasive) changes to set a good example, and pay attention to the context when setting and using KVO.

The tests and the demo app use the addresses of static variables for their context pointers. References:
http://www.dribin.org/dave/blog/archives/2008/09/24/proper_kvo_usage/
http://stackoverflow.com/questions/12719864/best-practices-for-context-parameter-in-addobserver-kvo

@ghost ghost assigned artgillespie Aug 1, 2013
artgillespie added a commit that referenced this pull request Aug 2, 2013
Use KVO in a context-aware fashion.
@artgillespie artgillespie merged commit 367c259 into artgillespie:develop Aug 2, 2013
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

Successfully merging this pull request may close these issues.

2 participants