Skip to content

RFUI/RFDelegateChain

Repository files navigation

RFDelegateChain

Build Status Codecov CocoaPods

DelegateChain allows the implementation of delegation to be distributed across multiple objects, compared to the traditional delegate mechanism.

Requirements

Xcode 10+.

CocoaPods Install

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.