Trigger IBAction with UITabBarItem?
Hello,
I'm fairly new to iphone development but I'm learning quickly. I have an application that uitilizes two UITableViewControllers and a UITabBarController to switch between the two views. Each view loads and parses a remote XML file and displays it in a table view. The problem I'm running into is that when hitting the tab for the second view,it takes about 10 seconds to parse the XML file, during which the whole interface is frozen and unresponsive. I have an IBAction setup to display a "Loading" overlay message but can't seem to trigger it when the user selects the second tab bar item. (I know the loading overlay action works, I utilize it elsewhere in the application)
Ideally, I would love to get the XML data loading asynchronously so that the user doesn't have to wait until the whole document is done parsing before they can use the app (I've spent hours trying to use the code from the Seismic-XML example but so far, absolutely no luck). I'll settle for a loading overlay just so they don't think it locked up.
Any ideas? I've created most of the views programatically (not a huge fan of IB except for very simple interfaces)
|