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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T13:18:16+00:00 2026-06-09T13:18:16+00:00

As long as anyone can read in the Apple documentation, as ios developer we

  • 0

As long as anyone can read in the Apple documentation, as ios developer we should be aware of memory leaks and allocations. While developing an iphone app, there is one question that comes to my mind. How and why would you take the decision of using static cells over dynamic prototypes.

What are the pros and cons you’ve found about both ways. Is there any way to dequeue static cells?? What would you do, let’s say if you had 6/7 cells in a tableview with relatively static data. Like for instance a settings tvc.

Looking forward your comments to proceed accordingly
Thanks

  • 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-09T13:18:17+00:00Added an answer on June 9, 2026 at 1:18 pm

    When using static cells, you are deferring “dequeuing cells” and other data-binding to the base UITableViewController class. You should delete all the tableview and tableviewdatasource delegate method implementations in your TVC when using static cells. It may be possible to manually dequeue and add rows to a table that has static cells, but I’ve never attempted it; if you know that will be necessary you’re best to go the dynamic cell route.

    Static cells are convenient when you want to pivot an object so that each property is a row in your table. For those cases, your data isn’t easily represented as a array of values. In this case, the count of rows in the TV is known ahead of time, and the template for each cell is static – just like a settings TVC that you mention in your question. It’s still possible to use KVO etc to present your data as a dictionary when the class you are binding too supports it and go the dynamic cell route anyways, but it may be simpler/faster to develop using static cells.

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

Sidebar

Related Questions

Does anyone know how I can read the first two characters from a file,
Does anyone know a standard way to keep alive the http session as long
Has anyone had this problem? My projects tend to have some long XML files
This looks like a long shot, but does anyone know of a way to:
Can anyone offer any VBA macro suggestions? In a Word doc table, I need
Long time back in past I had read somewhere that if we want to
Does anyone know a way to read email messages from a gmail account in
Apologies for probably simple question, I've read the docs and still can't get this
I'm sure this is something stupid that I'm missing but can anyone identify why
I've read the documentation and thought I'd be able to do the following.... map

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.