LazyScrollView Versions Save

An iOS ScrollView to resolve the problem of reusability in views.

1.0.1

6 years ago
  • new feature: load items "async" (load items one by one, only load one item in one runloop)
  • new feature: load more logic
  • use ModelBucket to manager cached models
  • use ReusePool to manager reusable items
  • not hack UIScrollView's delegate now (we override setContentOffset to implement our logic)
  • tidy codes, fix bugs and add unit tests

For TMUtils

  • add more helper methods

0.1.0

6 years ago
  1. fix a problem of reuseIdentifier matching during dequeue
  2. add a new feature "autoAddSubview"
  3. add 2 new public properties: visibleItems & inScreenVisibleItems
  4. optimize codes of scrollViewDelegate forwarding