Skip to content

Commit a437d2e

Browse files
committed
docs: README.md 내 사용법 업데이트
1 parent 91e694b commit a437d2e

File tree

1 file changed

+22
-8
lines changed

1 file changed

+22
-8
lines changed

README.md

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,33 @@
55
[![License](https://img.shields.io/cocoapods/l/RandomNumberTextField.svg?style=flat)](https://cocoapods.org/pods/RandomNumberTextField)
66
[![Platform](https://img.shields.io/cocoapods/p/RandomNumberTextField.svg?style=flat)](https://cocoapods.org/pods/RandomNumberTextField)
77

8-
## Example
98

10-
To run the example project, clone the repo, and run `pod install` from the Example directory first.
9+
## 📸 Preview
10+
<img src="https://user-images.githubusercontent.com/73675540/198973316-f814734d-235d-44a4-a8e4-bc2f994e5b94.gif" width="40%" height="40%/"><br>
1111

12-
## Requirements
12+
## 🏗 Installation
13+
* [CocoaPods](https://guides.cocoapods.org/using/using-cocoapods.html):
14+
```ruby
15+
pod 'RandomNumberTextField'
16+
```
1317

14-
## Installation
18+
## 🐒 Usage
19+
* Storyboard
20+
just subclassing!
21+
<br><img src="https://user-images.githubusercontent.com/73675540/198974933-b1c849b3-d37f-4743-9693-c901ca32ff61.png" width="60%" height="60%/"><br>
1522

16-
RandomNumberTextField is available through [CocoaPods](https://cocoapods.org). To install
17-
it, simply add the following line to your Podfile:
23+
* Code-Base
24+
just init!
25+
``` swift
26+
let randomKeyboard = RandomNumberTextField()
27+
```
1828

19-
```ruby
20-
pod 'RandomNumberTextField'
29+
## 🎨 Custom
30+
you can change keyboard color and font
31+
``` swift
32+
func setKeyboardBackgroundColor(_ color: UIColor?)
33+
func setKeyboardFont(_ font: UIFont)
34+
func setKeyboardTitleColor(_ color: UIColor?, for state: UIControl.State)
2135
```
2236

2337
## Author

0 commit comments

Comments
 (0)