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

Question About Converting to ARC #21

Open
garyfoster opened this issue Jul 28, 2012 · 0 comments
Open

Question About Converting to ARC #21

garyfoster opened this issue Jul 28, 2012 · 0 comments

Comments

@garyfoster
Copy link

I'm not sure how to convert the following line to ARC compatible code, and googled a bit and could not come up with the answer. I changed it to nilSymbol and seems to work but wondering if that is correct.

Original code:

[[self allTargets] makeObjectsPerformSelector:@selector(retain)];

Updated code:
[[self allTargets] makeObjectsPerformSelector:@selector(nilSymbol)];

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

1 participant