iphone - Table view similar to iPad app store? -


all. I am signing the internet, and I have not got a conclusive answer for this. If you see the iPad App Store (many other apps), then the 2-column table view (looks like) in the Categories tab.

I have read using a web view, a solution I have not searched in depth yet).

I have tried to use SubViews inside a table panel, I can duplicate a 2-column layout, but I can not handle touch events properly. Before I try to continue this path, I should know that these are viable solutions or other options.

If the apple app is using it in the store, then I think do any such help out of the box is appreciated!

It's really simple to open the .xib file and create 2 (or as much as you want) create a UITableView .

  Define IBOutlet UITableView * table1; Add IBOutlets to each of them; IBOutlet UITableView * table2;  

Keep hooks in every table in the interface builder, now specify the representative and the data source in each table to point to your view controller.

Now, you need to implement basic UITableView function such as:

  - (UITableViewCell *) tableview:  

now Inside these methods, can you know who is being asked to check the tableView value with your IBOutlet references? Like:

  - (NSInteger) table view: (UITableView *) table view numberofrose insaction: (NSInteger) section {if (tableView == table1) {return 10; } And {return 5; }}  

You can make different classes or make better patterns to handle those representatives in different ways, but this is a good way to start = D


Comments