ModMyMotoModMyiModMyGphone





Unlocked iPhones


  Apple Forums | ModMyi.com | iPhone, iPod, Mac, OS X, Mods, More > 3rd Party Apps For iPhone | iPod Touch > iPhone / iPod Touch SDK | Development Discussion
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-29-2008, 11:00 AM
Green Apple
 
Join Date: Nov 2007
Device + Firmware: iPhone 2.0
Operating System: OSX leopard
Location: Mumbai
Posts: 48
Thanks: 39
Thanked 3 Times in 2 Posts
modding for beginners

Could some one please tell me which language am i to learn to start writing programs for the iPhone or mac
i mean from the start like i am in kindergarten.....
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #2 (permalink)  
Old 06-29-2008, 11:02 AM
Poseidon79's Avatar
Moderator
 
Join Date: Jan 2008
Device + Firmware: AT&T 2.1 Quickpwnd
Operating System: Leopard / XP
Location: Austin, TX
Posts: 2,521
Thanks: 94
Thanked 478 Times in 325 Posts

Moved to development section
__________________
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #3 (permalink)  
Old 06-29-2008, 05:17 PM
What's Jailbreak?
 
Join Date: Jun 2008
Device + Firmware: iPod Touch 16GB 1.1.4
Operating System: Vista
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts

The language to learn is Objective C. I'm in the process of learning it myself. If you already know C or C++, Objective C is backwards compatible (I think). If you're just beginning programming, I guess look for an Objective C tutorial. Or C, or C++, because they're good to know too.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #4 (permalink)  
Old 06-29-2008, 11:17 PM
NetMage's Avatar
Developer
 
Join Date: Aug 2007
Device + Firmware: iPhone 1.1.3
Operating System: Windows XP / OS X
Location: Virginia
Posts: 1,144
Thanks: 40
Thanked 187 Times in 151 Posts

Not sure what you mean by backwards compatible.

Objective-C is a superset of C with additional object-oriented features. Objective-C++ is a similar extension of C++, but it has two not too compatible object-oriented extensions.

I suggest reading the stickies and getting some Cocoa books.
__________________
Starlight Computer Wizardry
Pocket-sized Development
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #5 (permalink)  
Old 07-02-2008, 11:20 PM
What's Jailbreak?
 
Join Date: Jun 2008
Device + Firmware: iPhone 1.1.4
Operating System: Vista Business, OS X Leopard, XP
Location: TX/OK
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts

I'm in the same boat. I've been reading through all the apple docs in the SDK and on the site, but there isn't much on the actual code, they're basically explaining like you already know objective-c or the variations.

