Skip to content

Commit 11a8ea1

Browse files
committed
Update readme
1 parent fec80dc commit 11a8ea1

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

README.md

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,38 @@
1-
[![Swift](https://img.shields.io/badge/Swift-5.0-orange.svg)](https://swift.org)
2-
[![Xcode](https://img.shields.io/badge/Xcode-12.0-blue.svg)](https://developer.apple.com/xcode)
1+
[![Swift](https://img.shields.io/badge/Swift-5.7-orange.svg)](https://swift.org)
2+
[![Xcode](https://img.shields.io/badge/Xcode-14.0-blue.svg)](https://developer.apple.com/xcode)
33
[![CocoaPods Compatible](https://img.shields.io/cocoapods/v/NativeUI.svg)](https://cocoapods.org/pods/NativeUI)
44
[![MIT](https://img.shields.io/badge/License-MIT-red.svg)](https://opensource.org/licenses/MIT)
55

66
# NativeUI
77

88
## Minimum Requirements:
9-
- iOS 9.0
10-
- Xcode 12.0
9+
- iOS 11.0
10+
- Xcode 14.0
1111
- Swift 5
1212

1313
## Installation
1414

15+
### Swift Package Manager
16+
17+
```swift
18+
dependencies: [
19+
.package(url: "https://github.com/devpolant/NativeUI.git", .upToNextMajor(from: "1.2.2"))
20+
]
21+
```
22+
1523
#### CocoaPods
1624

1725
```ruby
1826
target 'MyApp' do
19-
pod 'NativeUI', '~> 1.2.1'
27+
pod 'NativeUI', '~> 1.2.2'
2028
end
2129
```
2230

2331
If you don't need to connect all UI components you may use subspecs like:
2432

2533
```ruby
2634
target 'MyApp' do
27-
pod 'NativeUI/Alert', '~> 1.2.1'
35+
pod 'NativeUI/Alert', '~> 1.2.2'
2836
end
2937
```
3038

@@ -34,7 +42,7 @@ Available subspecs:
3442

3543
## Alert
3644

37-
<img src="https://github.com/AntonPoltoratskyi/NativeUI/blob/master/Example/Demo/default.gif" width="250" /> <img src="https://github.com/AntonPoltoratskyi/NativeUI/blob/master/Example/Demo/custom.gif" width="250" />
45+
<img src="https://github.com/devpolant/NativeUI/blob/master/Example/Demo/default.gif" width="250" /> <img src="https://github.com/devpolant/NativeUI/blob/master/Example/Demo/custom.gif" width="250" />
3846

3947
**`AlertViewController` is a customizable replacement for native `UIAlertController`.**
4048

0 commit comments

Comments
 (0)