Skip to content

Commit 01bf1e0

Browse files
committed
support swift 5.1 and xcode 11
1 parent 45aee45 commit 01bf1e0

File tree

4 files changed

+13
-5
lines changed

4 files changed

+13
-5
lines changed

Diff for: .travis.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
11
language: objective-c
2-
osx_image: xcode10.2
2+
osx_image: xcode11.0
33
branches:
44
only:
55
- master
66
env:
77
global:
88
- LC_CTYPE=en_US.UTF-8
99
- LANG=en_US.UTF-8
10-
- IOS_SDK=iphonesimulator12.2
10+
- IOS_SDK=iphonesimulator13.0
1111
- SCHEME_IOS="TableKit"
1212
- PROJECT_FRAMEWORK="TableKit.xcodeproj"
1313

1414
matrix:
1515
- DESTINATION="OS=10.0,name=iPhone 5" SCHEME="$SCHEME_IOS" SDK="$IOS_SDK"
1616
- DESTINATION="OS=11.1,name=iPhone 6" SCHEME="$SCHEME_IOS" SDK="$IOS_SDK"
1717
- DESTINATION="OS=12.0,name=iPhone 7 Plus" SCHEME="$SCHEME_IOS" SDK="$IOS_SDK"
18+
- DESTINATION="OS=13.0,name=iPhone 11" SCHEME="$SCHEME_IOS" SDK="$IOS_SDK"
1819

1920
script:
2021
- set -o pipefail

Diff for: CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [2.10.0](https://github.com/maxsokolov/TableKit/releases/tag/2.10.0)
6+
Released on 2019-09-29.
7+
- Swift 5.1 support.
8+
59
## [2.9.0](https://github.com/maxsokolov/TableKit/releases/tag/2.9.0)
610
Released on 2019-04-04.
711
- Swift 5.0 support.

Diff for: README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
<p align="left">
44
<a href="https://travis-ci.org/maxsokolov/TableKit"><img src="https://api.travis-ci.org/maxsokolov/TableKit.svg" alt="Build Status" /></a>
5-
<a href="https://developer.apple.com/swift"><img src="https://img.shields.io/badge/Swift_5.0-compatible-4BC51D.svg?style=flat" alt="Swift 5.0 compatible" /></a>
5+
<a href="https://developer.apple.com/swift"><img src="https://img.shields.io/badge/Swift_5.1-compatible-4BC51D.svg?style=flat" alt="Swift 5.1 compatible" /></a>
66
<a href="https://github.com/Carthage/Carthage"><img src="https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat" alt="Carthage compatible" /></a>
7-
<a href="https://cocoapods.org/pods/tablekit"><img src="https://img.shields.io/badge/pod-2.9.0-blue.svg" alt="CocoaPods compatible" /></a>
7+
<a href="https://cocoapods.org/pods/tablekit"><img src="https://img.shields.io/badge/pod-2.10.0-blue.svg" alt="CocoaPods compatible" /></a>
88
<img src="https://img.shields.io/badge/platform-iOS-blue.svg?style=flat" alt="Platform iOS" />
99
<a href="https://raw.githubusercontent.com/maxsokolov/tablekit/master/LICENSE"><img src="http://img.shields.io/badge/license-MIT-blue.svg?style=flat" alt="License: MIT" /></a>
1010
</p>

Diff for: Tests/TableKitTests.swift

+4-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,10 @@ class TableKitTests: XCTestCase {
7474
super.setUp()
7575

7676
testController = TestController()
77-
testController.view.isHidden = false
77+
testController.tableView.frame = UIScreen.main.bounds
78+
testController.tableView.isHidden = false
79+
testController.tableView.setNeedsLayout()
80+
testController.tableView.layoutIfNeeded()
7881
}
7982

8083
override func tearDown() {

0 commit comments

Comments
 (0)