質問

比較...

NSInvocation* invocation = [NSInvocation invocationWithMethodSignature:[performer methodSignatureForSelector:@selector(playFile:)]];
[invocation setSelector:@selector(playFile:)];
[invocation setTarget:performer];
NSString* string = [NSString stringWithString:@"reverse.wav"];
[invocation setArgument:&string atIndex:2];

...と...

NSInvocation* invocation = [[NSInvocation prepareWithTarget:performer] playFile:@"reverse.wav"];

. 。なぜそのような方法が実装されていないのですか?

役に立ちましたか?

解決

そうではありませんが、同じ機能のサードパーティの実装が不足していません。 愛のあるココア.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top