mRs- / HexColors

HexColors is an extension for UIColor and NSColor to support for creating colors from a hex strings
MIT License
457 stars 102 forks source link

Linking TapJoySDK causes +colorWithHexString: to always return nil #27

Closed cameronehrlich closed 8 years ago

cameronehrlich commented 8 years ago

I think they are swizzleing +colorWithHexString: internally or something. I don't think there is anything we can do in this repo to solve this except go yell at https://twitter.com/tapjoy.

The work around I found was to use +colorWithHexString:alpha:.

mRs- commented 8 years ago

In 3.0.0 of HexColors i will prefix the method calls with hx_colorWithHexString and the problem is solved then ;)

cameronehrlich commented 8 years ago

Nice! (TapJoy is awful!)

mRs- commented 8 years ago

At the meantime you can use this: https://github.com/mRs-/HexColors/pull/26

cameronehrlich commented 8 years ago

:+1:

mRs- commented 8 years ago

Just pushed version 3.0.0 to cocoapods, feel free to use it

cameronehrlich commented 8 years ago

You rock.