Skip to content
This repository has been archived by the owner on Jun 8, 2022. It is now read-only.

Commit

Permalink
Fixed for Swift 3
Browse files Browse the repository at this point in the history
  • Loading branch information
colemancda committed Nov 22, 2017
1 parent fbfef7d commit 978cfcc
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Package.pins
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"package": "Silica",
"reason": null,
"repositoryURL": "https://github.com/PureSwift/Silica.git",
"version": "1.3.0"
"version": "1.3.1"
}
],
"version": 1
Expand Down
18 changes: 9 additions & 9 deletions Package.resolved
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
{
"object": {
"pins": [
{
"package": "Cairo",
"repositoryURL": "https://github.com/PureSwift/Cairo.git",
"state": {
"branch": null,
"revision": "bc207ab2e367fbafef51a47b85a7e1eb2821ce57",
"version": "1.2.3"
}
},
{
"package": "CCairo",
"repositoryURL": "https://github.com/PureSwift/CCairo.git",
Expand Down Expand Up @@ -46,15 +55,6 @@
"version": "1.0.1"
}
},
{
"package": "Cairo",
"repositoryURL": "https://github.com/PureSwift/Cairo.git",
"state": {
"branch": null,
"revision": "bc207ab2e367fbafef51a47b85a7e1eb2821ce57",
"version": "1.2.3"
}
},
{
"package": "LittleCMS",
"repositoryURL": "https://github.com/PureSwift/LittleCMS.git",
Expand Down
1 change: 0 additions & 1 deletion Sources/Cacao/SwiftExtensions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ internal extension MutableCollection {
/// - Parameters:
/// - i: The index of the first value to swap.
/// - j: The index of the second value to swap.
@_inlineable
mutating func swapAt(_ i: Index, _ j: Index) {
guard i != j else { return }
let tmp = self[i]
Expand Down
2 changes: 1 addition & 1 deletion Sources/Cacao/UITableView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ open class UITableView: UIScrollView {

layoutTableView()

return cache.cells.cached.keys
return Array(cache.cells.cached.keys)
.filter { self.bounds.intersects(self.rectForRow(at: $0)) } // get visible cells
.sorted()
}
Expand Down

0 comments on commit 978cfcc

Please sign in to comment.