You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure If I just made mistake in integration of Snap in my project, but I get this error when I try to create property of type constraint in one of my classes.
I use snap on other places and it works well, but now I need to reference particular constraint. Any ideas what might be wrong?
I followed instructions for integrating snap in read me of this repository.
Thanks for help.
The text was updated successfully, but these errors were encountered:
I tried one more thing, but unfortunately still have the same issue.
I removed Snap as submodule, and tried adding it with pre-release version of Cocoapods instead.
Does referencing constraints work for you? Or have I made some mistake adding Snap to my project?
Hi, I found what was the problem. I forgot to import Snap in class where I wanted to use it.
Actually, I didn't know that you have to import it. Maybe it might be nice to mention it in read me somewhere? Because I thought that using swift, you don't have to import manually, everything is already there. This is clearly exception, because it is external framework? It is also a bit weird for me, that snp_makeConstraints was working on UIView without importing snap.
Hey guys,
I'm not sure If I just made mistake in integration of Snap in my project, but I get this error when I try to create property of type constraint in one of my classes.
I use snap on other places and it works well, but now I need to reference particular constraint. Any ideas what might be wrong?
I followed instructions for integrating snap in read me of this repository.
Thanks for help.
The text was updated successfully, but these errors were encountered: