Skip to content

Commit 1b8fd39

Browse files
authored
Merge pull request #25 from yacir/remove_deprecated
Remove deprecated isFistCellExcluded propertie
2 parents 35c33bf + 8569ef5 commit 1b8fd39

2 files changed

Lines changed: 0 additions & 24 deletions

File tree

Sources/CollectionViewSlantedLayout.swift

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -92,17 +92,6 @@ import UIKit
9292
}
9393
}
9494

95-
/// :nodoc:
96-
@available(*, deprecated: 3.0.1, message: "Use isFirstCellExcluded instead")
97-
@IBInspectable open var isFistCellExcluded: Bool {
98-
get {
99-
return isFirstCellExcluded
100-
}
101-
set {
102-
isFirstCellExcluded = newValue
103-
}
104-
}
105-
10695
/**
10796
Allows to disable the slanting for the last cell.
10897

Tests/CollectionViewSlantedLayoutTests.swift

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -200,17 +200,4 @@ class CollectionViewSlantedLayoutTests: XCTestCase {
200200
func testLayoutShouldInvalidateLayoutForBoundsChange() {
201201
XCTAssertTrue(verticalSlantedViewLayout.shouldInvalidateLayout(forBoundsChange: CGRect()))
202202
}
203-
204-
func testIsFirstCellExcludedBackwardsCompatibility() {
205-
let defaultSlantedViewLayout = CollectionViewSlantedLayout()
206-
XCTAssertEqual(defaultSlantedViewLayout.isFistCellExcluded, defaultSlantedViewLayout.isFirstCellExcluded)
207-
defaultSlantedViewLayout.isFistCellExcluded = true
208-
XCTAssertEqual(defaultSlantedViewLayout.isFirstCellExcluded, true)
209-
defaultSlantedViewLayout.isFistCellExcluded = false
210-
XCTAssertEqual(defaultSlantedViewLayout.isFirstCellExcluded, false)
211-
defaultSlantedViewLayout.isFirstCellExcluded = true
212-
XCTAssertEqual(defaultSlantedViewLayout.isFistCellExcluded, true)
213-
defaultSlantedViewLayout.isFirstCellExcluded = false
214-
XCTAssertEqual(defaultSlantedViewLayout.isFistCellExcluded, false)
215-
}
216203
}

0 commit comments

Comments
 (0)