BrianDoig/MagicalRecord — comment on commit 32cf9d23363e137917b1ce89c5f85af336bc09e5
File:  line 0
By BrianDoig:

"chestDropRate" : [
{
"name" : "foo",
"sequence" : 0,
"value" : 0
}
]

works but

"chestDropRate" : {
"name" : "foo",
"sequence" : 0,
"value" : 0
}

throws an exception because it tries to iterate over the keys of a NSDictionary which returns NSStrings which then throw a selector not recognized.

On Feb 23, 2012, at 3:09 PM, Magical Panda Software wrote:

> Can you give me an example of how this crashes? I'd ideally like to make a test case for this, but I'm also curious since this hasn't crashed here for me in a while...
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/BrianDoig/MagicalRecord/commit/32cf9d23363e137917b1ce89c5f85af336bc09e5#commitcomment-1004870