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

does it support stack view? apple recommends we use stack views as we can. #45

Closed
lastcc opened this issue Nov 10, 2015 · 3 comments
Closed

Comments

@lastcc
Copy link

lastcc commented Nov 10, 2015

What apple said in its wwdc was to use the stack view as one can. Although none of its example code uses it maybe in consideration for backward compatibility.

@matt-curtis
Copy link
Owner

Your question is confusing, but I believe issue #43 addresses your concerns, at least partially.

Fluid is not meant to act as a means to use, or model, iOS/OS X controls. It is simply a method for making the sizing and positioning of layers follow a constraint-based layout, in Sketch.

@lastcc
Copy link
Author

lastcc commented Nov 16, 2015

well constraints are raw constraints. and the new stack view introduced by apple is a new way to layout views on screen. It is not like a uiview in itself. It's more like a layout guide or a layout rectangle, whose sole purpose is to help make auto layout easier. we all know that when it comes to too many views, the constraints could be too many to adjust one since one constraint can affect many others. Use embedded stack views help reduce constraints needed thus make it much easier when u need to make changes in ui next time.

@matt-curtis
Copy link
Owner

I see. I haven't had a chance to use iOS 9's stack view yet, so I'm a little out of touch there. However, I do see the use a 'stack mode' or 'stacking behavior' would have, and I've been trying to figure out the best way to add something like this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants