Skip to content

Instantly share code, notes, and snippets.

@uliwitness
Created April 30, 2015 10:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save uliwitness/518cf136e2f4cf5dd855 to your computer and use it in GitHub Desktop.
Save uliwitness/518cf136e2f4cf5dd855 to your computer and use it in GitHub Desktop.
Higher-level ARC return value workaround
@protocol TellARCAboutVoidReturn
-(void) performSelector: (SEL)inAction withObject: (id)inSender;
@end
...
[(id<TellARCAboutVoidReturn>)receiver performSelector: @selector(someVoidAction:) withObject: theSender];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment