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

[BETA] Swift 1.2 compatiblity #76

Merged
merged 2 commits into from Apr 10, 2015
Merged

[BETA] Swift 1.2 compatiblity #76

merged 2 commits into from Apr 10, 2015

Conversation

robb
Copy link
Owner

@robb robb commented Feb 9, 2015

This branch is not intended to be merged until Swift 1.2 leaves beta

Fixes #9

@@ -44,7 +44,7 @@ class OperatorTests: XCTestCase {
var constraint: NSLayoutConstraint!

layout(view) { view in
constraint = view.width == (view.superview!.width + 100) * 2 + 5
constraint = view.width == (view.superview!.width + 100) * 2 + 5; return
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately, these give me an expression too complex error without the return statement.

@robb robb changed the title [WIP] Xcode 6.3 compatiblity [BETA] Swift 1.2 compatiblity Feb 9, 2015
@devxoul
Copy link
Contributor

devxoul commented Feb 10, 2015

Travis CI doesn't support new beta of Xcode yet?

@robb
Copy link
Owner Author

robb commented Feb 10, 2015

Most likely not

robb added 2 commits April 6, 2015 15:17
Fixed “Use of undeclared type ‘NSLayoutConstraint’ error.
@jamescmartinez
Copy link
Contributor

Hey @robb, Swift 1.2 is out of beta. Let me know if I can help in any way.

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.

Implicit returns in layout blocks
3 participants