How To Fully Test Cleanup Code Paths (iOS)?
How To Fully Test Cleanup Code Paths (iOS)?
- Subject: How To Fully Test Cleanup Code Paths (iOS)?
- From: Jeffrey Walton <email@hidden>
- Date: Sat, 02 Jul 2011 02:37:58 -0400
Hi All,
My apologies if this is more appropriate for another group. Please
point me in the right direction.
I'm interested in testing cleanup and shutdown code (this is a little
different than 'save state in -didEnterBackground'). For example,
MyViewController -viewDidUnload and -dealloc. From the docs, testing,
and previous posts regarding lifecycle messages, the best I can seem
to do is -applicationDidEnterBackground and SIGKILL (and
didReceiveMemoryWarning under the simulator).
How does one test the code that performs cleanup and deallocation?
Jeff
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden