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

Height constraint is nil if using xib or storyboard. #108

Open
NikKovIos opened this issue Feb 12, 2019 · 1 comment
Open

Height constraint is nil if using xib or storyboard. #108

NikKovIos opened this issue Feb 12, 2019 · 1 comment

Comments

@NikKovIos
Copy link
Contributor

Hi there))

view.heightConstraint?.constant == 0

is not usable, because it is nil if i set it in storyboard of xib file.

@s4cha
Copy link
Member

s4cha commented Apr 9, 2019

Hey @NikKovIos, good to hear from you!
I thought this was fixed :/
This reminds me of #90 and the fix was https://github.com/freshOS/Stevia/pull/97/files
Can you debug / print the constraints generated by the xib/storyboard file?

PS Sorry for taking so long to reply 🙏
(I've been doing a lot of Kotlin lately, spying on our enemies xD)

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