mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-26 09:33:01 +01:00
13 lines
385 B
Mathematica
13 lines
385 B
Mathematica
|
@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];
|