diff --git a/CLTokenInputView/CLTokenInputView/CLTokenInputView.h b/CLTokenInputView/CLTokenInputView/CLTokenInputView.h index 32ebf8c..a0bcadf 100644 --- a/CLTokenInputView/CLTokenInputView/CLTokenInputView.h +++ b/CLTokenInputView/CLTokenInputView/CLTokenInputView.h @@ -8,6 +8,7 @@ #import +#import "CLBackspaceDetectingTextField.h" #import "CLToken.h" #if __has_feature(objc_generics) @@ -86,6 +87,10 @@ NS_ASSUME_NONNULL_BEGIN @property (assign, nonatomic) IBInspectable UITextAutocapitalizationType autocapitalizationType; @property (assign, nonatomic) IBInspectable UITextAutocorrectionType autocorrectionType; @property (assign, nonatomic) IBInspectable UIKeyboardAppearance keyboardAppearance; + +@property (strong, nonatomic) CLBackspaceDetectingTextField *textField; +@property (strong, nonatomic) UILabel *fieldLabel; + /** * Optional additional characters to trigger the tokenization process (and call the delegate * with `tokenInputView:tokenForText:` diff --git a/CLTokenInputView/CLTokenInputView/CLTokenInputView.m b/CLTokenInputView/CLTokenInputView/CLTokenInputView.m index 5077c14..c3b2fe0 100644 --- a/CLTokenInputView/CLTokenInputView/CLTokenInputView.m +++ b/CLTokenInputView/CLTokenInputView/CLTokenInputView.m @@ -8,7 +8,6 @@ #import "CLTokenInputView.h" -#import "CLBackspaceDetectingTextField.h" #import "CLTokenView.h" static CGFloat const HSPACE = 0.0; @@ -27,8 +26,6 @@ @interface CLTokenInputView ()