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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T05:36:36+00:00 2026-05-30T05:36:36+00:00

I am wondering what the best practice is in iOS development when it comes

  • 0

I am wondering what the best practice is in iOS development when it comes to building the UI for a particular screen. Since it is possible to create custom cells for tableviews you can use a tableview to create just about any layout/UI that you could want. Which leads me to my question:

In general when creating a screen on an iPhone application which will have more content than can fit on a single screen, is it better to use a scrollview and load your custom views into the scrollview, or to create a tableview and have your custom views instead be custom tableview cells?

In the end it seems like you can achieve the exact same visual result but what is best practice. It is hard for me to tell on apps that I have downloaded if a particular scrollable screen was built using a tableview or a scrollview.

In HTML you should only use the element for displaying tabular data, not for layout and style purposes. Is it the same case in iOS? Is it poor practice to use tableviews for layout purposes (eg, a home screen of an app which lists buttons to go to other sections of an app)?

Cheers in advance.

  • 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-30T05:36:38+00:00Added an answer on May 30, 2026 at 5:36 am

    If you have lots of content to scroll through, a UITableView might help you with keeping memory usage down.

    When a cell scrolls out of sight, it gets removed from the view and kept around by the UITableView for later use (via -dequeueReusableCellWithIdentifier:). If you run low on memory then I believe that those invisible views (UITableViewCells) will get released. This basically means that your app will only keep views in memory that are actually visible. More will be cached, but can be purged any time if needed.

    If you display a lot of data, and just add it all to a UIScrollView it will potentially use much more memory than if you used a UITableView. You might have to implement a similar mechanism to what UITableView does to remove (and potentially release) invisible views.

    So, you can basically achieve the same effect, but a UITableView does a lot of that work for you already.

    If you display lots of data (probably more than about two screens full) I’d lean towards using a UITableView.

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

Sidebar

Related Questions

I am wondering what is best practice when it comes to dependencies and how
I was wondering what the best practice guidelines are for using the Facebook iOS
I wondering what the best practice way (in C#) is to implement this xpath
I'm wondering what the best practice is for handling the problem with having to
Just wondering what people think is the best practice when implementing an IValueConverter which
I am wondering what is the best practice to break long strings in C#
I'm wondering what is the best practice for moving a website to another server
This is a security best practice and I'm wondering if I should even be
I was wondering what is the best practice re. passing (another class) amongst two
I'm new to web development and am just wondering about best practices for java

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.