Skip to content

Instantly share code, notes, and snippets.

@JeOam
Created November 7, 2013 04:15
Show Gist options
  • Save JeOam/7348880 to your computer and use it in GitHub Desktop.
Save JeOam/7348880 to your computer and use it in GitHub Desktop.
Method Quesstion or Action
-(BOOL) isKindofClass: class-object Is the object a member of class-object or a descendant?
-(BOOL) isMemberofClass: class-object Is the object a member of class-object?
-(BOOL) respondsToSelector: selector Can the object respond to the method specified by selector?
+(BOOL) instancesRespondToSelector: selector Can instances of the specified class respon to selector?
+(BOOL) isSubclassofClass: class-object Is the object of a subclass of the specified class?
-(id) performSelector: selector Apply the method specified by selector
-(id) performSlector: selector withObject: object Apply the method specified by selector passing the argument object
-(id) performSelector: selector withObject: object1 withObject: object2 Apply the method specified by selector with the arguments object1 and object2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment