-
-
Save laevandus/6172332c61eeaa2bc566d3ea62b7555e 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
// Base collection is an Array | |
private var items = WrappedCollection<Item>([Item(…), Item(…)]) | |
// Base collection is an OtherCustomCollection type | |
func received(_ items: OtherCustomCollection<Item>) { | |
self.items = WrappedCollection(items) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment