An open API service indexing awesome lists of open source software.

https://github.com/rfui/rfdelegatechain


https://github.com/rfui/rfdelegatechain

cocoapods delegate delegate-libraries delegate-pattern delegation

Last synced: 10 months ago
JSON representation

Awesome Lists containing this project

README

          

# RFDelegateChain

[![Build Status](https://img.shields.io/travis/RFUI/RFDelegateChain.svg?style=flat-square&colorA=333333&colorB=6600cc)](https://travis-ci.org/RFUI/RFDelegateChain)
[![Codecov](https://img.shields.io/codecov/c/github/RFUI/RFDelegateChain.svg?style=flat-square&colorA=333333&colorB=6600cc)](https://codecov.io/gh/RFUI/RFDelegateChain)
[![CocoaPods](https://img.shields.io/cocoapods/v/RFDelegateChain.svg?style=flat-square&colorA=333333&colorB=6600cc)](https://cocoapods.org/pods/RFDelegateChain)

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

## Requirements

Xcode 10+.

## CocoaPods Install

```ruby
pod 'RFDelegateChain'
```

With specified subspecs:

```ruby
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](https://github.com/CocoaPods/CocoaPods/issues/7314#issuecomment-422283045).