Skip to content

Commit 8134d43

Browse files
committed
Bump version to 2.1.0
1 parent 927978f commit 8134d43

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

Fastis.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
Pod::Spec.new do |s|
22
s.name = 'Fastis'
3-
s.version = '2.0.1'
3+
s.version = '2.1.0'
44
s.summary = "Simple date picker created using JTAppleCalendar library"
55
s.description = <<-DESC
66
Fastis is a fully customizable UI component for picking dates and ranges created using JTAppleCalendar library.
77
DESC
88

99
s.homepage = 'https://github.com/simla-tech/Fastis'
1010
s.social_media_url = 'https://www.simla.com'
11-
s.screenshot = 'https://user-images.githubusercontent.com/4445510/187741251-d46c8a76-b8a5-428b-9a14-03411e0ba8f2.png'
11+
s.screenshot = 'https://user-images.githubusercontent.com/4445510/187880045-cb66b662-095b-4173-b795-b1e732cc2166.png'
1212
s.license = { :type => 'MIT', :file => 'LICENSE' }
1313
s.author = { 'Ilya Kharlamov' => '[email protected]' }
1414
s.source = { :git => 'https://github.com/simla-tech/Fastis.git', :tag => s.version.to_s }

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
<img alt="Fastis" src="https://user-images.githubusercontent.com/4445510/187741251-d46c8a76-b8a5-428b-9a14-03411e0ba8f2.png" width="100%">
1+
<img alt="Fastis" src="https://user-images.githubusercontent.com/4445510/187880045-cb66b662-095b-4173-b795-b1e732cc2166.png" width="100%">
22

33
[![SwiftMP compatible](https://img.shields.io/badge/SwiftPM-compatible-brightgreen.svg?style=flat)](https://github.com/apple/swift-package-manager)
4-
[![Cocoapods compatible](https://img.shields.io/cocoapods/v/Fastis.svg)](https://cocoapods.org/pods/Fastis)
4+
[![CocoaPods compatible](https://img.shields.io/cocoapods/v/Fastis.svg)](https://cocoapods.org/pods/Fastis)
55
[![Swift](https://img.shields.io/badge/Swift-5-green.svg?style=flat)](https://swift.org)
66
[![Xcode](https://img.shields.io/badge/Xcode-11-blue.svg?style=flat)](https://developer.apple.com/xcode)
77
[![License](https://img.shields.io/badge/license-mit-brightgreen.svg?style=flat)](https://en.wikipedia.org/wiki/MIT_License)
@@ -78,7 +78,7 @@ Carthage isn't supported.
7878

7979
### Manually
8080

81-
If you prefer not to use either of the dependency mentioned above managers, you can manually integrate Fastis into your project.
81+
If you prefer not to use either of the dependency managers mentioned above, you can manually integrate Fastis into your project.
8282

8383

8484
## Usage
@@ -90,7 +90,7 @@ import Fastis
9090

9191
class MyViewController: UIViewController {
9292

93-
func chooseDate() {
93+
func chooseDate() {
9494
let fastisController = FastisController(mode: .range)
9595
fastisController.title = "Choose range"
9696
fastisController.maximumDate = Date()
@@ -113,7 +113,7 @@ If you want to get a single date, you have to use the `Date` type:
113113
let fastisController = FastisController(mode: .single)
114114
fastisController.initialValue = Date()
115115
fastisController.doneHandler = { resultDate in
116-
print(resultDate) // resultDate is Date
116+
print(resultDate) // resultDate is Date
117117
}
118118
```
119119

@@ -123,7 +123,7 @@ If you want to get a date range, you have to use the `FastisRange` type:
123123
let fastisController = FastisController(mode: .range)
124124
fastisController.initialValue = FastisRange(from: Date(), to: Date()) // or .from(Date(), to: Date())
125125
fastisController.doneHandler = { resultRange in
126-
print(resultRange) // resultDate is FastisRange
126+
print(resultRange) // resultDate is FastisRange
127127
}
128128
```
129129

@@ -167,8 +167,8 @@ Also, you can create your own shortcut:
167167

168168
```swift
169169
var customShortcut = FastisShortcut(name: "Today") {
170-
let now = Date()
171-
return FastisRange(from: now.startOfDay(), to: now.endOfDay())
170+
let now = Date()
171+
return FastisRange(from: now.startOfDay(), to: now.endOfDay())
172172
}
173173
fastisController.shortcuts = [customShortcut, .lastWeek]
174174
```

0 commit comments

Comments
 (0)