[go: up one dir, main page]

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

heightconstraint nil #120

Open
GoldenJoe opened this issue Jul 12, 2019 · 2 comments
Open

heightconstraint nil #120

GoldenJoe opened this issue Jul 12, 2019 · 2 comments

Comments

@GoldenJoe
Copy link

I would expect this to return the appropriate constraints.

myView.Height == theirView.Height
myView.Width == theirView.Width

let h = myView.heightConstraint // nil
let w = myView.widthConstraint // nil
@s4cha
Copy link
Member
s4cha commented Oct 30, 2019

@GoldenJoe I tried to reproduce the issue with no luck.

In the sample project, I tried:

myView.Height == email.Height
myView.Width == email.Width
        
print("myView.widthConstraint \(myView.widthConstraint)")
print("myView.heightConstraint \(myView.heightConstraint)")

Which yields non null constraints.

Could you provide more code so that I can reproduce on my side?

PS: please excuse the oh so late reply xD

@s4cha
Copy link
Member
s4cha commented Mar 30, 2020

@GoldenJoe As said in my previous message I wasn't able to reproduce this behaviour. Would you mind making a small test project demonstrating the issue ?

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