You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+26-1Lines changed: 26 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,32 @@ A custom TextField with a switchable icon which shows or hides the password and
19
19
20
20
:octocat: Installation
21
21
---
22
-
Get `PasswordTextField` on CocoaPods, just add `pod 'PasswordTextField'` to your `Podfile` and then run `pod install`. You can also add the Github to your `Carthage` file.
22
+
23
+
#### CocoaPods
24
+
You can use [CocoaPods](http://cocoapods.org/) to install `PasswordTextField` by adding it to your `Podfile`:
25
+
26
+
```ruby
27
+
platform :ios, '8.0'
28
+
use_frameworks!
29
+
pod 'PasswordTextField'
30
+
```
31
+
32
+
To get the full benefits import `PasswordTextField` wherever you import UIKit
33
+
34
+
```swift
35
+
importUIKit
36
+
importPasswordTextField
37
+
```
38
+
#### Carthage
39
+
Create a `Cartfile` that lists the framework and run `carthage bootstrap`. Follow the [instructions](https://github.com/Carthage/Carthage#if-youre-building-for-ios) to add `$(SRCROOT)/Carthage/Build/iOS/PasswordTextField.framework` to an iOS project.
40
+
41
+
```
42
+
github "PiXeL16/PasswordTextField"
43
+
```
44
+
45
+
#### Manually
46
+
1. Download and drop ```/PasswordTextField``` folder in your project.
0 commit comments