diff --git a/README.md b/README.md index 1a12569..f363c6b 100644 --- a/README.md +++ b/README.md @@ -181,6 +181,10 @@ The control was designed to allow further customization in subclasses. The contr - `placeholderRectForBounds(bounds: CGRect)`: override to change the bounds of the placeholder view - `lineViewRectForBounds(bounds:CGRect, editing:Bool)`: override to change the bounds of the bottom line view +### Animation on touch support + +The component can be set to animate the title label when becomming first responder. The default behavior is no animation on touch. If `isAnimationOnTouch` is set to true, the title animation will start right after the component became first responder. + ## Documentation See the [SkyFloatingLabelTextField documentation](http://cocoadocs.org/docsets/SkyFloatingLabelTextField) on [CocoaDocs.org](http://cocoadocs.org) for the full documentation. diff --git a/SkyFloatingLabelTextField/SkyFloatingLabelTextFieldExample/Base.lproj/Main.storyboard b/SkyFloatingLabelTextField/SkyFloatingLabelTextFieldExample/Base.lproj/Main.storyboard index feeba03..35ad7aa 100644 --- a/SkyFloatingLabelTextField/SkyFloatingLabelTextFieldExample/Base.lproj/Main.storyboard +++ b/SkyFloatingLabelTextField/SkyFloatingLabelTextFieldExample/Base.lproj/Main.storyboard @@ -1,13 +1,11 @@ - + - - - + @@ -37,14 +35,14 @@ - + - + @@ -263,13 +297,13 @@ - + @@ -281,13 +315,13 @@ - + @@ -299,19 +333,19 @@ - + @@ -345,10 +379,10 @@ - + - + @@ -360,13 +394,13 @@ - + @@ -378,13 +412,13 @@ - + @@ -396,19 +430,19 @@ - + @@ -439,7 +473,7 @@