iPhone use same TableView to drilldown multilevel for remote xml

I've to parse some XML files(Category-->Sub Category-->Sub Category-->Sub Category-->Details View) from web service and show in iphone TableView. Is there any way to use same table until the deatils View?

Please help me.


Yes, you can, but it's a lot more work than just pushing a new tableView each time. It will also be less apparent to the user what's going on if they are drilling down, but not pushing onto the nav stack.

I'm guessing by your profile that you're fairly new to iOS, so I'd suggest you get your app working in as straightforward a way as possible. If you're trying to optimize by re-using the tableview, only do that after you know that it needs to be optimized.

You can write a class that handles any given level in your xml stack, and have a separate instance of that class for each level.

Hope that helps.

Need Your Help

Windows Subclassing in Borland C++ Builder

c++ subclass c++builder

We're trying to convert a piece of C++ code written in MFC which uses the CWnd.SubclassWindow method, into Borland C++ Builder code. Does anyone know how to do subclassing (subclass with a TForm ob...

compiling c++ applications so they can work on other computers as well

c++ deployment gcc compilation sdl

So I have this very simply SDL application I want to be able to pass to my friend without having him download a whole bunch of SDL packages.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.