Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash in iOS8. [__NSCFType CGColor]: unrecognized selector #22

Closed
pranavt opened this issue Jun 5, 2014 · 6 comments
Closed

Crash in iOS8. [__NSCFType CGColor]: unrecognized selector #22

pranavt opened this issue Jun 5, 2014 · 6 comments

Comments

@pranavt
Copy link

pranavt commented Jun 5, 2014

I seem to have an app which is crashing with ASValueTrackingSlider. Setting the class of the slider to UISlider, it runs fine.

This is the error given during runtime:

"-[__NSCFType CGColor]: unrecognized selector sent to instance 0x12345678"

The instance is just a sample, that hex value changes every time.

Help?

@yumsmools
Copy link

Hi there,

Yep, I'm getting the same issue. It works in the simulator, but not on the device.

Help, please

@alskipp
Copy link
Owner

alskipp commented Jun 6, 2014

Hi folks,
I'll take a look at this during the weekend. It sounds like it's probably a memory issue. This is beta 1 here so who knows what issues may arise?

It could be a bug that is present but from blind luck doesn't cause a crash on iOS7. There may have been a change of API which is causing the problem. Or, there might be a bug in beta 1 of iOS 8 - in which case there's not a lot I can do.

As I said, I'll investigate and see what turns up. Watch this space.

Al

@alskipp
Copy link
Owner

alskipp commented Jun 7, 2014

Please take a look at this feature branch to see if it fixes the crashes that you're experiencing:
https://github.com/alskipp/ASValueTrackingSlider/tree/iOS8_beta

Cheers,
Al

@yumsmools
Copy link

Yep, works like a dream.

Thanks

@andrewwilliams
Copy link

Works perfectly, thanks so much!

Andrew

@alskipp
Copy link
Owner

alskipp commented Jun 10, 2014

Hi folks, thanks for confirming the fix. It's now merged into master f5774c7

Al

@alskipp alskipp closed this as completed Jun 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants