Nelson

Results 24 comments of Nelson

> This is happening if you have at some moment numberOfItemsInSection = 0. Do you mean that `numberOfItemsInSection = 0` during scrolling, or? Can you provide steps to reproduce this...

@aleksandrach Can you provide sample project? I also use this layout to present data fetching from server, but it never happens to me.

1. Don't download on main thread. 2. Cache downloaded images, don't download again. 3. Try to use some excellent library to do it for you, such as SDWebImage or Pin...

@rlam3 Everyone has different situation, what exactly is yours?

I don't think UIStackView can save your problem.

Impossible, master is same as 0.8

You can't always return YES in `(BOOL)shouldInvalidateLayoutForBoundsChange:(CGRect)newBounds`. - If it returns YES, then the layout is invalidate and it needs to do the calculation again. - `(BOOL)shouldInvalidateLayoutForBoundsChange:(CGRect)newBounds` gets called when...

I understand. But `UICollectionViewFlowLayout` also uses its collection view's delegate as its delegate, I'm not sure if it is reasonable not to use the same delegate object.

Under what situation do we need to show header on top of all collectionView cells?

https://chiahsien.github.io/ 自訂的 `Simple` 主題,記錄一些 iOS 跟工作上的事。