Post

Replies

Boosts

Views

Activity

Comment on UITableView calls numberOfRowsInSection multiple times, why?
Thank you for your response. My attitude towards the kind of issue I'm experiencing is it's probably something in my code that is causing UIKIT to misbehave, so I first try to figure out what I may have done. When I can't pinpoint what I may have done, I seek the help of others that may have seen the same behavior. However, just logically, it doesn't make sense for any delegate method to be called multiple hundreds of time when an App is running - that can't by any stretch of the imagination be considered performant, and UIKIT in its longevity has proven that it's highly performant. If you have any coding solutions or suggestions, I'd appreciate hearing them.
Topic: UI Frameworks SubTopic: UIKit Tags:
May ’22
Comment on UITableView calls numberOfRowsInSection multiple times, why?
Thanks for the links, unfortunately neither provide any contribution to a solution to the issue I'm seeing. And yes, I'm noticing a performance hit, hence the post - calling the same function and getting the same answer literally hundreds of time can't help but cause a performance degradation. Where do you suggest a "bug report" or "enhancement request" be sent? The Developer Feedback mechanism doesn't appear to be very responsive. I just received a response to a Feedback report I filed on Dec 26, 2020 at 12:44 AM. I have observed that this happens more often than just at start up, it appears to recur every time viewForHeaderInSection is called, witch itself appears to be called more often than necessary. If you have any code solutions to offer, I'd be happy to receive them and test them out.
Topic: UI Frameworks SubTopic: UIKit Tags:
May ’22