iphone - Nsstring objects changing its data type -
i have nsstring property declared in variable, used store text string when performing parsing operation. parsing operation happens mulitple times, nsstring property changes bizzardly random data type , crashing application. happens when try compare property other local variable string. time compare, appdelegate variable has changed data type, , hence crashes app.
any 1 ever come across such issue? if so, please guide me.
it sign nsstring object has been deallocated send message deallocated object. crashes application. datatype changes because after object deallocated memory placed in not correct anymore , may contain trash. should use run performance tool -> leaks tool. helps lot in such cases. please keep in mind should enable zombie object detection in settings.
Comments
Post a Comment