xcode - Objective-C program falling on scrolling UITableView -
hi made application has tableview, works fine starts falling when scroll it.it scroll 5-10 percent of content, if use on table whit 200 data scroll 10-20 whit larger data shows larger data falls.can u me why?or have find problem? thanks
the error message:
2011-02-09 13:23:13.631 navtest[2277:207] *** terminating app due uncaught exception 'nsinvalidargumentexception', reason: '*** -[nscfstring appendstring:]: nil argument' *** call stack @ first throw: ( 0 corefoundation 0x00fa0be9 __exceptionpreprocess + 185 1 libobjc.a.dylib 0x010f55c2 objc_exception_throw + 47 2 corefoundation 0x00f59628 +[nsexception raise:format:arguments:] + 136 3 corefoundation 0x00f5959a +[nsexception raise:format:] + 58 4 foundation 0x000bf406 mutateerror + 156 5 navtest 0x0000c13a -[tretiviewcontroller configurecell:atindexpath:] + 487 6 navtest 0x0000cb22 -[tretiviewcontroller tableview:cellforrowatindexpath:] + 191 7 uikit 0x003467fa -[uitableview(uitableviewinternal) _createpreparedcellforglobalrow:withindexpath:] + 634 8 uikit 0x0033c77f -[uitableview(uitableviewinternal) _createpreparedcellforglobalrow:] + 75 9 uikit 0x00351450 -[uitableview(_uitableviewprivate) _updatevisiblecellsnow:] + 1561 10 uikit 0x00349538 -[uitableview layoutsubviews] + 242 11 quartzcore 0x01e5e451 -[calayer layoutsublayers] + 181 12 quartzcore 0x01e5e17c calayerlayoutifneeded + 220 13 quartzcore 0x01e5737c _zn2ca7context18commit_transactionepns_11transactione + 310 14 quartzcore 0x01e570d0 _zn2ca11transaction6commitev + 292 15 quartzcore 0x01e877d5 _zn2ca11transaction17observer_callbackep19__cfrunloopobservermpv + 99 16 corefoundation 0x00f81fbb __cfrunloop_is_calling_out_to_an_observer_callback_function__ + 27 17 corefoundation 0x00f170e7 __cfrunloopdoobservers + 295 18 corefoundation 0x00edfbd7 __cfrunlooprun + 1575 19 corefoundation 0x00edf240 cfrunlooprunspecific + 208 20 corefoundation 0x00edf161 cfrunloopruninmode + 97 21 graphicsservices 0x018d5268 gseventrunmodal + 217 22 graphicsservices 0x018d532d gseventrun + 115 23 uikit 0x002e142e uiapplicationmain + 1160 24 navtest 0x0000257c main + 102 25 navtest 0x0000250d start + 53 ) terminate called after throwing instance of 'nsexception'
the application crashes @ [nscfstring appendstring:]: nil.just go through code,where using appendstring function.in point,you getting nil,hence application crashing.you can debug code,i hope solution.
Comments
Post a Comment