Coder Social home page Coder Social logo

Comments (6)

fbara avatar fbara commented on August 15, 2024

After commenting out the code above, I started getting many more errors. These are all on every use of Chameleon in my project. It appears I'm getting the same Unrecognized selector error every time I use a color (such as flatBlack) or call any Chameleon function.

This is all Obj-C and Xcode 7.0.1.

from chameleon.

bre7 avatar bre7 commented on August 15, 2024

Could you try cloning the repo and deleting the pod for now ? Same result ?

from chameleon.

vicc avatar vicc commented on August 15, 2024

@fbara What Cocoapods version are you using? Second, are you using this within an extension? Also are you performing some sort of animations while this is happening?

from chameleon.

fbara avatar fbara commented on August 15, 2024

I closed this without leaving the correct comment. It appears the problem is with my code. I was able to clone the repo and use it in another project and it worked fine. I also updated the Chameleon pod on a different project and that worked fine, too. I'm going to close this issue. Thanks @bre7 and @ViccAlexander for your help.

from chameleon.

vicc avatar vicc commented on August 15, 2024

No prob. Hope you figure it out!

from chameleon.

fbara avatar fbara commented on August 15, 2024

@ViccAlexander, thx. While I have you here, I think it's weird that the error appears to be referencing your internal code because it's saying 'NSInvalidArgumentException', reason: '+[UIColor flatNavyBlueColor]: unrecognized selector sent to class. For reference, I removed the pod, cloned the repo, and added the Chameleon folder (which only contains the Chameleon.h file and Info.plist) to my project. I can successfully import the file to my classes and I can ⌘-click the colors and functions to bring me to your source class. I think it's all wired correctly and Xcode has access to all the files it needs. The error references your class method, and it happens with every reference I have to anything Chameleon, and I don't receive any errors when I build the project. I only get these errors when I try to run. I'm really confused.

from chameleon.

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.