Skip to content

The NJHDelegateSplitter class is created to allow you to have two delegates. For example, if you want to have one UITableViewDelegate delegate and a separate UIScrollViewDelegate for the same UITableView.

License

Notifications You must be signed in to change notification settings

heumn/NJHDelegateSplitter

Repository files navigation

NJHDelegateSplitter

The NJHDelegateSplitter class is created to allow you to have two delegates. For example, if you want to have one UITableViewDelegate delegate and a separate UIScrollViewDelegate for the same UITableView.

Version License Platform

Installation

NJHDelegateSplitter is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "NJHDelegateSplitter"

Manual Installation

  1. Clone this repo or click "Download ZIP" on the side.
  2. Copy all of the files in the "NJHDelegateSplitter" folder into your project. You probably want to check the box that says "Copy items if needed" as well as make sure that the target you want to add the files to is checked.

License

NJHDelegateSplitter is available under the MIT license. See the LICENSE file for more info.

This was created as I did not want to add BLKFlexibleHeightBar to all of my apps where this is where I discovered this pattern. You should totally check out his awesome navigationbar here https://github.com/bryankeller/BLKFlexibleHeightBar

About

The NJHDelegateSplitter class is created to allow you to have two delegates. For example, if you want to have one UITableViewDelegate delegate and a separate UIScrollViewDelegate for the same UITableView.

Resources

License

Stars

Watchers

Forks

Packages

No packages published