Created
January 23, 2012 20:11
-
-
Save codeswimmer/1665309 to your computer and use it in GitHub Desktop.
iOS: How to determine if an object conforms to a specific protocol
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if ([someObject conformsToProtocol:@protocol(NSCopying)]) … |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment