Cocos2d iphone 如何在Spritebuilder中尽快开设店面?

Cocos2d iphone 如何在Spritebuilder中尽快开设店面?,cocos2d-iphone,spritebuilder,soomla,Cocos2d Iphone,Spritebuilder,Soomla,我有一个Spritebuilder项目,我想与Soomla应用内购买框架一起使用。在Spritebuilder中,我有一个带有store的按钮作为cccontrol的选择器。在Soomla文档中,打开storefront的代码如下: [[StorefrontController getInstance] openStoreWithParentViewController:self]; // 'self' is the calling UIViewController 通常在Xcode中,我将执

我有一个Spritebuilder项目,我想与Soomla应用内购买框架一起使用。在Spritebuilder中,我有一个带有store的按钮作为cccontrol的选择器。在Soomla文档中,打开storefront的代码如下:

[[StorefrontController getInstance] openStoreWithParentViewController:self]; // 'self' is the calling UIViewController
通常在Xcode中,我将执行以下操作:

- (void)store {
CCScene *storeAssets = [CCBReader loadAsScene:@"StoreAssets"];
[[CCDirector sharedDirector]replaceScene:storeAssets];
}
在这种情况下,由于Spritebuilder不使用UIViewController,如何将Soomla代码集成到Spritebuilder中

- (void)store {
//Soomla code
}

ccdirector是cocos2dStorefront的uiviewcontroller,它是SOOMLA的旧产品,不再受支持。我们将向社区开放源代码。