Skip to content

Commit

Permalink
Remove unused static caches
Browse files Browse the repository at this point in the history
  • Loading branch information
robmaceachern committed Dec 16, 2024
1 parent 59f8578 commit 04981a9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
3 changes: 0 additions & 3 deletions ListableUI/Sources/ListView/ListView+ContentSize.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ extension ListView
// MARK: Measuring Lists
//

static let headerFooterMeasurementCache = ReusableViewCache()
static let itemMeasurementCache = ReusableViewCache()

public static let defaultContentSizeItemLimit = 50

///
Expand Down
5 changes: 0 additions & 5 deletions ListableUI/Sources/ListView/ListView.Delegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@ extension ListView
unowned var presentationState : PresentationState!
unowned var layoutManager : LayoutManager!

private let itemMeasurementCache = ReusableViewCache()
private let headerFooterMeasurementCache = ReusableViewCache()

private let headerFooterViewCache = ReusableViewCache()

// MARK: UICollectionViewDelegate

func collectionView(_ collectionView: UICollectionView, shouldHighlightItemAt indexPath: IndexPath) -> Bool
Expand Down

0 comments on commit 04981a9

Please sign in to comment.