| 12345678910111213141516171819202122232425262728293031 |
- //
- // JKAlertController.h
- // Lock
- //
- // Created by Jack on 2016/10/15.
- // Copyright © 2016年 mini1. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- typedef BOOL(^textChangeHandler)(UITextField *textField,NSRange changeRange,NSString*string);
- typedef void(^inputHandler)(NSString *text);
- @interface JKMessageBoxController : UIViewController
- @property (nonatomic,copy) textChangeHandler changeHandler;
- @property (nonatomic,copy) inputHandler textHandler;
- @property (nonatomic,copy) NSString *yesButtonTitle;
- @property (nonatomic,strong) UITextField *textFiled;///<default secureTextEntry = Yes
- + (instancetype)messageBoxControllerWithTip:(NSString *)msg;
- + (instancetype)messageBoxControllerWithTip:(NSString *)msg ContentSize:(CGSize)size;
- - (void)warning:(NSString *)msg;
- @end
|