I usually don't hold references to VCs pushed onto the nav controller - just let them go out of scope when they're popped off. Recreate them every time you need to push one onto the stack.
On Jun 12, 2012, at 3:35 PM, Alex White wrote: > Hi, > > I have a small application that goes several levels deep into > tableviewcontrollers, navigating down the tree works fine then back up works > fine, but the second time down the tree I hit errors where objects have been > GC'd. > > It is advisable to create a variable at the appdelegate level for each of the > tableviewcontrollers so they don't go out of scope or is there something I am > missing, Creating the objects at a local level means they are getting GC'd > very quickly. > > Thanks > > Alex > _______________________________________________ > MonoTouch mailing list > [email protected] > http://lists.ximian.com/mailman/listinfo/monotouch _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
