0
我試圖實現RotatingWhellProject我對的iOS RotatingWheelProject異常錯誤
http://www.raywenderlich.com/9864/how-to-create-a-rotating-wheel-control-with-uikit
我很新的iOS開發中發現,這其實是我的第一個應用程序:) 當我建這個項目,我有一些錯誤,我固定的他們,但在運行時我有以下錯誤:
2012-04-24 10:58:21.436 RotaryWheelProject[4122:207] -[NSCFString countByEnumeratingWithState:objects:count:]: unrecognized selector sent to instance 0x4b19370
2012-04-24 10:58:21.439 RotaryWheelProject[4122:207] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSCFString countByEnumeratingWithState:objects:count:]: unrecognized selector sent to instance 0x4b19370'
terminate called after throwing an instance of 'NSException'
不難明白,我具有我沒有處理異常錯誤,但我似乎不明白在哪裏?
有一條線,我從
@autorelease{return main(something..)}
修正爲只返回main(something)
幫助表示讚賞。非常感謝。