Are there any good books on objective-c? I know java, VB, and cobol (lol yea cobol, which i'll never use) right now...
__________________
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #6 (permalink)  
Old 07-08-2008, 10:35 AM
Farani's Avatar
Green Apple
 
Join Date: Jul 2007
Posts: 54
Thanks: 8
Thanked 2 Times in 2 Posts

There are two good books for mac programming... programming for the iphone is just an extension of that. I'm in the process of learning to program for the mac myself... I have a C++ background so I'm still learning the syntactical and logical differences between it and Objective-C. I've also only been on a mac for about a year so I'm learning XCode, too. Anywho...

"Programming in Objective-C" Stephen G. Kochan
There is going to be a "Programming in Objective-C 2.0" Comming out soon...

"Cocoa Programming for Mac OS X" THIRD EDITION by Aaron Hillegass.

There is going to be a specific book out by Erica Sadun on actually using the SDK to build iphone apps but it won't be out until October and she can't even talk about the book because of the NDA right now. But until then, those 2 books, and then reading through the frameworks are your best bet. Hope that helps!

Last edited by Farani; 07-08-2008 at 12:04 PM.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following User Says Thank You to Farani For This Useful Post:
midgetadam (07-20-2008)
  #7 (permalink)  
Old 07-17-2008, 08:58 AM
iPhone? More like MyPhone
 
Join Date: Sep 2007
Device + Firmware: iPhone 3G 16gb + 2.0.2 Jailbroken
Operating System: OSX Leopard 10.5.4
Posts: 246
Thanks: 5
Thanked 37 Times in 28 Posts

+1 I have a real interest in programming and have done some minor programming, mainly on the web though. If you find any good sources let me know. I think I bought the book that Farani is talking about; "Cocoa Programming for Mac OS X" but I think it also assumes that you have experience with C++. Any help would be great guys..........someone take me under your wing!!
__________________
___________________________________________

Press the "Thanks" button if I helped you...or you are the guy in the red shirt
Click the image to open in full size.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #8 (permalink)  
Old 07-17-2008, 07:27 PM
NetMage's Avatar
Developer
 
Join Date: Aug 2007
Device + Firmware: iPhone 1.1.3
Operating System: Windows XP / OS X
Location: Virginia
Posts: 1,144
Thanks: 40
Thanked 187 Times in 151 Posts

Post specific questions and we can try to answer...

There is also the jailbreak application book from O'Reilly - I haven't read my copy yet but it may prove helpful for beginners.
__________________
Starlight Computer Wizardry
Pocket-sized Development
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #9 (permalink)  
Old 07-17-2008, 08:11 PM
iPhone? More like MyPhone
 
Join Date: Sep 2007
Device + Firmware: iPhone 3G 16gb + 2.0.2 Jailbroken
Operating System: OSX Leopard 10.5.4
Posts: 246
Thanks: 5
Thanked 37 Times in 28 Posts

hey where are you in VA? I am in va beach area. I just want to learn to program mac apps. Thats pretty much it. I guess I should start with learning C++, then cocoa?
__________________
___________________________________________

Press the "Thanks" button if I helped you...or you are the guy in the red shirt
Click the image to open in full size.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #10 (permalink)  
Old 07-19-2008, 08:24 AM
What's Jailbreak?
 
Join Date: Jan 2008
Posts: 2
Thanks: 2
Thanked 1 Time in 1 Post

Quote:
Originally Posted by mtwiford View Post
hey where are you in VA? I am in va beach area. I just want to learn to program mac apps. Thats pretty much it. I guess I should start with learning C++, then cocoa?
I'm in the same boat as you. Wanting to write apps for the iPhone but needing a starting point.

From reading different posts on forums regarding Cocoa etc. I think starting to learn C is the best thing to do. I don't know the differences between C and C++ but I think C it the way to go.

Once you've learnt the basics of C, you can then move onto Cocoa....

I have read a great tutorial called "C is for Cocoa"... (click here)... This should get you going!

Chris
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #11 (permalink)  
Old 07-19-2008, 03:35 PM
Green Apple
 
Join Date: Apr 2008
Device + Firmware: 2.1 jb
Operating System: imac
Location: Germany
Posts: 38
Thanks: 1
Thanked 7 Times in 6 Posts

is there a german one anywhere
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #12 (permalink)  
Old 07-20-2008, 05:25 AM
Green Apple
 
Join Date: Sep 2007
Posts: 42
Thanks: 0
Thanked 20 Times in 6 Posts

I guess it also depends on how much (other) programming you've done in the past too.

I'd recommend starting on this website: Cocoa Dev Central

Read through all the tutorials to get an understanding. It'll help to re-visit these tutorials about once a week as they'll make more sense and you'll pick up things you missed.

Next, you should signup to the iPhone developer program (it's free) and download the SDK (Mac only):
iPhone Dev Center

From here you can download sample code to achieve 90% of the things you'll need in an application.

Follow the "Creating an iPhone Application" getting started document - This is a detailed guide to creating a basic "Hello World" example.

Finally, once you have the SDK installed and you've started using Xcode just click "Help -> Documentation" and from here you can search all of the iPhone APIs etc.

Basically, get comfortable with object-C, Cocoa and then play with the sample code.

If you like learning from books then the best one at the moment would probably be:
Cocoa Programming for Mac OS X, Third Edition
by Aaron Hillegass
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #13 (permalink)  
Old 07-22-2008, 08:44 PM
Green Apple
 
Join Date: May 2008
Device + Firmware: iPod Touch 2.0
Operating System: XP v1
Location: Macedon NY
Posts: 31
Thanks: 0
Thanked 2 Times in 2 Posts

i wish i had a mac.