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 NSDictionary instead of NSArray #1161

Closed
mvyrko opened this issue Feb 14, 2019 · 0 comments
Closed

Crash NSDictionary instead of NSArray #1161

mvyrko opened this issue Feb 14, 2019 · 0 comments
Labels
bug A defect in the library
Milestone

Comments

@mvyrko
Copy link
Contributor

mvyrko commented Feb 14, 2019

Bug Report

NSDictionary instead of NSArray, as result unrecognized selector sent to instance

Reproduction Steps

screen shot 2019-02-13 at 12 18 11

Expected Behavior

No crash

Observed Behavior

[NSDictionaryI firstObject]: unrecognized selector sent to instance

OS & Version Information
  • iOS Version: Any
  • SDL iOS Version: 6.1.0
Test Case, Sample Code, and / or Example App

NSMutableDictionary+Store.m line 40
} else if (array.count < 1 || [array.firstObject isMemberOfClass:classType]) {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A defect in the library
Projects
None yet
Development

No branches or pull requests

2 participants