参数继承协议
OC中
id<delegate>
Swift 3
protocol<A, B>
Swift 4
A & B
open func contactPicker(from viewController: UIViewController & WYContactDelegate, completion: (() -> Void)? = nil) {
delegate = viewController
handle.contactPicker(from: viewController, completion: completion)
}