Before I learned about cocos2d, I wrote an app with UIKit. It has tableviews, sliders, scrollviews, navigation bars, etc. Now I want to add particles to one view of my app. I'm still pretty new to this, so I might be mixing concepts, if so, please tell me.
Originally I thought I'd add a cocos2d scene as an overlay, but scenes can't have transparent backgrounds (well, they can, but there were issues). So I added my background image to the scene as a sprite. Now I had the original view, with background, a button, and imageviews, and on top of it I have the cocos2d view with the same background and the particles. The particle animation runs for a while, and when it's done, I remove the cocos2d view and the original view is revealed.
Now I realize I also want the button to show up while the animation is running. At this point it seems I should just get rid of my original view and put everything into the cocos2d scene/layer/whereever you'd attach a UIButton in the cocos2d world. The rest of my app will use UIKit like before. I'm guessing that the UINavigationController will still handle the navigation, and before I switch to a different page/view/viewcontroller, I'll detach the director. When I switch back, I'll reattach it. It'll be like the director is taking the place of one of my UIViewControllers. Or is the director inside a UIViewController?
Is this the right way to go? Am I conceptualizing this correctly?