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

iPhone coding language?

08-08-2009, 10:05 PM
#1
Joined: Jul 2009
Posts: 616
iPhone coding language?

What is the iphone coding language? is it java? C? Any good explanations of the language?

Quote:
Originally Posted by zoo View Post
Something along the lines of "You have bought 10 hats! A new hat is available for purchase in the store". But no hat.

Edit: I realize I am overly concerned about this hat.
08-08-2009, 10:15 PM
#2
Joined: Jun 2009
Location: Stuck in Limbo
Posts: 332
Send a message via Yahoo to fluffyguitarist
Quote:
Originally Posted by mebeswordguy View Post
What is the iphone coding language? is it java? C? Any good explanations of the language?
it's C++

I play guitarhttp://www.youtube.com/user/fluffyguitarist
I'm a Professional Philosoraptor.
Games? Super Quick Hook and Trees of Doom pretty much own.

08-08-2009, 10:29 PM
#3
Joined: Mar 2009
Location: Singapore
Posts: 1,770
Send a message via AIM to kohjingyu
You could use C or C++, but the iPhone mainly uses Objective-C.
08-08-2009, 10:30 PM
#4
Joined: Jun 2009
Location: Stuck in Limbo
Posts: 332
Send a message via Yahoo to fluffyguitarist
it's mainly C++

I play guitarhttp://www.youtube.com/user/fluffyguitarist
I'm a Professional Philosoraptor.
Games? Super Quick Hook and Trees of Doom pretty much own.
08-08-2009, 10:34 PM
#5
Joined: Jul 2009
Posts: 616
Thank you. is there any good way to learn tis?

Quote:
Originally Posted by zoo View Post
Something along the lines of "You have bought 10 hats! A new hat is available for purchase in the store". But no hat.

Edit: I realize I am overly concerned about this hat.
08-08-2009, 10:37 PM
#6
Joined: Jun 2009
Location: Stuck in Limbo
Posts: 332
Send a message via Yahoo to fluffyguitarist
Quote:
Originally Posted by mebeswordguy View Post
Thank you. is there any good way to learn tis?
get a book. or better yet leave programming to the pros.. not to be a dick or anything.... that and you also need to be good at trig and calc. to do programming (at least for some projects)

I play guitarhttp://www.youtube.com/user/fluffyguitarist
I'm a Professional Philosoraptor.
Games? Super Quick Hook and Trees of Doom pretty much own.
08-09-2009, 01:53 AM
#7
Joined: Oct 2008
Location: Toronto Canada
Posts: 863
Quote:
Originally Posted by fluffyguitarist View Post
it's mainly C++
You can write an app using zero C++, so it's by no means "mainly C++"

The system APIs are Objective C and C. You can freely mix Objective C, C, and C++ for your own code.

Best way to learn is to download the SDK and read the documentation (IMHO).

SHREDD GO FAST! FREE!
Nozoku Rush Kick Math's Ass!
Critter Panic Break yer brain! FREE!
Silverfish & Silverfish MAX Hardcore arcade insanity!
Nozoku A casual game of math & logic.
More: cbox.me Twitter YouTube
08-09-2009, 07:34 AM
#8
Joined: Nov 2008
Location: Porto, Portugal
Posts: 118
Quote:
Originally Posted by mebeswordguy View Post
Thank you. is there any good way to learn tis?
You can use only Objective-C or you can mix it with C or C++ (which is probably the best way to go if you want to port it to other platforms later).
If you're going to be developing just for the iPhone (and/or Mac), you should probably start with Objective-C because it's easy to learn and it's an object-oriented language (you can get results faster than with a procedural language like C and it'll keep you motivated to try new things).
If you start with ObjC, you should get "Programming in Objective-C 2.0" because it's the best book out there. Later, you should get "Cocoa Programming for Mac OS X" in order to learn how to communicate with the Cocoa (and Cocoa Touch) API.
If you want to learn C (before or after you learn ObjC), I recommend "Learn C on the Mac".
You should also visit sites like iDevGames or iCodeBlog and follow this forum closely. Don't forget to download all the documentation and source code from Apple's Developer site. That'll teach you some interesting stuff.
If you're interested in making a 2D game, also check out Cocos2D.
Hope I helped

Game Designer/Programmer at JOYGLITCH

Last edited by henr1kk; 08-09-2009 at 07:44 AM.
08-09-2009, 07:56 AM
#9
Joined: Dec 2008
Location: California, USA
Posts: 2,143
Quote:
Originally Posted by fluffyguitarist View Post
get a book. or better yet leave programming to the pros.. not to be a dick or anything....
No, don't leave it to "the pros". Look at all the crap in the AppStore! What pros? We need more Pros, so learn this stuff and make something good...someday

Or you could try Unity which is what I'm using. You still need to code, but it's a lot easier depending on what kind of games you want to make.
08-09-2009, 08:50 AM
#10
Joined: Jun 2009
Location: Stuck in Limbo
Posts: 332
Send a message via Yahoo to fluffyguitarist
holy crap guys you are retarded. don't look at the shitty documentation in the SDK. get a book. i.e C++ for dummies. gosh.......

I play guitarhttp://www.youtube.com/user/fluffyguitarist
I'm a Professional Philosoraptor.
Games? Super Quick Hook and Trees of Doom pretty much own.