Hello Guys:
I can’t use NSMutableSet obj-c class in cocos2dx. Here is my code:
void cocos2d::CCAppStoreManager::requestProductWithProductIdentifiers(CCSet* productIdentifiers)
{
NSMutableSet * set = [[NSMutableSet alloc] init];
}
And in this file I include “CCSet.h”. I got a error “error: Semantic Issue: Receiver type ‘NSMutableSet’ (aka ‘cocos2d::CCSet’) is not an Objective-C class
”. In the CCSet.h file, I found this line “typedef CCSet NSMutableSet;”. Is it the reason ? How to use obj-c class NSMutableSet and CCSet in one class or file? Thanks
Bests,
zhang