我正在開發一個twitter查看應用程序,並且遇到了將數據從單元格傳遞到詳細視圖的問題。每次我點擊單元格我的程序終止此錯誤。NSInvalidArgumentException發送到實例的無法識別的選擇器
2015-09-04 12:18:34.298 twitterView2[10580:872508] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[TwitterPostInfo objectForKey:]: unrecognized selector sent to instance 0x7f9fb261f890'
*** First throw call stack:
(
0 CoreFoundation 0x000000010527fc65 __exceptionPreprocess + 165
1 libobjc.A.dylib 0x0000000104f18bb7 objc_exception_throw + 45
2 CoreFoundation 0x00000001052870ad -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
3 CoreFoundation 0x00000001051dd13c ___forwarding___ + 988
4 CoreFoundation 0x00000001051dccd8
當發佈時,你應該使用花括號來格式化代碼。 – Adrian
我的歉意。感謝您糾正我的帖子,我很新的stackoverflow –