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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T11:24:20+00:00 2026-06-08T11:24:20+00:00

General Idea Im looking to resize UITableViewCells dynamically as the user scrolls the list,

  • 0

General Idea

Im looking to resize UITableViewCells dynamically as the user scrolls the list, to say, make the items grow in size as they reach the bottom of the list.

Considerations

This is a process that needs to be refreshed multiple times per second as a call is made to:

-(void)scrollViewDidScroll:(UIScrollView *)scrollView

So it is impractical to take the UITableView::ReloadData approach so that a call is made to:

- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath 

Since this will need to reload a bunch of extra data and slow down the system immensely.

Needs

  • I will have at around 10 items on screen.
  • entire list might have up to 100 items on extrem cases.
  • Systems needs to scroll smoothly.
  • Items need to expand and contract smoothly in real time as list scrolls.

Common knowledge

  • This will definitely have some performance impact vs a list with static items.

  • There are hundreds of threads dealing with the simple case of “resize cel to text length” which is not what I need, as that is a one time thing compared to this with lots of cycles per second.

Possible approaches

  • Subclass UITableView.
  • Have a static UITableView nested in a UIScrollView.
  • Create an item list system from scratch and not use UIScrollView at all.

Discarded approaches

  • Call UITableView::ReloadData per cycle so that heightForRowAtIndexPath: is called.

So far

I’ve already coded a module that calculates the math for item size.

Conclusion

I’m looking for the quickest way to solved this but I will recode my own UITableView if needed as a last resort.

Thanks for your time.

  • 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-08T11:24:21+00:00Added an answer on June 8, 2026 at 11:24 am

    After heavy testing with UITableView I have not found a way to do this efficiently. It seems that UITableView might be optimized in a way that does not permit dynamic cell resizing. For this reason making a custom listing system seems to be the only option. I have begun work on such project building on top of UIScrollView.

    A large part of the basic functionality is complete but the project is currently on hold as I have a more important system to develop as of present. If you are interested in taking part in this project let me know.

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

Sidebar

Related Questions

I'm looking for a general idea. I know how IEEE float or double is
I understand that in general it is a bad idea to start a new
I'm adding social integration to my app, and am looking for general advice how
Ok, Here is the situation, I am looking for some general input on the
I'm trying to understand the MVC pattern and I get the general idea that
I would like to add index(s) to my table. I am looking for general
I was looking on many template libraries, som I have fair mess in general
I get the general idea of how this common version :(){ :|:& };: of
I'm not looking so much for language-specific answers, just general models for implementing a
I understand that letting any anonymous user upload any sort of file in general

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.