diff --git a/ASTextFieldNode.podspec b/ASTextFieldNode.podspec index 35e086e..36b0519 100644 --- a/ASTextFieldNode.podspec +++ b/ASTextFieldNode.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "ASTextFieldNode" - s.version = "0.2.1" + s.version = "0.2.2" s.summary = "UITextField wrapper for AsyncDisplayKit." s.description = <<-DESC UITextField wrapper for AsyncDisplayKit that can handle secure text entry. Alternative to ASEditableTextNode. @@ -11,5 +11,5 @@ Pod::Spec.new do |s| s.author = { "Kyle Shank" => "kyle.shank@gmail.com" } s.source = { :git => "https://github.com/pocketlabs/ASTextFieldNode.git", :tag => "#{s.version}" } s.source_files = "ASTextFieldNode", "ASTextFieldNode/*.{h,mm}" - s.dependency "AsyncDisplayKit", "~> 2.1.0" + s.dependency "AsyncDisplayKit", "~> 2.2" end diff --git a/ASTextFieldNode/ASTextFieldNode.h b/ASTextFieldNode/ASTextFieldNode.h index 722dac8..d71940e 100644 --- a/ASTextFieldNode/ASTextFieldNode.h +++ b/ASTextFieldNode/ASTextFieldNode.h @@ -28,8 +28,8 @@ FOUNDATION_EXPORT const unsigned char ASTextFieldNodeVersionString[]; @property (nonatomic, retain) ASTextFieldView* textField; @property (nonatomic, assign) NSString* text; -@property (nonatomic, assign) NSString* attributedText; -@property (nonatomic, assign) NSString* attributedPlaceholder; +@property (nonatomic, assign) NSAttributedString* attributedText; +@property (nonatomic, assign) NSAttributedString* attributedPlaceholder; @property (nonatomic, assign) UIFont* font; @property (nonatomic, assign) UIColor* textColor;