xcode v3: some explanation of the automated generated code - Printable Version
+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Game Programming Fundamentals (/forum-7.html)
+--- Thread: xcode v3: some explanation of the automated generated code (/thread-8212.html)
xcode v3: some explanation of the automated generated code - sefiroths - Oct 15, 2010 03:02 AM
i'm a newbie in iphone programming, i've experience in c, c++ programming and opengl.
i'd like to make games in iphone, so i have downloaded the latest version of xcode, and bought some books and seen video tutorial from:
(very great tut!)
however it seem a bit outdated, in fact when in the tut.1 explanes some function in particular for display, timing ecc...
in my xcode, the code generated automatically when i start a new project, is a bit different, and the changes made in my code (trying to copy what is in the tut.1) make the program not working.
even the number of files generated automatically are different.
my question is:
where i can find some newer tut that explains what is generated automatically and what to modify?
the newer program template is made with different functions from the old one...it is better to use this new functions?(mode stable?less filckering...?)
RE: xcode v3: some explanation of the automated generated code - MikeD - Oct 15, 2010 05:03 PM
Unfortunately the template has changed a lot since the tutorials were created. I've not seen any tutorials that cover the new template, but I will be posting some new tutorials soon.
I'm not going to be able to go over ALL the ground covered by the current tutorials, but will run through the new template.
RE: xcode v3: some explanation of the automated generated code - iamflimflam1 - Oct 16, 2010 08:12 AM
I went through the first set of NeHe tutorials and ported them to the new template and ES2.0 if that helps at all.
The place you want to start customising the stock xocde template to add more drawing is in the view controller. Have a look at:
If you don't care about supporting ES2.0 then you can change these lines in the awakeFromNib from this
to just this:
If you do that then you can run through the NeHe tutorials that have been ported to the iPhone ES1.0 here http://iphonedevelopment.blogspot.com/2009/05/opengl-es-from-ground-up-table-of.html
RE: xcode v3: some explanation of the automated generated code - sefiroths - Oct 20, 2010 05:28 AM
many thanks to all