SwiftCallbacks
SwiftCallbacks
replaces the Target-Action pattern with callbacks for UIControl and UIBarButtonItem.
Installation
SwiftCallbacks
is available through CocoaPods. To install, simply include the following lines in your podfile:
use_frameworks!
pod 'SwiftCallbacks'
Be sure to import the module at the top of your .swift files:
import SwiftCallbacks
Alternatively, clone this repo or download it as a zip and include the classes in your project.
Author
Brad Hilton, [email protected]
License
SwiftCallbacks
is available under the MIT license. See the LICENSE file for more info.