About Reusing UITableViewCell
If you know what you're doing, you don't always have to reuse UITableViewCell (which is via
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
and
- (id)dequeueReusableCellWithIdentifier:(NSString*)identifier
methods).
The thing is, if you want to create UI something like this, reusing table cells can cause scrolling performance to be quite slow.
In term of memory usage, the difference between reusing and not reusing table cells is about 2 - 3 MB, which something I can tolerate in the name of fast scrolling performance.
It's your call :)
Written by Andri Yadi
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Uitableviewcell
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#