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

write Masonry in lua #63

Closed
xxfenxx opened this issue Dec 25, 2015 · 1 comment
Closed

write Masonry in lua #63

xxfenxx opened this issue Dec 25, 2015 · 1 comment

Comments

@xxfenxx
Copy link

xxfenxx commented Dec 25, 2015

When I try to write a UIButton and layout with Masonry it does not work! Who can look up in my code, it happen to crash while running!

Here:

add a UIImageView to cell.contentView

--local weakSelf = self
button:masUNDERxLINEmakeConstraints(
toblock(

           function(make)
              make:left():masUNDERxLINEequalTo(self:contentView())
              make:top():masUNDERxLINEequalTo(self:contentView())
              make:right():masUNDERxLINEequalTo(self:contentView())
              make:height():masUNDERxLINEequalTo(50)

             end,{"void","id"}
          )
     )
@probablycorey
Copy link
Owner

You might get a better answer in https://github.com/alibaba/wax, they are now maintaining wax.

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