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

TZStackViewAlignment compatibility and better iOS 7 support #63

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

andi357
Copy link

@andi357 andi357 commented Nov 30, 2015

This PR is a fork of PR #60 opened bei @fbartho. It adds compatibility between TZStackViewAlignment and UIStackViewAlignment so you can easily convert those values in environments where you want to use TZStackView only if UIStackView is not available (< iOS 9.0).

In contrast to #60 this PR fixes the iOS 7 support instead of removing it. Although some features are not available on iOS 7 (like layoutMarginsRelativeArrangement or FirstBaseline alignment) there is no need to completely remove its support.

@toto
Copy link

toto commented Nov 30, 2015

\o/

@fbartho
Copy link

fbartho commented Nov 30, 2015

I support this PR! -- Have not run it yet.

Minor documentation suggestion: the README.md was originally written differently, I suggest making this change to restore the clarity that this library is explicitly good for iOS 8:

-- ✅ Compatible with **iOS 7.x** or later
+- ✅ Compatible with **iOS 7.x** and **iOS 8.x** or later

Users might not choose a library targeting iOS 7 directly, if they're only trying to support 8 & 9. (It might not be clear if it's relying on deprecated functionality to continue working. -- Because of swift, it isn't!)

@CosynPa
Copy link

CosynPa commented Dec 1, 2015

iOS 7 support is already done by me in PR #59

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

Successfully merging this pull request may close these issues.

4 participants