This line of code:
[mymutabledict setObject:myclassobj forKey:myclassobj.myidstring];
Is giving this error:
*** -[NSCFString hash]: message sent to deallocated instance 0x3c14610
I put in a breakpoint on that line and I've checked and all 3 objects (mymutabledict, myclassobj, and myclassobj.myidstring) are correctly allocated and visible and correctly there in the debugger. What else could be causing this error? Could it be something to do with the object or keys I used to put previous items into the dictionary?
I've even checked and the key used does not match any of the previously entered keys.
For a little extra info: I'm loading objects from an SQL database to a mutable dictionary in memory. This code has all worked fine on several sets of sample data for weeks and just today this came up with one specific copy of the DB. Thanks!