Git Product home page Git Product logo

Comments (5)

jamieomatthews avatar jamieomatthews commented on August 16, 2024

Check your installation. Did you install through Cocoapods, or copy the
files? What happends when you command-click on [UIColor carrotColor],
where does it take you?

On Tue, Apr 21, 2015 at 1:48 PM, Hatom1K [email protected] wrote:

I use FUIButton without IB so i make that in my .m:

self.boutton_commencer.buttonColor = [UIColor carrotColor];
self.boutton_commencer.shadowColor = [UIColor alizarinColor];
self.boutton_commencer.shadowHeight = 3.0f;
self.boutton_commencer.cornerRadius = 6.0f;
self.boutton_commencer.titleLabel.font = [UIFont boldFlatFontOfSize:16];
[self.boutton_commencer setTitleColor:[UIColor cloudsColor] forState:UIControlStateNormal];
[self.boutton_commencer setTitleColor:[UIColor cloudsColor] forState:UIControlStateHighlighted];

And i my .h i set that:

@Property https://github.com/property (strong, nonatomic) FUIButton
*boutton_commencer;

But when i test this code i get this error:

2015-04-21 19:41:10.833 WeProov[85487:6502034] *** Terminating app due to
uncaught exception 'NSInvalidArgumentException', reason: '+[UIColor
carrotColor]: unrecognized selector sent to class 0x3bc00c8'

Thanks you !


Reply to this email directly or view it on GitHub
#180.

from flatuikit.

Hatom1K avatar Hatom1K commented on August 16, 2024

When i CMD+Click on that i go to Pod folder (Pod/FlatUIKit/UIColor+FlatUI.m) et i show that:

  • (UIColor *) carrotColor {
    static UIColor *carrot = nil;
    static dispatch_once_t carrotToken;

    dispatch_once(&carrotToken, ^{
    carrot = [UIColor colorFromHexCode:@"E67E22"];
    });

    return carrot;
    }

from flatuikit.

jamieomatthews avatar jamieomatthews commented on August 16, 2024

you might try re-installing the pod. It seems like the file is being seen
at compile time, but not runtime

On Tue, Apr 21, 2015 at 2:00 PM, Hatom1K [email protected] wrote:

When i CMD+Click on that i go to Pod folder
(Pod/FlatUIKit/UIColor+FlatUI.m) et i show that:

(UIColor *) carrotColor {
static UIColor *carrot = nil;
static dispatch_once_t carrotToken;

dispatch_once(&carrotToken, ^{
carrot = [UIColor colorFromHexCode:@"E67E22"];
});

return carrot;
}


Reply to this email directly or view it on GitHub
#180 (comment).

from flatuikit.

Hatom1K avatar Hatom1K commented on August 16, 2024

so i remove line "pod 'FlatUIKit'", I type: pod install and I re-add pod "'FlatUIKit'" ?

from flatuikit.

Hatom1K avatar Hatom1K commented on August 16, 2024

No, I have the same issue ..

from flatuikit.

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.