//  Created by Skye Freeman on 1/27/17.
//  Copyright © 2017 Skye Freeman. All rights reserved.
//

import UIKit

public extension UIBarButtonItem {
    
    @discardableResult func onTap(completion: @escaping OTStandardClosure) -> Self {
        touchHandler?.onTap = completion
        return self
    }
    
    convenience init(barButtonSystemItem: UIBarButtonSystemItem, onTap: @escaping OTStandardClosure) {