PageRenderTime 81ms CodeModel.GetById 40ms app.highlight 3ms RepoModel.GetById 37ms app.codeStats 0ms

/thirdparty/SPMediaKeyTap/SPInvocationGrabbing/gistfile4.m

http://github.com/tomahawk-player/tomahawk
Objective C | 12 lines | 8 code | 4 blank | 0 comment | 0 complexity | 4a243c33e49a1d8b7212def259a1873a MD5 | raw file
 1@interface MyClass : NSObject
 2-(BOOL)areTheNewViewersGoneYet:(Duck*)duck;
 3@end
 4...
 5MyClass *myInstance = [[MyClass alloc] init];
 6id invocationGrabber = [[[SPInvocationGrabber alloc] initWithTarget:myInstance] autorelease];
 7
 8
 9[invocationGrabber areTheNewViewersGoneYet:[Duck yellowDuck]]; // line 9
10
11
12NSInvocation *invocationForAreTheNewViewersGoneYet = [invocationGrabber invocation];