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

NSDictionary+JKSafeAccess.m, crash when key is nil #60

Open
ZYongjie opened this issue Dec 2, 2019 · 1 comment
Open

NSDictionary+JKSafeAccess.m, crash when key is nil #60

ZYongjie opened this issue Dec 2, 2019 · 1 comment

Comments

@ZYongjie
Copy link

ZYongjie commented Dec 2, 2019

Hello:
This method :-(void)jk_setObj:(id)i forKey:(NSString*)key.If key is nil, app will crash.

@shaojiankui
Copy link
Owner

forKey:key?:@""

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

2 participants