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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T09:49:38+00:00 2026-06-01T09:49:38+00:00

I am trying to create a UITableView view (I guess a subview) inside another

  • 0

I am trying to create a UITableView view (I guess a subview) inside another controller’s view. Essentially here is the (simplified) structure I want for the Settings page I am designing:

  • SettingsViewController.h – contains standard property and method definitions.
  • SettingsViewController.m – controls the loading and saving of settings.
  • SettingsViewController.xib – the parent view for everything going on inside
    • 3x UISegmentedControls – each one will control a different setting. They will take up about half of the screen – the top half.
    • 1x UITableView – covers the rest of the screen and is scrollable. Scrolling shouldn’t make the other controls disappear.

I tried adding a UITableView object to my .XIB file, then creating outlets for it inside the SettingsViewController.h file, but that didn’t quite work. The table showed, but only in its default format – none of the DataSource methods worked.

I got rid of the code (temporarily), but if you need specifics, I should be able to reproduce it quickly and offer you some. Plus, I might do it right this time…

P.S. Using UITableView is not mandatory. If there is another handy way of displaying and editing a list of items (NSStrings really), I’d be fine with it.

  • 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-01T09:49:39+00:00Added an answer on June 1, 2026 at 9:49 am

    if your tableView is empty and the dataSource methods are correctly implemented you probably just forgot to connect your tableView to the dataSource/delegate.

    control-drag from the tableView to the viewController and set dataSource and delegate.

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

Sidebar

Related Questions

I'm trying to create a view programmatically. The result that i want to have
I am trying to create a multi-view app with navigation template. I want table
I am trying to create a grid view by using a UITableView (my older
I'm trying to create a custom view for my UITableView footerView that has a
I am trying to create a very simple UITableView with static cells from within
Ok so I am trying create a login script, here I am using PHP5
I'm trying to place a UIImageView in a UITableViewCell. I create a special view
I am trying to create programmatically a uitableview that can scroll and fit based
I am trying to create a table view similar to the YouTube video uploader
I'm trying to create and draw a UITableView populated by an array. I've created

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.