//
//  UITextField+SPExtension.h
//  VclustersGemini
//
//  Created by 余衡武 on 2020/4/30.
//  Copyright © 2020 APPLE. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <objc/runtime.h>

extern NSString * const SPTextFieldDidDeleteBackwardNotification;

@protocol SPTextFieldDelegate <UITextFieldDelegate>

@optional
/**
*  监听删除按钮
*  object:UITextField
*/
- (void)textFieldDidDeleteBackward:(UITextField *)textField;

@end


@interface UITextField (SPExtension)

@property (weak, nonatomic) id<SPTextFieldDelegate> delegate;

@end


