Skip to content

Commit f4b263a

Browse files
committed
Update README.md
1 parent a524a02 commit f4b263a

File tree

2 files changed

+25
-3
lines changed

2 files changed

+25
-3
lines changed

PlaceholderUITextView.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'PlaceholderUITextView'
3-
s.version = '1.0.1'
3+
s.version = '1.1.0'
44
s.summary = 'A missing placeholder for UITextView.'
55

66
s.homepage = 'https://github.com/Hoangtaiki/PlaceholderUITextView'

README.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
[![Version](https://img.shields.io/cocoapods/v/PlaceholderUITextView.svg?style=flat)](https://cocoapods.org/pods/PlaceholderUITextView)
99
[![License](http://img.shields.io/badge/license-MIT-lightgrey.svg?style=flat
1010
)](http://mit-license.org)
11+
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
12+
1113

1214
`PlaceholderUITextView` is a simple subclass from UITextView with multiple line placeholder
1315

@@ -28,19 +30,39 @@ use_frameworks!
2830
pod 'PlaceholderUITextView'
2931
```
3032

33+
### Carthage
34+
35+
[Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.
36+
37+
You can install Carthage with [Homebrew](https://brew.sh/) using the following command:
38+
39+
```bash
40+
$ brew update
41+
$ brew install carthage
42+
```
43+
44+
To integrate PlaceholderUITextView into your Xcode project using Carthage, specify it in your `Cartfile`:
45+
46+
```ogdl
47+
github "hoangtaiki/PlaceholderUITextView" ~> 1.1
48+
```
49+
50+
Run `carthage update` to build the framework and drag the built `PlaceholderUITextView.framework` into your Xcode project.
51+
52+
3153
### Swift Package Manager
3254

3355
Install with [Swift Package Manager](https://github.com/apple/swift-package-manager) by adding the following to your `Package.swift`:
3456

3557
```swift
3658
dependencies: [
37-
.package(url: "https://github.com/hoangtaiki/PlaceholderUITextView", from: "1.0.0"),
59+
.package(url: "https://github.com/hoangtaiki/PlaceholderUITextView", from: "1.1.0"),
3860
],
3961
```
4062

4163
### Submodules
4264

43-
Or manually checkout the submodule with `git submodule add [email protected]:hoangtaiki/Refreshable.git`, drag Refreshable.xcodeproj to your project, and add Refreshable as a build dependency.
65+
Or manually checkout the submodule with `git submodule add [email protected]:hoangtaiki/PlaceholderUITextView.git`, drag PlaceholderUITextView.xcodeproj to your project, and add PlaceholderUITextView as a build dependency.
4466

4567

4668
## Usage

0 commit comments

Comments
 (0)