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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T01:03:46+00:00 2026-05-25T01:03:46+00:00

I have a UITableViewController, I have 4 types of tabular data to present in

  • 0

I have a UITableViewController, I have 4 types of tabular data to present in the same format. Is it better to use one UITableViewController and reload data each time I need to present data, or should I create four UITableViewController instances with its own data source?

Points I considered (which I’m not sure if true):

  1. I could save resources by reusing one instance of UITableViewController.

  2. However, always calling UITableView’s reloadData before presenting the grid might have impact on performance.

What is the best approach in terms of performance / memory consumption / best practice? Or is there no difference? Hope I am clear.

Update: To be exact, I have popover controllers with a table. I use it to as a “Selection Screen” for various fields in my screens.

The number of fields needing the popover are dynamic, so there can be 4 in one screen or upto 10 in another screen. The dilemma is should I create multiple instances of selection popover (one per field), or should I just use one selection screen and reload the data per field?

  • 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-25T01:03:47+00:00Added an answer on May 25, 2026 at 1:03 am

    Short answer :

    It doesn’t really matter unless your data sets are massive (thousands of rows). Whatever is easiest for you is fine!

    Long answer :

    I would have a different one per data type – it’s probably going to be a slightly more responsive ui if you do (as you pointed out, this comes at the cost of more memory usage).

    However, I would use delayed instantiation i.e. only create them the first time they are asked for.

    I would also release them if I received a low memory warning notification and they weren’t visible.

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

Sidebar

Related Questions

I have several UITableViewController s. I want to use one of those controllers as
I have a UITableViewController containing some very basic data. Assume each row just contains
I have an UITableViewController which I would like to add UIToolbar to with one
I have a structure like this.... UITableViewController -> UITableViewCell -> UIView I need the
Ok Guys, here's the situation I have. I'm using a UITableViewController with Core Data.
I have UITableViewController as the RootViewController. I need to add rows to the table
I have UITableViewController and I need to update UILabel value. UITableView contains sections. How
My application is navigation base. I have UITableViewController.when i tap a cell i need
I have a UITableViewController displaying core data. My data entity has 5 properties. I
I have UITableViewController where I need to put initialization code only once to populate

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.