Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to cascade elements programmatically #21

Open
MaherKSantina opened this issue Jan 6, 2019 · 0 comments
Open

Add ability to cascade elements programmatically #21

MaherKSantina opened this issue Jan 6, 2019 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@MaherKSantina
Copy link
Owner

It would be nice to have operators to cascade elements vertically and horizontally.
For example, if I have 2 views View1 and View2, and I want to place them below each other in a reusable view, I can do something like this:

let view = VerticalCascading(View1() + View2())

or

let view = VerticalCascading(View1() + .spacer(size: 20) + View2())
@MaherKSantina MaherKSantina added the help wanted Extra attention is needed label Jan 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant