zats / Voltron

When UICollectionViewCell needs to be a UIViewController. WARNING: this repo is not actively maintained

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

what's the 'population' meaning?

change2hao opened this issue · comments

commented

the sentense "For smooth scrolling try to defer the population of the controller with data." in ReadMe. I'm puzzled about the "the population of the controller with data." Excuse my denseness, what does 'population' mean?

sorry my bad, as English is not my native language.
I meant that you should defer the data binding in your view controller for as late as possible, e.g. if you will feel it with data and synchronous networking in viewWillAppear: it'll cause stuttering while scrolling. In other words don't do what you would't do in a regular UICollectionViewCell with regards to UIViewController lifecycle.
Hope it makes sense