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

class cluster swizzling problems with addObject #92

Open
ksjogo opened this issue Aug 7, 2017 · 0 comments
Open

class cluster swizzling problems with addObject #92

ksjogo opened this issue Aug 7, 2017 · 0 comments

Comments

@ksjogo
Copy link
Member

ksjogo commented Aug 7, 2017

With upcoming iOS versions the swizzling of NSCFMutableArray's and NSCFMutableDictionary's addObject: fails, as the class clusters now also have __NSCFMutable* classes which will not respond to the swizzeled selectors as they were not added.
I only looked into the crashes for 5mins or so there might be more/other causes for it.
Add the method to the other classes could fix that.
In general we could (should?) look into a way to not swizzle the whole programs behaviour with added nils to arrays and only do so in a nu context?
Any ideas/pointers @timburks ?

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

1 participant