3
私はこのメッセージを取得してい
:NSInvocation:それが設定されているが、認識できないセレクタ
「(ヌル):認識されていないセレクタがクラス0x3f52e824に送られた」
基本的なコード私が試してみた:
SEL sel = @selector(applyProperties:toObject:);
NSInvocation* inv = [NSInvocation invocationWithMethodSignature:[self methodSignatureForSelector:sel]];
[inv setTarget:self];
[inv setSelector:sel];
[inv setArgument:params atIndex:0];
[inv setArgument:theObject atIndex:1];
NSOperationQueue* queue = [[NSOperationQueue alloc] init];
NSInvocationOperation* operation = [[NSInvocationOperation alloc] initWithInvocation:inv];
[queue addOperation:operation];
[queue release];
私はこれらの引数で(applyProperties:toObject)を呼び出すことができます...私は間違っているのか分かりません。
このコードはインスタンスまたはクラスメソッド内にありますか? –
@jacobインスタンス内にあります – michael
は 'applyProperties:toObject:'インスタンスメソッドですか? –