void removeSpriteFramesFromDictionary(NSDictionary dictionary)
{
NSDictionary framesDict = dictionary.objectForKey<NSDictionary>("frames");
// List<string> keysToRemove = new List<string> ();
var enumerator = framesDict.GetEnumerator();
while (enumerator.MoveNext()) {
KeyValuePair<object, object> kv = enumerator.Current;
string frameDictKey = (string)kv.Key;
_spriteFrames.Remove(frameDictKey);
}
}
/** Removes unused sprite frames.