Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

arnieterm

macrumors regular
Original poster
Aug 28, 2008
201
0
I have to work on an IPhone application similar to IPhone app store [device].
As u all have seen it is a tabBarController application with a collection of navigationcontrollers with each nav bar having their viewcontrollers/table view controller.
My question is related to memory issue. As I am getting data from a web service and populating them in various tab bar's view controllers/table view controllers
I will be working on this kind of app for first time. The no. of tabs will be 4. Does it may cause any substantial memory leak problem?
I am asking this because i have to fill viewControllers property with collection of nagiation controllers.
Can it be possible that in a tab bar application v can populate data only when needed?
 

arnieterm

macrumors regular
Original poster
Aug 28, 2008
201
0
Its a very good article on memory issues.
While reading it, I have again viewed the Iphone app store. You have also noticed that it has a row [Category tab] at the bottom of tableview tapping which it shows 25 new categories [appended] to the existing row.
How can we do this?
Also I want to know that doing it this way has anything to do with memory?
Recently I have worked on an IPhone application that needs to show data in paging fashion. Here I have created a UIView along with Next/Previous buttons.
Clicking on these buttons clears the existing contents from the UIView [except the two buttons] and addes a new set of controls to it.
 

liptonlover

macrumors 6502a
Mar 13, 2008
989
0
I'm not sure how exactly, but for your last cell create a button saying "25 more..." when it's clicked, just add 25 more cells and get the necessary data to fill them with.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.