Adding a UIViewController to the SIO2 template
3 posters
Adding a UIViewController to the SIO2 template
I have added the viewControlleer .h and .m, with the EAGLView class added to this viewController. Then I have replaced the calls to the EAGLView class on the applicationDidFinishLaunching procedure on the templateAppDelegate by the calls to the EAGLView member of the new viewController class.
The code doesn't crash but doesn't draw nothing on the screen. Maybe it's a problem with the NIB file.
To sum up, does anybody knows how to add properly an UIViewController to the SIO2 template?
Thank you very much!
The code doesn't crash but doesn't draw nothing on the screen. Maybe it's a problem with the NIB file.
To sum up, does anybody knows how to add properly an UIViewController to the SIO2 template?
Thank you very much!
manuelmartinf- Posts : 14
Join date : 2009-09-13
Re: Adding a UIViewController to the SIO2 template
EAGLView is just a UIView subclass. You can put it in a UIWindow or add it as a subview of a UIViewControllers view. It's all the same.
uprise78- Posts : 228
Join date : 2008-10-31
Re: Adding a UIViewController to the SIO2 template
Hi, if you mean something like this:
http://iTunes.com/apps/ridengivelite
then look here:
https://sio2interactive.forumotion.net/sio2-engine-f3/integrating-sio2-with-obj-c-classes-t791.htm
--yarri
http://iTunes.com/apps/ridengivelite
then look here:
https://sio2interactive.forumotion.net/sio2-engine-f3/integrating-sio2-with-obj-c-classes-t791.htm
--yarri
yarri- Posts : 81
Join date : 2009-04-10
Similar topics
» Request: glut+SIO2 project template with SIO2 releases.
» GUIDE: Using sio2 sdk WITHOUT the template project
» SDK problems with new project and adding .sio2
» Adding SIO2 to an existing Xcode iPhone project
» release template.mm, .h
» GUIDE: Using sio2 sdk WITHOUT the template project
» SDK problems with new project and adding .sio2
» Adding SIO2 to an existing Xcode iPhone project
» release template.mm, .h
Permissions in this forum:
You cannot reply to topics in this forum