Skip to content

Instantly share code, notes, and snippets.

@twof
Created June 30, 2020 03:58
Show Gist options
  • Save twof/afe668966087d31f8d966fcee854e7fc to your computer and use it in GitHub Desktop.
Save twof/afe668966087d31f8d966fcee854e7fc to your computer and use it in GitHub Desktop.
extension Binding where Value == Array<Track> {
var boundItems: Array<Binding<Track>> {
return (0..<wrappedValue.count).map { projectedValue[$0] }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment