다음과 같이 내가있는 NSInvocation을 사용하고 있습니다 :있는 NSInvocation 만드는 응용 프로그램 충돌
SEL mySelector;
mySelector = @selector(initParsersetId:type:);
NSMethodSignature * sig = nil;
sig = [[self class] instanceMethodSignatureForSelector:mySelector];
myInvocation = nil;
myInvocation = [NSInvocation invocationWithMethodSignature:sig];
[myInvocation setTarget:self];
[myInvocation setSelector:mySelector];
내가 이런 식으로 전화 해요 : :
내 초기화에서, 내가있는 viewDidLoad이 쓰고 있어요
Idea *tempIdea = [[Idea alloc]init];
tempIdea = [genericArray objectAtIndex:indexPath.row];
idea.ideaId = tempIdea.ideaId;
[tempIdea release];
NSNumber *_id_ = [NSNumber numberWithInt:idea.ideaId];
[myInvocation setArgument:_id_ atIndex:2]; //CRASHING AT THIS LINE
내 응용 프로그램이 표시된 줄에서 충돌하고 있습니다. 아무도 도와주지 못하니?
고맙습니다. David .. 도움이 .. – neha