Trying to use CCDICT_FOREACH. I’ve used it many times throughout my project but in this instance my dictElement is always null;
CCDictElement *dEl;
CCDICT_FOREACH(props, dEl);
{
//dEl == NULL in every situation
}
But during debug my props dictionary is not NULL, and i can even specifically grab elements from it. Why might this be happening?
Some background, the dictionary props is a value within another dictionary and being passed externally.