Anyone making iPhone apps?

  • Thread starter Thread starter Sic
  • Start date Start date

Sic

Sic

Soldato
Joined
9 Nov 2004
Posts
15,365
Location
SO16
I've started watching the video tutorials, but I can't really get on with them. What languages do I need to be writing iPhone apps? Is it the same as OSX, using objective C, or is there something else? I read that the lower level libraries use C. Does anyone know of a decent resource for this? (Other than the apple developer centre?
 
Sup,

Well you got two choices: the unofficial toolchain based on gcc/llvm or the apple SDK.

What type of applications you wanting to write? Typically its Obj-C if your just doing basic applications. C/C++ can be used however.

The SDK is under an NDA at the moment by the way and is missing some low level libraries etc.. but you can do your typical application development fine.

You wont find that much info on the web about using the SDK for development (due to the NDA) outside of ADC.
 
Last edited:
Cheers.

I've been asked at work if I want to write an iPhone app using the SDK (and I really want to get away from the web and into client side stuff, so my answer was a big yes!). This will be my first non-web app, so I'm a bit of a spaz when it comes to this sort of thing! I found some stuff on Obj-C on Apple's website, but I think I'd benefit from a SAMS one or something like that as I'm under time constraints, if one exists.

I'm guessing that for a beginner, learning Obj-C is going to have a shallower learning curve over C/C++.
 
As Una said their is no external documentation because of the NDA, until thats lifted there are no books etc... However in terms of learning Cocoa programming, and Obj-C your best book would be Aaron Hillgass's book Cocoa Programming for Mac OS X (3rd Edition).
 
Cheers.

I've been asked at work if I want to write an iPhone app using the SDK (and I really want to get away from the web and into client side stuff, so my answer was a big yes!). This will be my first non-web app, so I'm a bit of a spaz when it comes to this sort of thing! I found some stuff on Obj-C on Apple's website, but I think I'd benefit from a SAMS one or something like that as I'm under time constraints, if one exists.

I'm guessing that for a beginner, learning Obj-C is going to have a shallower learning curve over C/C++.

Hmm well Obj-C is basically C with objects but its based on message passing between objects like smalltalk.. Learning curve would be pretty similar to learning C++ really. However, Obj-C is the right one to use really for interfacing with all the SDK libraries. You can do it in C/C++ (even ARM assembly haha) but its not ideal and most ADC examples are Obj-C.

I'm using the unofficial toolchain myself with C but doing low level stuff ;). So I only really know the basics of Obj-C myself.
 
Last edited:
oh great, I have about 2 weeks to get up-to-speed. 2 weeks of my own time, naturally! I wanted to learn C++ at some point anyway, so I guess this will be a good start!

I'd love to start doing Open GL as well, but I think you need to be maths-y for that :/
 
I'd be interested to know if you find any good resources on this Sic, as it's something I'm interested in getting into as well. I've done a fair bit of Windows Mobile stuff in the past (C++/C#) but I'm thinking that there should be some serious opportunities for iPhone applications given the new device specs.

As for OpenGL, I found the "Redbook" pretty easy to follow and I'm not particularly mathsy myself. The NeHe tutorials are also very good if you haven't already seen them.
 
Last edited:
well, I'd recommend that you stay the hell away from apple's documentation for objective-c - it's crazy-verbose and I really only wanted syntactic and peculiar stuff so I can get writing. Apple's documentation goes into the principles of OOP and I've already got a pretty good grounding therein.

just read this as I have no C experience - turns out it's fairly similar to PHP (syntactically, or vice versa), only seems to be more logically organised with the headers and whatnot. I like that.

Am now reading this as an intro to Obj-C and it's incredibly easy to follow, explains each like for those who aren't familiar with the syntax. It seems that the main difference between coding for OSX and coding for iPhone is that there's different libraries available. I'll cross that bridge when I come to it, though.

p.s., I love categories - that's such an awesome feature!
 
Back
Top Bottom