From d1cc77d0af5833fbad14cda5563f598451674bb3 Mon Sep 17 00:00:00 2001 From: Danny Morrow Date: Mon, 3 Oct 2016 16:24:27 -0400 Subject: [PATCH 1/2] Move private props to .h to make them public --- CLTokenInputView/CLTokenInputView/CLTokenInputView.m | 3 --- 1 file changed, 3 deletions(-) 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 () Date: Mon, 3 Oct 2016 16:25:24 -0400 Subject: [PATCH 2/2] Make textField and fieldLabel public --- CLTokenInputView/CLTokenInputView/CLTokenInputView.h | 5 +++++ 1 file changed, 5 insertions(+) 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:`