Skip to content

Commit

Permalink
bump podspec
Browse files Browse the repository at this point in the history
  • Loading branch information
pavankataria committed Aug 29, 2019
1 parent 8fe3a91 commit 3f6f0bd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion SwiftDataTables.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'SwiftDataTables'
s.version = '0.8.0'
s.version = '0.8.1'
s.summary = 'A Swift Data Table package that allows ordering, searching, and paging with extensible options.'
s.swift_version = '5.0'

Expand Down
8 changes: 4 additions & 4 deletions SwiftDataTables/Classes/SwiftDataTableLayout.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ class SwiftDataTableLayout: UICollectionViewFlowLayout {
// self.collectionView?.isPrefetchingEnabled = false;
}

override var flipsHorizontallyInOppositeLayoutDirection: Bool {
return dataTable.shouldSupportRightToLeftInterfaceDirection() ? UIApplication.shared.userInterfaceLayoutDirection == .rightToLeft : false
}

required init?(coder aDecoder: NSCoder) {
fatalError("init(coder:) has not been implemented")
}
Expand Down Expand Up @@ -178,6 +174,10 @@ class SwiftDataTableLayout: UICollectionViewFlowLayout {
override func shouldInvalidateLayout(forBoundsChange newBounds: CGRect) -> Bool {
return true
}

override var flipsHorizontallyInOppositeLayoutDirection: Bool {
return dataTable.shouldSupportRightToLeftInterfaceDirection() ? UIApplication.shared.userInterfaceLayoutDirection == .rightToLeft : false
}
}

//MARK: - Layout Attributes For Elements And Supplmentary Views
Expand Down

0 comments on commit 3f6f0bd

Please sign in to comment.