Skip to content

repeat each for TupleView #49

@CleverLemming1337

Description

@CleverLemming1337

Hi!

I just found this library and while browsing the documentation I saw that TupleView has a separate implementation for each number of children up to 10.

Since Swift 5.9, there's the Type Parameter Packs feature that supports implementation for any number of children.

I don't exactly know how TupleView is implemented but maybe it would be useful to use Type Parameter Packs for TupleView? (Then the minimum Swift version would be 5.9 instead of 5.6)

Another question: What happens if there are more than 10 children of a view?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions