Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 948847
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T23:18:38+00:00 2026-05-15T23:18:38+00:00

all. I’ve been scouring the internet, and I haven’t found a conclusive answer to

  • 0

all. I’ve been scouring the internet, and I haven’t found a conclusive answer to this. If you look at the iPad App store (a number of other apps), the Categories tab has (what looks like) a 2-column table view.

One solution I’ve read using a web view (which I haven’t yet explored in depth).

I’ve tried using subviews within a table cell. I can mimic a 2-column layout, but I can’t get the touch events working properly. Before I try to continue down this path, I wanted to know if these are viable solutions or if there are other options.

If Apple is using this in the app store, I figure there must be some way to do this out of the box. Any help is appreciated!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T23:18:39+00:00Added an answer on May 15, 2026 at 11:18 pm

    It is really simple. Open you .xib file and create 2 (or as many as you want) UITableView.
    Add IBOutlets for each one of them by defining

    IBOutlet UITableView *table1;
    IBOutlet UITableView *table2;
    

    Hook those up in the interface builder to each one of your tables, now in each table assign the delegate and dataSource to point to your View controller.

    Now, you need to implement the basic UITableView functions like:

    - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath;
    

    Now inside of this methods, you can know which one is being asked for by checking the tableView value with your IBOutlet references. Like:

    - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
      if(tableView == table1){
        return 10;
      } else {
        return 5;
      }
    }
    

    You could get fancy and create different classes to handle those delegates in a different way or have a better pattern, but this is a good way to start =D

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

All the info I've found on the internet about this says to use something
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
all. This question probably has a devilishly simple answer but it has kept me
All my files can be found on GitHub: https://github.com/Integralist/Passage (just in case you need
All, Apologies in advance - this question might be too open-ended for SO. Anyway...
All of a sudden, Facebook sharing has stopped working on my site. It's been
All, See the code below: function menu() { this.menuitem=[]; this.submenu=[]; this.menuitem[0] = $('div#sivname1'); this.menuitem[1]
All, I am trying to create a table to receive user inputs (UGC). This
All the examples of use and tutorials I have found on beginBackgroundTaskWithExpirationHandler: show how
All, I'm using wordpress with this and for some reason the eventDrop stopped working.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.