Stevia icon indicating copy to clipboard operation
Stevia copied to clipboard

heightconstraint nil

Open GoldenJoe opened this issue 6 years ago • 2 comments

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

GoldenJoe avatar Jul 12 '19 04:07 GoldenJoe

@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 avatar Oct 30 '19 10:10 s4cha

@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 ?

s4cha avatar Mar 30 '20 09:03 s4cha