-
Notifications
You must be signed in to change notification settings - Fork 64
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
PerformSelector may cause a leak because its selector is unknown #2
Comments
It shouldn't do any harm if you set the delegate and the selector correctly. |
It's not in my code.. it's in your code; I'm afraid that it will become a build error in the not too distant future. Can you not correct it? |
Just use the state changed block, don't use the delegate then.
|
I think we're not talking about the same code... this is the code in your SSCheckedBoxView.m, method is: touchesEnded: withEvent:
The build warning is on the line indicated with <---warning here |
I'll update it when I've time. For now just use the block and don't set the delegate. |
Getting the above warning on this line of code in the touchesEnded method:
I don't want to change anything just in case it causes more damage. I'm using XCode 5.1.
The text was updated successfully, but these errors were encountered: