★ TouchArcade needs your help. Click here to support us on Patreon.

Future programmer?

08-26-2009, 10:40 PM
#1
Joined: Aug 2009
Location: The 3rd Rock From the Sun
Posts: 198
Future programmer?

Hi, this is my first post on TA. I'm considering learning how to program for the iPhone/iPod touch. Right now, the only thing I can program are simple games on my TI calculator and basic programs on the computer. What I really want to know is what programming language I should learn to code on the idevices, C or C++. Thanks.

Last edited by Michelangelo; 08-26-2009 at 11:18 PM.
08-26-2009, 11:00 PM
#2
You could have Googled for your answer in less time it took you to sign up here and post.

Quote:
Originally Posted by ultimo View Post
This is not Windows, this is Apple, dude

08-26-2009, 11:04 PM
#3
Joined: Aug 2009
Location: The 3rd Rock From the Sun
Posts: 198
Well, I was meaning to sign up for a while and needed an excuse
08-26-2009, 11:26 PM
#4
Joined: Feb 2009
Location: Minneapolis, MN
Posts: 122
The answer is that you can program games in either C or C++. But you'll need to know at least a smidgen of Objective-C, because that's what XCode uses/creates by default. (It's also pretty easy.) Go to apple.com/developer, and sign up there. Then start watching the tutorial videos. Best way to learn.

My games: ActionChess, Oppo-Citrus & Catchup
blog: http://chesstris.com/ twitter: livingtech GameCenter: grid
08-27-2009, 12:04 AM
#5
Joined: Dec 2008
Posts: 439
you need to have a mac to do iphone development. sign up here:

http://developer.apple.com/iphone/pr...tart/register/

then you can download the dev. kit.

Sample code:

http://developer.apple.com/iphone/li...ampleCode.html

Start off with the HelloWorld program. as grid said, watch tutorial videos on youtube...

video tutorials from Schenk Studios:

http://www.schenkstudios.com/Downloads.html
08-27-2009, 06:16 AM
#6
Joined: Aug 2009
Location: The 3rd Rock From the Sun
Posts: 198
Thanks for the info. I'll be taking a programing class next semester so I'll focus on those languages.
08-27-2009, 06:49 AM
#7
Joined: Dec 2008
Posts: 439
Quote:
Originally Posted by Michelangelo View Post
Thanks for the info. I'll be taking a programing class next semester so I'll focus on those languages.
Objective C is the best one to learn... as grid mentioned, it is the primary language for iphone programming. I'd say the next best is C++.... then C...
08-27-2009, 08:56 AM
#8
Joined: Mar 2009
Posts: 659
I hardly use any Objective C. I only use it if I need to use one of the built in classes.

I guess it makes life easier if you're just starting out. but also plain vanilla C is pretty easy to learn.
08-27-2009, 09:00 PM
#9
Joined: Aug 2009
Posts: 20
Don't wait to take a programming class, just jump in. If you can spring for the Apple developer fee, and $30-40 for an Objective C book, you'll be on your way.

And if you're serious, be prepared to learn a lot more than programming including game art creation, 3d modeling, and sound design and engineering. I think one of the big reason many of us love it so much is because there's never a lack of new things to learn. Good luck.
08-30-2009, 10:49 PM
#10
Joined: Mar 2009
Posts: 659
yeah the actual programming language is just the first step. The bulk of what you need to learn are the APIs like OpenGL and Cocoa Touch.