`LeafTextField` is CustomTextField that contains Image and Animation

LeafTextField





Example

@IBOutlet weak var textField: LeafTextField!

textField.setImage(UIImage(named: "pikases"), UIImage(named: "pikases-leaf"))
textField.imageSize = 24
textField.animationSpeed = 0.5
textField.springAnimation = true

Requirements

  • iOS 13.0
  • Swift 5

Installation

Swift Package Manager

https://github.com/urijan44/LeafTextField.git

Carthage

github "urijan44/LeafTextField"

CocoaPods

LeafTextField is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'LeafTextField'

Author

HenryLee: teamsva360@gmail.com

License

LeafTextField is available under the MIT license. See the LICENSE file for more info.