Comments (6)
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.
Could you try cloning the repo and deleting the pod for now ? Same result ?
from chameleon.
@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.
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.
No prob. Hope you figure it out!
from chameleon.
@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)
- Tableview scrolling is clunky when I am applying the gradient colors to the views in my tableview cell.
- Navigation Bar Hairline won't hide with a searchController in Navigation Bar
- CIEDE2000 algorithm incorrect HOT 2
- Semantic Issue - Enumeration value 'kGCColorSpaceModelXYZ' not handled in switch : UIColor+ Chameleon.m
- NSInvalidArgumentException HOT 4
- Editor placeholder in source file HOT 4
- No support for latest version of swift. HOT 6
- No gradient with tableView editActionsForRowAt
- hidesNavigationBarHairline does not work on iPhone x/xr/xs/max
- Swift 5 supporting folk? HOT 8
- Getting Complementary colors (Analogous etc.) don't return the proper colors. HOT 1
- Function produces expected type 'UIColor'; did you mean to call it with '()'? HOT 13
- Xcode 11.1 issue HOT 10
- [Question] - Color Depth / Pixel Depth
- Am getting an error while using update carthage command
- Library not loaded
- Enumeration value 'kCGColorSpaceModelXYZ' not handled in switch
- Gradient starts giving rare hex values
- Building not working on Xcode 12
- Build fails with message "Function produces expected type 'UIColor()'; did you mean to call it with '()'?" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chameleon.