{
.....
result *temp = [suff objectAtIndex:indexPath.row];
NSLog(@"%@", temp.pid);
cell.pidlab.text = temp.pid;
......
}
PID 인쇄가 숫자로 콘솔 창에 있지만 내가 오류 메시지가 표 셀을 거기에 할당되지 않는 문제 .. iphone-있는 tableview 번호
어떻게 그것을 해결하기가 있었다?[__NSCFNumber isEqualToString:]: unrecognized selector sent to instance 0x688dae0
2012-03-13 14:14:31.161 secondDemo1[1978:f803] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFNumber isEqualToString:]: unrecognized selector sent to instance 0x688dae0'
*** First throw call stack:
(0x13be052 0x154fd0a 0x13bfced 0x1324f00 0x1324ce2 0x15368f 0x34c0 0xaee0f 0xaf589 0x9adfd 0xa9851 0x54301 0x13bfe72 0x1d6892d 0x1d72827 0x1cf8fa7 0x1cfaea6 0x1d8630c 0x26530 0x13929ce 0x1329670 0x12f54f6 0x12f4db4 0x12f4ccb 0x12a7879 0x12a793e 0x15a9b 0x21c8 0x2125)
terminate called throwing an exceptionCurrent language: auto; currently objective-c
(gdb)
참고로, 여러 질문/느낌표가 ** ** 도움을 얻을 빨리 당신은 도움이 질문에 찬성 투표한다 SAI-info.iphone @ – Vladimir
답변을하지 않고 가장 유용한 표시 : 당신은 사용할 필요가 대답. –
제 의견으로는 레이블에 번호를 할당하고 있습니다 ... 그래서 stringWithFormat .....로 pid를 할당해야합니다 ..... 나는 가능성이 있습니다 .ok. :) – Krunal