-
Notifications
You must be signed in to change notification settings - Fork 191
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 Support for UIStackView for >iOS7, even on storyboards Issue #2 #60
Conversation
Okay check now @oarrabi @garnett , i ammended latest commit |
I've seen this functionality in another implementation of stackView and it is definitely handy, but inline assembler scares me a little bit. |
@garnett actually without asm it also works fine, i removed unnecessary code and added sentinel if someone would like to turn of replacing class in <iOS9. |
Any progress with that ? |
@m1entus hey, sorry for the super late reply, I will be working on this on the weekend, thanks for the great addition :) |
Any progress ? |
... |
Hello @m1entus, I am extremely sorry for the delay, will check this on the weekends. Sorry for the inconvenience 😞 |
@m1entus could you please rebase your work on current head? Sorry for returning so late |
Done |
@m1entus looking at your PR and it is really awesome! Another thing I see is that there is a plenty of constraint errors in the log (maybe it is the reason I see different behaviour of |
OAStackViewPatchEntry is static constructor, it is called automatically. Probably a683019 this commit change some storybooad constraint, thats why there are errors on setup. Could you just cherrypick OAStackView.h file, and apply it? It doesn't break anything in library, only replace UIStackView symbol in <=iOS8, and would be useful. |
@m1entus I've already fixed constraints now everything looks pretty fine. I realised that there is no point to compare stackview in both tabs, because their "default" setup is different - one is built as UIStackView in IB and another is just a set of views added to superview, so it is not bothering me anymore. |
Cool thanks 👍 |
No description provided.