Skip to content

Commit 70f24eb

Browse files
committed
README improvements
1 parent 88212b2 commit 70f24eb

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,25 @@ github "raulriera/TextFieldEffects"
7070

7171
## How to use them
7272

73+
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.
74+
75+
### Interface Builder
76+
7377
The library is a simple drop-in, as soon as you set your subclass to one of the effects you will be able to see all the IBDesignable settings in the storyboard.
7478

75-
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.
79+
### Code
80+
81+
If you like to get your hands dirty, you can totally do so just like your normally will with any `UITextField`
82+
83+
```swift
84+
let textField = KaedeTextField(frame: textFieldFrame)
85+
textField.placeholderColor = .darkGrayColor()
86+
textField.foregroundColor = .lightGrayColor()
87+
88+
view.addSubView(textField)
89+
```
90+
91+
Is that simple.
7692

7793
## Created by
7894
Raul Riera, [@raulriera](http://twitter.com/raulriera)

0 commit comments

Comments
 (0)