Skip to content

Commit 2640549

Browse files
author
Oleg Gnidets
committed
Merge remote-tracking branch 'origin/master' into develop
2 parents e419e74 + 6aa6a20 commit 2640549

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
language: objective-c # no matter that it is swift :)
22
osx_image: xcode11.2
33
script:
4-
- xcodebuild -project TweeTextField.xcodeproj -scheme "TweeTextField-Sample" -sdk iphonesimulator -destination "platform=iOS Simulator,OS=10.1,name=iPhone 7" -configuration Debug -PBXBuildsContinueAfterErrors=0 ACTIVE_ARCH_ONLY=0 build
4+
- xcodebuild -project TweeTextField.xcodeproj -scheme "TweeTextField-Sample" -sdk iphonesimulator -destination "platform=iOS Simulator,OS=10.3.1,name=iPhone 5" -configuration Debug -PBXBuildsContinueAfterErrors=0 ACTIVE_ARCH_ONLY=0 build
55
- xcodebuild -project TweeTextField.xcodeproj -scheme "TweeTextField" -sdk iphonesimulator -configuration Debug -PBXBuildsContinueAfterErrors=0 ACTIVE_ARCH_ONLY=0 build
66
- pod lib lint --verbose --fail-fast

README.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ This is lightweight library that provides different types of Text Fields based o
1717
- [Requirements](#requirements)
1818
- [Installation](#installation)
1919
- [CocoaPods](#cocoapods)
20+
- [Swift Package Manager](#swift-package-manager)
2021
- [Carthage](#carthage)
2122
- [Manually](#manually)
2223
- [Usage](#usage)
@@ -39,7 +40,7 @@ This is lightweight library that provides different types of Text Fields based o
3940
## Requirements
4041

4142
- iOS 10.0+
42-
- Xcode 10.0+
43+
- Xcode 11.0+
4344
- Swift 5.0+
4445

4546
## Installation
@@ -53,6 +54,23 @@ pod 'TweeTextField'
5354

5455
Then run `pod install` to integrate the library in your project.
5556

57+
#### Swift Package Manager
58+
Adding TweeTextField to the dependencies value of your `Package.swift` file.
59+
```swift
60+
// swift-tools-version:5.0
61+
62+
import PackageDescription
63+
64+
let package = Package(
65+
name: "YOUR_PROJECT_NAME",
66+
dependencies: [
67+
.package(url: "https://github.com/oleghnidets/TweeTextField.git", from: "1.6.1"),
68+
]
69+
)
70+
```
71+
72+
Or you may use Xcode. `File`->`Swift Packages`->`Add Package Dependency`. Then put link to the [repository](https://github.com/oleghnidets/TweeTextField.git).
73+
5674
#### Carthage
5775
To integrate `TweeTextField` into your Xcode project using Carthage, specify it in your Cartfile:
5876
```ruby

0 commit comments

Comments
 (0)