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

-[MASConstraint and] prevents compilation under Xcode 6 Beta 3 #85

Closed
kreeger opened this issue Jul 9, 2014 · 3 comments
Closed

-[MASConstraint and] prevents compilation under Xcode 6 Beta 3 #85

kreeger opened this issue Jul 9, 2014 · 3 comments

Comments

@kreeger
Copy link

kreeger commented Jul 9, 2014

- (MASConstraint *)and;

When compiling my Swift project with this project included in my bridging header, I get a compilation error due to this line above. The error is as follows:

<unknown>:0: error:
    /path/to/Pods/Headers/Masonry/MASConstraint.h:113:
    expected selector for Objective-C method

When I comment out the line, compilation proceeds quite happily.

This is based off of head, latest commit being bec7297 (so this includes the fix from #84). Am I doing something wrong, or missing something?

@kreeger
Copy link
Author

kreeger commented Jul 9, 2014

Actually, I'll go ahead and close this as it looks like there's some cool stuff planned / being worked on for Swift and Masonry (#75). I may see if I can pitch in a little there at some point!

@kreeger kreeger closed this as completed Jul 9, 2014
@cloudkite
Copy link
Contributor

@kreeger if you are interested in trying a Swift Autolayout DSL based on operator overloading there are two very promising options:
https://github.com/nickynick/Tails and https://github.com/robb/Cartography

It is also planned (in hopefully not too distant future) to get a swift port of Masonry going see https://github.com/Masonry/Snappy. Suggestions/ideas/contributions are most welcome as always

@kreeger
Copy link
Author

kreeger commented Jul 9, 2014

@cloudkite thanks so much for the heads-up!

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