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

Why retain static default context? #27

Closed
ma11hew28 opened this issue Jun 11, 2011 · 2 comments
Closed

Why retain static default context? #27

ma11hew28 opened this issue Jun 11, 2011 · 2 comments

Comments

@ma11hew28
Copy link

http://stackoverflow.com/questions/6316723/objective-c-why-retain-a-static-variable

@casademora
Copy link
Member

this is working correctly in all cases of static object references. The retain count simply means we want the object to stay in memory after we move on to future iterations of the run loop.

@ma11hew28
Copy link
Author

Word. I get it now! :) Great answer given on StackOverflow.

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