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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T08:28:12+00:00 2026-06-18T08:28:12+00:00

I am using EasyTableView Library, Can you please tell me , When I am

  • 0

I am using EasyTableView Library, Can you please tell me , When I am dynamically creating rows for my Tableview, why it is showing so much performance lag in the Instruments?

The Code in the above image is as follows:

CGRect buttonRect   = CGRectMake(10, 0, 473, 677);
    UIButton *button    = [UIButton buttonWithType:UIButtonTypeCustom];
    button.frame = buttonRect;
    UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(0, button.frame.size.height-100, button.frame.size.width,50)];
    label.backgroundColor = [UIColor blackColor];
    label.textColor = [UIColor whiteColor];
    label.textAlignment = NSTextAlignmentCenter;
    [button addSubview:label];
    // Use a different color for the two different examples
    return button;

Performance Lag

  • 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-18T08:28:14+00:00Added an answer on June 18, 2026 at 8:28 am

    It looks like you’re regenerating a cell view for every cell (i.e. never reusing the views).
    Looking at the docs for EasyTableView, it looks like ETV does NOT incorporate a view caching mechanism, so it’s generating new views for every row of the tableview.

    And if your tableview has dozens or hundreds of rows, you are in deep trouble. I suggest getting rid of EasyTableView and using UITableViews that have cell view caching and reuse.

    Alternatively, implement your own view caching and reuse. So in your case you’d have a pool of UIButtons, and every time you need to return a UIButton in easyTableView:viewForRect:, check if there’s one that isn’t currently visible on screen. If so, reuse it and change whatever you need (label text, etc…). Otherwise, create a new one.

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

Sidebar

Related Questions

Using a CSS image sprite, I'm creating an 'interactive' image where hovering over certain
using this http://bl.ocks.org/950642 we can see how to add images to nodes, the question
Using Location.getBearing(); I seem to get randomly changing bearings. Aka, I can turn the
Using GPS, how can I notify a cab operator in the area if I
Using Apache's RewriteRule, how can I make it serve: mydomain.com/webpage.php?name=home_page as simply: mydomain.com/ Without
Using C# How can I show a document in richtextbox without scrollbars, But I
Using the Excel 2010 OleDb driver and an OleDbConnection I can query and manipulate
Using CMake I want to check if a particular function (cv::getGaborKernel) from OpenCV library
Using SSRS 2008 R2 I have a background process that dynamically generates RDL for
Using server-side C#, how can I convert a querystring to a JSON string of

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.