Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 08-17-2008, 05:12 AM   #23 (permalink)
DevTeamOfOne
New Member
 
Join Date: Aug 2008
Posts: 361
Default

To mitigate this, add the following two lines:
listTableViewController = [[ListTableViewController alloc] init];
myInfoTableViewController = [[MyInfoTableViewController alloc] init];

also move your releases back to the positions you had them, straight after you added each of the viewcontrollers to their respective navigation controllers.

add the lines i mentioned before you create each of those navigation controllers. Add the myInfo one after the release of listTableViewController, to save on memory. Loading lazily and releasing early is good practice for apps that may become very high in memory usage.
DevTeamOfOne is offline   Reply With Quote
 

» Advertisements
» Online Users: 261
18 members and 243 guests
ADY, apatsufas, ckgni, F_Bryant, IphoneSdk, jakerocheleau, MarkC, michelle, NSeven, rob.mccarthy, rodrigozanatta, smethorst, Sunny46, themathminister, TheWebWizz, V_SC&, Xaron, ziocleto
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,876
Threads: 89,225
Posts: 380,711
Top Poster: BrianSlick (7,129)
Welcome to our newest member, jorge599
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 08:19 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.