File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
- // swift-tools-version:5.1
1
+ // swift-tools-version:5.3
2
2
// The swift-tools-version declares the minimum version of Swift required to build this package.
3
3
4
4
import PackageDescription
Original file line number Diff line number Diff line change 1
1
# ListPagination
2
2
3
- [ ![ Swift5 ] ( https://img.shields.io/badge/swift5-compatible-green.svg?longCache=true&style=flat-square )] ( https://developer.apple.com/swift )
3
+ [ ![ Swift 5.3 ] ( https://img.shields.io/badge/swift5.3 -compatible-green.svg?longCache=true&style=flat-square )] ( https://developer.apple.com/swift )
4
4
[ ![ Platform] ( https://img.shields.io/badge/platform-iOS%20%7C%20macOS%20%7C%20tvOS-lightgrey.svg?longCache=true&style=flat-square )] ( https://www.apple.com )
5
5
[ ![ License] ( https://img.shields.io/badge/license-MIT-lightgrey.svg?longCache=true&style=flat-square )] ( https://en.wikipedia.org/wiki/MIT_License )
6
6
Original file line number Diff line number Diff line change @@ -22,8 +22,10 @@ extension RandomAccessCollection where Self.Element: Identifiable {
22
22
return distance == 1
23
23
}
24
24
25
- public func isThresholdItem< Item: Identifiable > ( offset: Int ,
26
- item: Item ) -> Bool {
25
+ public func isThresholdItem< Item: Identifiable > (
26
+ offset: Int ,
27
+ item: Item
28
+ ) -> Bool {
27
29
guard !isEmpty else {
28
30
return false
29
31
}
You can’t perform that action at this time.
0 commit comments