Skip to content

Instantly share code, notes, and snippets.

@codeswimmer
Created January 23, 2012 20:11
Show Gist options
  • Select an option

  • Save codeswimmer/1665309 to your computer and use it in GitHub Desktop.

Select an option

Save codeswimmer/1665309 to your computer and use it in GitHub Desktop.
iOS: How to determine if an object conforms to a specific protocol
if ([someObject conformsToProtocol:@protocol(NSCopying)]) …
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment