|
1 | | - |
| 1 | + |
2 | 2 |
|
3 | | -[](https://travis-ci.org/PiXeL16/PasswordTextField/) [](https://codecov.io/github/PiXeL16/PasswordTextField?branch=master) [](https://img.shields.io/cocoapods/v/PasswordTextField.svg) [](https://github.com/Carthage/Carthage) |
| 3 | +[](https://travis-ci.org/PiXeL16/PasswordTextField/) [](https://codecov.io/github/PiXeL16/PasswordTextField?branch=master) [](https://img.shields.io/cocoapods/v/PasswordTextField.svg) [](https://github.com/Carthage/Carthage)[] |
4 | 4 | [](https://github.com/matteocrippa/awesome-swift) [](https://raw.githubusercontent.com/PiXeL16/PasswordTextField/master/LICENSE) |
5 | 5 | [](https://swift.org) |
6 | 6 |
|
7 | 7 | # PasswordTextField |
8 | 8 | A custom TextField with a switchable icon which shows or hides the password and enforces good password policies, written in `Swift`. |
9 | 9 |
|
10 | | - |
| 10 | + |
11 | 11 |
|
12 | 12 |
|
13 | 13 | :star: Features |
@@ -43,6 +43,16 @@ Create a `Cartfile` that lists the framework and run `carthage bootstrap`. Follo |
43 | 43 | github "PiXeL16/PasswordTextField" |
44 | 44 | ``` |
45 | 45 |
|
| 46 | +### Swift Package Manager |
| 47 | + |
| 48 | +**NOTE**: _These instructions are intended for usage on Xcode 11 and higher. Xcode 11 is the first version of Xcode that integrates Swift Package Manager and makes it way easier to use than it was at the command line. If you are using older versions of Xcode, we recommend using CocoaPods._ |
| 49 | + |
| 50 | +1. Go to File > Swift Packages > Add Package Dependency... |
| 51 | +2. Paste the URL to the `PasswordTextField` repo on GitHub (https://github.com/PiXeL16/PasswordTextField.git) into the search bar, then hit the Next button: |
| 52 | +3. Select the latest version and then hit next (Xcode will automatically suggest the current version Up to Next Major). |
| 53 | +4. Select the `PasswordTextField` library and then hit finish. |
| 54 | +5. You're done! |
| 55 | + |
46 | 56 | #### Manually |
47 | 57 | 1. Download and drop ```/PasswordTextField``` folder in your project. |
48 | 58 | 2. Congratulations! |
|
0 commit comments