1.方法
-(id)initWithType:(DDAlertType)alertType title:(NSString *)title message:(NSString *)message btnName:(NSString *)btnName finished:(void(^)())onFinished
2.属性
typedef void(^DDblock)(NSDictionary *);
@property (nonatomic, copy) DDblock block;
或者
@property (nonatomic,copy)void(^showPickerBlock)();
3.常量
void (^ _onFinished)(NSDictionary * infoData);
_onFinished = [onConfirm copy];