DelegateChain allows the implementation of delegation to be distributed across multiple objects, compared to the traditional delegate mechanism.
Xcode 10+.
pod 'RFDelegateChain'
With specified subspecs:
pod 'RFDelegateChain', :subspecs => ['UICollectionViewDataSource', 'UITextFieldDelegate']
Subspec available:
- UICollectionViewDataSource
- UICollectionViewDelegate
- UICollectionViewDelegateFlowLayout
- UIScrollViewDelegate
- UISearchBarDelegate
- UITextFieldDelegate
- UITextViewDelegate
- UIWebViewDelegate
It is highly recommended to build this library with the same deployment target version as your target. This can be fixed with a post_install script.