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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T17:15:34+00:00 2026-05-20T17:15:34+00:00

I created a window based application, and I created a separate UITableViewController file called

  • 0

I created a window based application, and I created a separate UITableViewController file called “HomeViewController” which right now only has a basic table.

In the MainWindow.xib file, I put a UIView in the bottom half of the screen, and I wish to put the HomeViewController tableview within this newly added UIView called “conferences”.

Any suggestions as to how to push this file?

  • 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-20T17:15:35+00:00Added an answer on May 20, 2026 at 5:15 pm

    First off, usually your primary first view originates from a view controller that is loaded by the UIApplication object. The MainWindow nib’s owner is UIApplication so you probably don’t want to be mucking with the MainWindow nib. Rather, you want to muck with the view of the view controller loaded by MainWindow nib. If you look at the view displayed in IB for MainWindow.nib, it should say which view controller’s view it is loading.

    So, in IB for the view of view controller being loaded by MainWindow nib, this is where you want to place your UITableView. For purposes of this explanation, I will call this view controller, MucksViewController and associated nib, MucksView.nib.

    I think what I would do, then, is drag and drop a UITableView into the view for MucksView.nib. Position it in the bottom half of the screen, as you described. Attach this UITableView to an IBOutlet property in MucksViewController header file. Next, drag and drop a UIViewController object into the main window for MucksView.nib. Make this UIViewController object’s owner your HomeViewController class and also attach it to an IBOutlet property of type HomeViewController in MucksViewController’s header file.

    Now, in MucksViewController’s class file, probably in viewDidLoad method, programmatically make the HomeViewController object the data source and delegate of the UITableView object.
    But, I’m wondering, do you really need HomeViewController? It would be cleaner just to make MucksViewController the data source and delegate.

    I hope this helps and is not too confusing.

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

Sidebar

Related Questions

i have created and ipad application. i started off with window based application and
I have created a universal window based application in xcode 4. Additionally I created
I have created a view based application and in the appdelegate .h file I
I am working on a split-view based application for the iPad. I created a
I am making a QT application that updates the window based on the information
I am working on a navigation based application which involves LOGIN view. My approach
Once I've created a variable in the immediate window in C# (VS2008), is there
In my VB.net project I created a custom cursor (Window.cur). How can I assign
I've created a windows forms control, which is hosted in a web page viewable
I would like to create a window with a progressbar which shows the current

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.