Skip to content

Instantly share code, notes, and snippets.

@mwbrooks
Created March 29, 2010 20:07
Show Gist options
  • Save mwbrooks/348349 to your computer and use it in GitHub Desktop.
Save mwbrooks/348349 to your computer and use it in GitHub Desktop.
// Method Signature
//
- (BOOL)searchFor:(NSString *)string
direction:(BOOL)forward
caseSensitive:(BOOL)caseFlag
wrap:(BOOL)wrapFlag
// Selector (Method Name)
//
searchFor:direction:caseSenstitive:wrap
// Keywords
//
searchFor:
direction:
caseSensitive:
wrap:
// Message (Method Call)
//
[myWebView searchFor:myString direction:YES caseSensitive:NO wrap:YES]
// Run-time Equivalent
//
objc_msgSend(myWebView,
searchFor:direction:caseSensitive:wrap:,
myString, YES, NO, YES)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment