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 9272813
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T15:57:09+00:00 2026-06-18T15:57:09+00:00

I am trying to do something very basic. I want a tab bar application

  • 0

I am trying to do something very basic. I want a tab bar application where some of the tabs contain table views. I am working with Interface Builder.

I can create a tab bar app starting from an empty app using code found in Beginning iPhone 6 Development. That’s easy. I create the app, create an empty nib, then drag a tab bar controller into the empty nib. Set up the hookups, the root controller, and load the nib from the App Delegate. Works fine. I can then create more nibs and assign each nib to each tab item. If I add a label to each nib, it’s fine.

I can create a table view app. Start with a view app, go to my main nib, drag in a table view, implement the methods inside the class, hook everything up, it’s fine.

But when I combine those two, it doesn’t work. Specifically, get the tab app working. From one of the views (separate nib), delete the label and add a table view instead.

I do all the same things as I do in the simple version. I cut and paste code. But when I run it, I get messages about invalid selector being sent (numberOfRowsInSection).

So… clearly I have to do it differently.

Comments?

  • 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-06-18T15:57:10+00:00Added an answer on June 18, 2026 at 3:57 pm

    You need to implement the tableview delegate methods. There are specific methods that drive the data and delegate of a tableview. Anytime the tableview loads your app will be looking for these methods. One of them being (numberOfRowsInSection). Make sure you have hooked up your delegate and datasource in IB (by right clicking the tableview and using the drag commands to select File’s Owner). Then you have to implement the appropriate methods to setup a tableview.

    These methods can be found on the Apple Doc site for configuring a tableview linked below:

    http://developer.apple.com/library/ios/#documentation/uikit/reference/UITableView_Class/Reference/Reference.html

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

Sidebar

Related Questions

I'm trying to do something very basic. I want to add a subView to
So I'm trying to achieve something seemingly very basic in jQuery. I have a
I am trying to learn something basic and very important to develop decent iPhone
I am trying something very basic: I have a list of 5 buttons. They
Trying to do something very basic and test my Rails app on my phone.
I'm trying to do something very basic but am getting tripped up. I am
So I am trying to do some very basic things in pygame. It is
I'm trying to do something like in this Tutorial , a very basic gallery.
I'm trying something very simple. Upon page load the data in content div is
I'm trying to accomplish something very, very similar to the below picture with CSS3

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.