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

The Archive Base Latest Questions

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

I have used custom cell class for my uitableview and used in cellForRowAtIndexPath method.

  • 0

I have used custom cell class for my uitableview and used in cellForRowAtIndexPath method.

In that method cellIdentifier is already been defined and even cell property is used as dequeueReusable.

But while scrolling my tableview each time my custom cell objects gets created and its methods get called. Because of that on device, scrolling gets jerky effects.

I have also checked if(cell==nil) and inside that i m assigning my image and labels property for that custom cell. But each and every time, this condition gets true and program pointer goes inside that condition.

Please guide me on this.

If possible please provide some example code.

Thanks in advance

Mrunal.

  • 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-25T00:03:20+00:00Added an answer on May 25, 2026 at 12:03 am

    As many others have pointed out, we can’t really help you unless you post your code (your CellForRowAtIndexPath should be enough).

    Generally speaking there are many ways of improving scrolling performance on UITableViews and the top ones I use are (and have used in other Stack Overflow answers):

    1. Always reuse cells, use the dequeuereusablecellwithidentifier when
      creating new cells. This prevents the overhead of the OS creating
      and destroying lots of objects when scrolling fast.

    2. Collapse the view hierarchy of the cell. Instead of having lots of
      views and subviews, create a custom view and do all your cell
      drawing in the drawRect. Apps like Twitter use this approach for
      super fast cell drawing.

    3. Ensure your images are opaque. You can do this by ensuring all image
      assets don’t have alpha channels baked into them and by setting the
      layer’s opaque property to YES.

    4. If you are setting any properties of the cell image’s layer property (like shadow or rounded rectangles) this can affect scrolling performance. Setting the layer’s shouldRasterize to YES will help, but you should really think hard about doing any intensive drawing operations within cells.

    For more details see http://developer.apple.com/library/ios/#samplecode/TableViewSuite/Introduction/Intro.html%23//apple_ref/doc/uid/DTS40007318-Intro-DontLinkElementID_2

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

Sidebar

Related Questions

I have a UITableView with custom cell. I have created seperate class with xib
I have a custom UITableView cell that sports an Image, and a headline. I
I have built a custom membership provider that I have used in a previous
I have created my custom MembershipProvider. I have used an instance of the class
I have used custom cell in my tableview for different values and to save
I have the following cell which is used for my custom column data type
I have a custom UITableViewCell that I use like this: AppTableCell *cell = [tableView
I've created a custom UITableViewCell class, and used the layoutSubviews method to add a
In my application i have used list view and custom cell which contain product
I have used the following article as a guide to creating a custom EditorPart

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.