This repository has been archived by the owner on Jan 21, 2023. It is now read-only.
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
andScrollRefreshPresenterProtocol
for implementationUIRefreshControl
.
Table view
- Modified
TableViewPresenterProtocol
. AddedtableRowShouldHighlight
,tableDidHighlight
,tableDidUnhighlight
andtableRowShouldSelect
delegate methods.
Collection view
- Modified
CollectionViewPresenterProtocol
. AddedcollectionItemShouldHighlight
,collectionItemDidHighlight
,collectionItemDidUnhighlightItem
andcollectionItemShouldSelect
delegate methods.