Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Nov 9, 2009, 08:00 AM   #1
kAoTiX
macrumors 6502
 
Join Date: Oct 2008
Location: Midlands, UK
Windows Programmer looking to code for iPhone. Where to start?

I am a windows programmer of 7 years and are looking to start programming for iPhone/iPod. Basically, I have no idea where to start...well, I sort of do but would like some pointers.

I know I need a mac (! I bought a PPC mac mini how stupid.)
Will be getting an Intel based Mac in the coming weeks.

Where do I go from here? I currently program in C++/Delphi and do web programming for PHP/MySQL so learning a new syntax/language isn't a problem but I know I'm going to be reading a fair few books first.

Any help would be greatly appreciated.

Thanks
__________________
Contact me for iPad/iPhone/iPod parts & repairs in the UK (West Midlands)
Google Nexus One iPhone 4 32GB Black Macbook Pro 17" 500GB HDD & 2GB RAM
kAoTiX is offline   0 Reply With Quote
Old Nov 9, 2009, 08:02 AM   #2
robbieduncan
Moderator
 
robbieduncan's Avatar
 
Join Date: Jul 2002
Location: London
Learn plain-old basic C. Ensure you understand pointers well. Then learn Objective-C. Both of these can be done using web-based resources only (edit by this I don't mean you must do it online, rather that you can do it without buying any books).
robbieduncan is offline   0 Reply With Quote
Old Nov 9, 2009, 08:05 AM   #3
kAoTiX
Thread Starter
macrumors 6502
 
Join Date: Oct 2008
Location: Midlands, UK
*forum lurker alert*

that was a fast response!
I'll be sure to check that out. I do have some understanding of plain old C and read some things about objective C but never anything practical. Can you recommend any online resources or books/ebooks to get me started?
__________________
Contact me for iPad/iPhone/iPod parts & repairs in the UK (West Midlands)
Google Nexus One iPhone 4 32GB Black Macbook Pro 17" 500GB HDD & 2GB RAM
kAoTiX is offline   0 Reply With Quote
Old Nov 9, 2009, 08:09 AM   #4
robbieduncan
Moderator
 
robbieduncan's Avatar
 
Join Date: Jul 2002
Location: London
Apples' own developer site has this large and comprehensive document.
robbieduncan is offline   0 Reply With Quote
Old Nov 9, 2009, 08:14 AM   #5
kAoTiX
Thread Starter
macrumors 6502
 
Join Date: Oct 2008
Location: Midlands, UK
Thanks for the information yet again.
I'm excited now to see what I can do!

*waits for mac mini*
__________________
Contact me for iPad/iPhone/iPod parts & repairs in the UK (West Midlands)
Google Nexus One iPhone 4 32GB Black Macbook Pro 17" 500GB HDD & 2GB RAM
kAoTiX is offline   0 Reply With Quote
Old Nov 9, 2009, 08:27 AM   #6
robbieduncan
Moderator
 
robbieduncan's Avatar
 
Join Date: Jul 2002
Location: London
For iPhone development you should also read:

http://developer.apple.com/iphone/li...roduction.html
http://developer.apple.com/iphone/li...roduction.html

These are all linked to from the iPhone Dev Center

Last edited by robbieduncan; Nov 9, 2009 at 08:28 AM. Reason: Remove second link to Objective-C intro.
robbieduncan is offline   0 Reply With Quote
Old Nov 9, 2009, 12:13 PM   #7
dukeofism
macrumors member
 
Join Date: Jul 2009
I have just started learning to Develop applications for iPhone also. My background is in Java. I recently picked up the book "Learn Objective-C on the Mac" by Mark Dalrymple. So far I like it a lot and it does a good job of introducing you to Objective-c. I prefer to have a book in hand rather than read from a computer screen (especially since I tend to be working on code examples as I read and it gets frustrating flipping between some browser and xcode.)

Hope that Helps.
Good luck!
__________________
Check out My Website
A Poor College Student Trying to create a Small Income From Google ads and Affiliate marketing
Check out My Review of Windows 7 (BOOOO)
dukeofism is offline   0 Reply With Quote
Old Nov 9, 2009, 12:22 PM   #8
dejo
Moderator
 
dejo's Avatar
 
Join Date: Sep 2004
Location: The Centennial State
Also, be sure to check out the Guides and Stickies at the top of this very forum.
__________________
dejo is offline   0 Reply With Quote
Old Nov 9, 2009, 01:53 PM   #9
firewood
macrumors 603
 
Join Date: Jul 2003
Location: Silicon Valley
If you already know and can use multiple programming language, OOP concepts, and UI frameworks, then the path to iPhone coding can be fairly quick, maybe just a few weeks for some people. First read the Obj-C tutorials or books, then move on to reading example iPhone code and Cocoa Touch programming guides/books. Apple has plenty of the documentation needed to get running quickly.

Relearning how Objective C's form of punctuation abuse differs from C/C++ looks to be a major issue to some programmers, but goes quickly once you start coding a few example/tutorial apps.

There are a few things in C++ that aren't straightforward in Obj-C, so you may have to learn a few alternate programming strategies. I do not recommend mixing Obj-C and C++, at least initially (unless your sole project is to port a major C++ compute engine).
firewood is offline   0 Reply With Quote
Old Nov 10, 2009, 01:09 PM   #10
dejo
Moderator
 
dejo's Avatar
 
Join Date: Sep 2004
Location: The Centennial State
Quote:
Originally Posted by firewood View Post
Relearning how Objective C's form of punctuation abuse...
__________________
dejo is offline   0 Reply With Quote
Old Nov 12, 2009, 01:32 AM   #11
fernandovalente
macrumors 6502
 
Join Date: Aug 2008
Location: Third world **** hole, I mean, Brazil
Send a message via AIM to fernandovalente Send a message via MSN to fernandovalente
Read this book:

http://www.amazon.com/Cocoa-Programm.../dp/0321503619

If you have a basic C or C++ knowledge, you will find it that easy. This book was wrote by a man who taught Objective-C to Apple and NeXT employees and some other places.
__________________
Check out the iPhone and Mac apps I developed.
iChat: fernandovalente [a] mac [d] com
Personal blog: www.fvalente.org
E-mail: fernando [a] fvalente [d] org
fernandovalente is offline   0 Reply With Quote
Old Nov 12, 2009, 07:12 AM   #12
firewood
macrumors 603
 
Join Date: Jul 2003
Location: Silicon Valley
Quote:
Originally Posted by dejo View Post
You're going blind if you don't notice all the bizarre punctuation required by most programming languages. Periods that aren't at the ends of sentences. Brackets that aren't used for footnotes. & etc.
__________________
iOS App Developer: Apple II+, Mac 128k->512ke, MacBook Air 11, iPhone 6
firewood is offline   0 Reply With Quote
Old Nov 12, 2009, 07:33 AM   #13
NickFalk
macrumors 6502
 
Join Date: Jun 2004
Quote:
Originally Posted by kAoTiX View Post
I am a windows programmer of 7 years and are looking to start programming for iPhone/iPod. Basically, I have no idea where to start...well, I sort of do but would like some pointers.

I know I need a mac (! I bought a PPC mac mini how stupid.)
Will be getting an Intel based Mac in the coming weeks.

Where do I go from here? I currently program in C++/Delphi and do web programming for PHP/MySQL so learning a new syntax/language isn't a problem but I know I'm going to be reading a fair few books first.

Any help would be greatly appreciated.

Thanks
As you are already a programmer I think it should be fairly straightforward for you. I think perhaps getting used to Xcode might be the stumbling block if you're used to VisualStudio or similar.

Recommended books from the top of my head are:

Kochan's Objective-C book
Hillegass' Cocoa for Mac
Someone's Cocoa design patterns

Personally I needed Begining iPhone Development from Apress as well, but then I hadn't programmed anything since I dabbled with Turbo Pascal in the early 90's. I knew practically no OOP and the above mentioned book is a really good book for beginners.
NickFalk is offline   0 Reply With Quote
Old Nov 12, 2009, 10:22 PM   #14
TodVader
macrumors 6502a
 
TodVader's Avatar
 
Join Date: Sep 2005
Location: Quebec, Canada
Quote:
Originally Posted by NickFalk View Post
Kochan's Objective-C book
+1 for this book. I really liked it and its fun to read too. Some parts are hard, you need to reread them several times but everything is very clear.
__________________
TodVader is offline   0 Reply With Quote
Old Nov 13, 2009, 01:52 AM   #15
kAoTiX
Thread Starter
macrumors 6502
 
Join Date: Oct 2008
Location: Midlands, UK
Thanks for the replies, still waiting on my mac mini but I've got a few of the books and they're really interesting.
__________________
Contact me for iPad/iPhone/iPod parts & repairs in the UK (West Midlands)
Google Nexus One iPhone 4 32GB Black Macbook Pro 17" 500GB HDD & 2GB RAM
kAoTiX is offline   0 Reply With Quote
Old Nov 13, 2009, 02:05 AM   #16
fernandovalente
macrumors 6502
 
Join Date: Aug 2008
Location: Third world **** hole, I mean, Brazil
Send a message via AIM to fernandovalente Send a message via MSN to fernandovalente
I know you got a PPC Mac, but it doesn't mean you can't start. If you know programming for the Mac, you know programming for the iPhone. It's very similar. I suggest you to start creating some projects to learn. It's gonna be easier when you get your Intel Mac because you will have some experience with Objective-C and Cocoa.
__________________
Check out the iPhone and Mac apps I developed.
iChat: fernandovalente [a] mac [d] com
Personal blog: www.fvalente.org
E-mail: fernando [a] fvalente [d] org
fernandovalente is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Learning to Code: Where to Start? ToomeyND Mac Programming 11 Mar 5, 2014 02:27 PM
Can someone help a windows programmer? svedel77 Mac Programming 2 Feb 7, 2014 08:41 AM
Can't start Windows from Bootcamp steve23094 Windows, Linux & Others on the Mac 8 Jan 9, 2014 09:45 AM
BOOTCAMP: cannot start windows. j0n1c4 Windows, Linux & Others on the Mac 0 Feb 1, 2013 11:22 AM
How can I tell if a Windows 98SE code is still active? davidg4781 Windows, Linux & Others on the Mac 8 Jun 14, 2012 01:24 AM

Forum Jump

All times are GMT -5. The time now is 05:42 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC