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

  • Home
  • SEARCH
  • 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 662537
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T23:23:22+00:00 2026-05-13T23:23:22+00:00

UITableViewController seems to always hijack the View link in IB. So, if I put

  • 0

UITableViewController seems to always hijack the View link in IB. So, if I put UITableView in a UIView and link up the View to that UIView, it still doesn’t work. Only the UITableView is shown.

What I’d like to do is use a UITableViewController and put some labels on top of the uiTableView that can be hidden.. Like loading.. and No results found.

The only solution I have come up with is to resort to using UIViewController and then adding a UITableView link to the class and link it up in IB.

Am I missing something here?

  • 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-13T23:23:22+00:00Added an answer on May 13, 2026 at 11:23 pm

    It’s fine to use a UIViewController, make it implement the table view datasource and delegate protocols, and then hook a UITableView up to it. It’s also fine to have the controller’s main view be a container UIView, and have a UITableView as a subview of that.

    And yes, this is probably the best way to add some kind of overlay view, such as a message label. So I think you’re on the right track.

    You should also be able to do this using a UITableViewController, instead of a UIViewController that explicitly implements the table view protocols. I’ve had success with this. I’m not sure what you mean when you say that UITableViewController “hijacks” the view outlet in IB.

    It really isn’t a big deal either way. UITableViewController doesn’t do much other than implement those protocols, provide a different default loadView method, and call [tableView reloadData] by default on viewWillAppear:. If you do those things yourself, you’ll be fine.

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

Sidebar

Related Questions

I have a UIPickerView as subview in a UITableViewController, which I want to slide
This seems to be a white elephant for the iPhone. I've tried all sorts,
In my UITableViewController subclass I want to prepare the tabular data and reload the
I have a UITableViewController fed by an NSFetchedResultsController. From it, the user can call
I have a re-usable UITableViewController sub-class, call it tableVC. Selecting a table row pushes
I have a UITableViewController which has two sections. The first section shows a single
I have seen other posts on this subject, but this seems different. I am
I have been working on a problem relating to UITableView and cellForRowAtIndexPath. I want
I am bit stack with creating two UIViews which are switchable (each UIView has
Got this code in my controllers (void)viewDidLoad method self.purchasesPerClassification = [NSMutableDictionary dictionaryWithObjects:[NSArray arrayWithObjects:@Moo,nil] forKeys:[NSArray

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.