Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
kyleve committed Jan 22, 2021
1 parent 211c3a4 commit 7a87e84
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions ListableUI/Sources/ContentLayoutsStorage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,14 @@
import Foundation


public protocol ContentLayouts {


}


///
/// Underlying storage used in `ItemLayouts`, `HeaderFooterLayouts`, and `SectionLayouts`.
/// See those types for more information.
///
struct ContentLayoutsStorage {

private var storage : [ObjectIdentifier:Any] = [:]

public init(
_ configure : (inout Self) -> () = { _ in }
) {
configure(&self)
}

func get<ValueType>(
_ valueType : ValueType.Type,
Expand Down

0 comments on commit 7a87e84

Please sign in to comment.