Hi, noob to OpenGL + Core Graphics here!
I understand the concepts behind normal cocoa programming, that is, the UIViews and the basics of CGLayers and such. I've started working on a game using OpenGL, using the EAGLView class in the GLPaint demo, which wraps CAEAGLLayer into an easy-for-me-to-understand UIView subclass. All is fine so far, but now I realize that I need a scroll view for my game.
From the docs it looks like what I'm looking for is CAScrollLayer, but I have no idea how I'm supposed to 'upgrade' the current EAGLView to use the CAScrollLayer.
Any guidance is appreciated!
I understand the concepts behind normal cocoa programming, that is, the UIViews and the basics of CGLayers and such. I've started working on a game using OpenGL, using the EAGLView class in the GLPaint demo, which wraps CAEAGLLayer into an easy-for-me-to-understand UIView subclass. All is fine so far, but now I realize that I need a scroll view for my game.
From the docs it looks like what I'm looking for is CAScrollLayer, but I have no idea how I'm supposed to 'upgrade' the current EAGLView to use the CAScrollLayer.
Any guidance is appreciated!