The ModMyTM Family of Sites:
ModMyMotoModMyiModMyGphone




 
 
Register or Connect with Facebook

Discuss AppStore Apps | Browse / Search Cydia | MMi Cydia Stats




  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > 3rd Party Apps For iPhone | iPod Touch > iPhone / iPod Touch SDK | Development Discussion
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 06-29-2008, 11:00 AM
aamodr's Avatar
Green Apple
 
Join Date: Nov 2007
Device + Firmware: iPhone 2.0
Operating System: OSX leopard
Location: Mumbai
Posts: 66
Thanks: 49
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  
Old 06-29-2008, 11:02 AM
Poseidon79's Avatar
Moderator
 
Join Date: Jan 2008
Device + Firmware: AT&T 3GS 3.0
Operating System: Snow Leopard / XP/Windows 7
Location: Austin, TX
Posts: 4,882
Thanks: 197
Thanked 879 Times in 621 Posts

Moved to development section
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #3  
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  
Old 06-29-2008, 11:17 PM
NetMage's Avatar
Developer
 
Join Date: Aug 2007
Device + Firmware: iPhone 2.2.0
Operating System: Windows XP / OS X
Location: Virginia
Posts: 1,231
Thanks: 45
Thanked 202 Times in 162 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.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #5  
Old 07-02-2008, 11:20 PM
What's Jailbreak?
 
Join Date: Jun 2008
Device + Firmware: iPhone 3.0
Operating System: Vista Business, OS X Leopard, XP
Location: TX/OK
Posts: 12
Thanks: 2
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  
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  
Old 07-17-2008, 08:58 AM
mtwiford's Avatar
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: 282
Thanks: 8
Thanked 41 Times in 32 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!!
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #8  
Old 07-17-2008, 07:27 PM
NetMage's Avatar
Developer
 
Join Date: Aug 2007
Device + Firmware: iPhone 2.2.0
Operating System: Windows XP / OS X
Location: Virginia
Posts: 1,231
Thanks: 45
Thanked 202 Times in 162 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.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #9  
Old 07-17-2008, 08:11 PM
mtwiford's Avatar
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: 282
Thanks: 8
Thanked 41 Times in 32 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?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #10  
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  
Old 07-19-2008, 03:35 PM
Green Apple
 
Join Date: Apr 2008
Device + Firmware: 2.1 jb
Operating System: imac
Location: Germany
Posts: 55
Thanks: 1
Thanked 10 Times in 9 Posts

is there a german one anywhere
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #12  
Old 07-20-2008, 05:25 AM
Green Apple
 
Join Date: Sep 2007
Posts: 60
Thanks: 0
Thanked 23 Times in 9 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  
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.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #14  
Old 07-22-2008, 11:30 PM
NetMage's Avatar
Developer
 
Join Date: Aug 2007
Device + Firmware: iPhone 2.2.0
Operating System: Windows XP / OS X
Location: Virginia
Posts: 1,231
Thanks: 45
Thanked 202 Times in 162 Posts

The toolchain works with Windows for 1.1.4 and less. It can be used for 2.0 but I think that is still hard to setup right now.

C++ isn't as important as the basics of C, then Objective-C's extensions. I only use Objective-C++ to pick up a few C-99 style and C++ style idioms I am used to (variable decleration everywhere, etc.). Mostly I stick to the Objective-C stuff.

Southside VA (halfway across the state )
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #15  
Old 08-23-2008, 05:43 PM
Green Apple
 
Join Date: Jun 2008
Device + Firmware: iPod 2.2.1 1st gen
Operating System: Too many computers to list
Location: SpyderRevolution headquaters
Posts: 44
Thanks: 2
Thanked 1 Time in 1 Post
Send a message via AIM to Hackin' Fool

Most of yall are on the right path with trying to learn C or cocoa or C++ first. I want to give you a warning not to try to start out on Obj-C. If you do you will end up giving up and never get a program written because you wont find a beginners guide to Obj-C. I started out on Java, then C++, then C just so it would be easier to learn Obj-C, then Obj-C.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
Reply

  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > 3rd Party Apps For iPhone | iPod Touch > iPhone / iPod Touch SDK | Development Discussion

Tags
cocoa programming

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Go to Top
ModMyI

All times are GMT -6. The time now is 05:19 AM. Powered by vBulletin® Version 3.8.4
If you need Dedicated Server Hosting, you should check out SingleHop. | Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 Copyright © 2007-09 by ModMy, LLC. All rights reserved.

iPhone News / iPhone Forums / Apple News / Apple Forums / RSS / Contact Us / / Top