- July 11, 2025
- Mins Read
I fell in love with the text inputs effects in this article. As an exercise I decided to recreate as many of them as I can using Swift (some of them have a personal touch).
Currently it features the following effects from the article:
swift-1.2
branch.The easiest way to install this framework is to drag and drop the TextFieldEffects/TextFieldEffects
folder into your project. This also prevents the frameworks
problem in iOS where the IBInspectable and IBDesignable are stripped out.
Add the following to your Podfile:
use_frameworks!
pod ‘TextFieldEffects’
Add the following to your Cartfile:
github ‘raulriera/TextFieldEffects’
Every effect is properly documented in the source code, this is the best way to both understand and see what they do. There is also an example project included with all the effects and their settings.
The library is a simple drop-in, as soon as you set your subclass to one of the effects and your module to TextFieldEffects
you will be able to see all the IBDesignable settings in the storyboard.
If you like to get your hands dirty, you can use them just like you would normally use any UITextField
let textField = KaedeTextField(frame: textFieldFrame)
textField.placeholderColor = .darkGrayColor()
textField.foregroundColor = .lightGrayColor()
view.addSubView(textField)
Is that simple.
A SwiftUI View that emits confetti with user-defined shapes, images, and text.
A colour wheel made all in SwiftUI. There are 2 different colour wheels to choose from. The first main one ...
A color picker implementation with color wheel appearance written in plain SwiftUI. It is compatible with UIColor and NSColor.
This repository is no longer maintained. Here's why: with the release of iOS 16 SwiftUI now enables most of the ...