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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T14:57:40+00:00 2026-06-05T14:57:40+00:00

I have an existing ViewController + xib in my project, and now I want

  • 0

I have an existing ViewController + xib in my project, and now I want to add a UITableView with static cells, like this:

TableView with static cells

But when I drag a UITableView onto my screen I don’t have the “Content > Static” menu in the Attributes Inspector.

I’ve tried making my controller subclass UITableViewController, but that doesn’t help — I still don’t get the option to use static cells in Attributes Inspector.

I’ve looked around on StackOverflow but haven’t found any existing answers to this question. All the existing questions relate to Storyboards (which I’m not using) instead of xib files.

My guess is that Xcode does some kind of magic when you add a UITableViewController to a storyboard, but not when you change an existing xib to inherit from UITableViewController.

Any advice how how to add a table view with static cells to an existing xib?

  • 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-05T14:57:42+00:00Added an answer on June 5, 2026 at 2:57 pm

    Static table view cells are only available when using storyboards. However, if you aren’t using storyboards for your entire UI you can still use them for individual screens instead of a collection of screens.

    To do this you can create a UIStoryboard file with a single view controller on it that has it’s File’s Owner set to your custom view controller subclass. Set the VC’s identifier to some value. When you want to display this, get the storyboard and then instantiate your view controller subclass by creating the VC from your storyboard.

    UIStoryboard *tableViewStoryboard = [UIStoryboard storyboardWithName:@"your storyboard" bundle:nil];
    CustomViewController = [tableViewStoryboard instantiateViewControllerWithIdentifier:@"custom identifier"];
    

    You can present this VC as usual in your app.

    This is a great way to start using storyboards without having to convert your entire app to use them.

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

Sidebar

Related Questions

I have an existing iphone project with a UITabBar. Now I need styled text
I have an existing project that I am adding the CoreData framework to but
I have been trying to add/implement this example to my existing Split View app
I have a problem with this project, It hasn't a xib file or storyboard.
I have existing code with their own makefiles which I want to load into
I'm working on a project where the client wants to have existing pages dynamically
I have an existing Node project sitting in my Dropbox, and when I open
I have an existing web service and I want it to expose 2 MEX
I have an existing iPhone project that has been tested, submitted, and approved, compiled
i want to add an UIView for small size as a subview to existing

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.