Giter VIP home page Giter VIP logo

Comments (3)

ondrejrohon avatar ondrejrohon commented on May 22, 2024 1

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.

For clarity, here is link to a gist: https://gist.github.com/JohnnyRuvac/51e644da3f3bd65dbda2

from snapkit.

ondrejrohon avatar ondrejrohon commented on May 22, 2024

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?

from snapkit.

robertjpayne avatar robertjpayne commented on May 22, 2024

@JohnnyRuvac can you post some sample code? Not really sure I follow what you're doing.

from snapkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.