Created
May 29, 2020 20:46
-
-
Save pitt500/41508dc8a5173234eda5dcc15c4a5ec6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public init (items: [Item], offset: Int = 5, | |
pagination: @escaping (_ completion: (() -> Void)?) -> Void, | |
@ViewBuilder content: @escaping (_ item: Item) -> Content) { | |
self.items = items | |
self.content = content | |
self.pagination = pagination | |
self.offset = offset | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment