mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-27 10:02:49 +01:00
97a8aa54be
Thanks to: tyler.s.rhodes@gmail.com
13 lines
385 B
Objective-C
13 lines
385 B
Objective-C
@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];
|