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

Iphone sdk

10-28-2009, 09:04 PM
#1
Joined: Mar 2009
Posts: 818
Iphone sdk

Can I download it for free without registering? And are the basic tutorials apple provides any good? Just experimenting with stuff. I'm a super n00b so sorry if this sounds really stupid, but how do you compile code in C/C++ with objective C code? Do you need like a header file that apple provides or something? Thanks in advance
10-29-2009, 05:58 AM
#2
Joined: Aug 2009
Location: Dublin, Ireland
Posts: 46
To download the iPhone SDK from Apple you have to be a registered iPhone developer.

Apple's basic tutorials are fine if you already have a decent handle on Objective C/C++, but they're pretty limited in scope. If you're totally new to programming or even just Objective C/XCode, you'll have to get up to speed on that before Apple's iPhone resources will do you much good.

And to compile Objective C and C++ code together it's not really too complicated, the only trick I found is that you have to rename your Objective C .m files to .mm if you're including a C++ header.

-- DaVoid Digital --
Check out AstroSerf - Update now available!
>> For more information, mosey on over to AstroSerf.com
>> Follow AstroSerfGame on Twitter for the latest news!
10-29-2009, 07:59 AM
#3
Joined: Sep 2009
Location: UK / Toronto
Posts: 602
You have to register on the Apple developer website, but you don't need to pay the $99 fee to download the SDK - but you'll only be able to use the simulator.