Skip to content
This repository has been archived by the owner on Jan 21, 2023. It is now read-only.

v 1.5.0

Latest
Compare
Choose a tag to compare
@yurii-lysytsia yurii-lysytsia released this 25 Oct 15:44
d59ae39

Notes

Added selectable and highlightable protocols to modify appearance when state did change (but implemented only for UITableViewCell and UICollectionViewCell. Create your own realisation if you would like implement it to another view). Also added protocol to implementing UIRefreshControl for UIScrollView and children (e.g. UITableView or UICollectionView)

Reusable view

  • Added HighlightableView for views that need observe highlight state;
  • Added SelectableView for views that need observe selection state;

Scroll view

  • Added ScrollRefreshControllerProtocol and ScrollRefreshPresenterProtocol for implementation UIRefreshControl.

Table view

  • Modified TableViewPresenterProtocol. Added tableRowShouldHighlight, tableDidHighlight, tableDidUnhighlight and tableRowShouldSelect delegate methods.

Collection view

  • Modified CollectionViewPresenterProtocol. Added collectionItemShouldHighlight, collectionItemDidHighlight, collectionItemDidUnhighlightItem and collectionItemShouldSelect delegate methods.