1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-21 07:26:46 +01:00
Clementine-audio-player-Mac.../3rdparty/SPMediaKeyTap/SPInvocationGrabbing/gistfile4.m

13 lines
385 B
Mathematica
Raw Normal View History

@interface MyClass : NSObject
-(BOOL)areTheNewViewersGoneYet:(Duck*)duck;
@end
...
MyClass *myInstance = [[MyClass alloc] init];
id invocationGrabber = [[[SPInvocationGrabber alloc] initWithTarget:myInstance] autorelease];
[invocationGrabber areTheNewViewersGoneYet:[Duck yellowDuck]]; // line 9
NSInvocation *invocationForAreTheNewViewersGoneYet = [invocationGrabber invocation];