Re: New information. Was: Re: Weird UITableView problem
Re: New information. Was: Re: Weird UITableView problem
- Subject: Re: New information. Was: Re: Weird UITableView problem
- From: Quincey Morris <email@hidden>
- Date: Tue, 28 Apr 2015 17:15:30 +0000
On Apr 28, 2015, at 09:45 , William Squires <email@hidden> wrote:
>
> shows 15 rows
You keep saying “shows”, but you don’t say what this means. A table view can only “show” as many rows as can fit between its top and bottom bounds. The rest are “shown” by scrolling the view.
So, how many rows can fit on the screen? Assuming that’s less than 20, does every visible row “show” content, or are some of the visible rows blank? If you try to scroll the view, is there no scroll bar and no scrollability? If you can scroll it, do blank rows appear at the end?
TBH, it sounds like you’ve forgotten that UITableView doesn’t instantiate cell views for every row in the table, only for the visible rows plus enough nearby rows to make scrolling work smoothly. The rest are instantiated lazily as you scroll.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden