|
|
| Welcome to the Mac Forums forums. Please read the FAQ if you have questions. Register to participate. |
|
|||||||
| TouchArcade.com - iPhone Game Reviews and News |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
macrumors Demi-Goddess
Join Date: Oct 2006
Location: Lisboa, Portugal
|
Learning iPhone Development
I'm interested in learning about iPhone development. I don't know anything about programming but I'd really like to learn on my free time. The reason I'm interested is because I love everything related to the iPhone, I have a lot of ideas for apps that I'd like to make for myself and I love a challenge. Also have always been a bit fascinated by programming.
So what I need is to know where to start. Books, tutorials online, suggestions, whatever. Everything is welcome.
__________________
"Tech nerds everywhere pissed Apple made a product for someone other than them."- Damn right I'm good in bed, I can sleep for days! |
|
|
|
| anjinhamarota |
| View Public Profile |
| Find More Posts by anjinhamarota |
|
|
#2 |
|
Demi-Goddess (Moderator)
Join Date: Jul 2004
|
Moved this thread into the iPhone Programming forum. See the stickies and the linked Guides at the top of the forum for more info.
__________________
It's a strange world |
|
|
|
| Blue Velvet |
| View Public Profile |
| Find More Posts by Blue Velvet |
|
|
#3 |
|
Thread Starter
macrumors Demi-Goddess
Join Date: Oct 2006
Location: Lisboa, Portugal
|
So I've been looking around a bit and I should first of all learn about programming in Objective-C? And then move to iPhone programming?
__________________
"Tech nerds everywhere pissed Apple made a product for someone other than them."- Damn right I'm good in bed, I can sleep for days! |
|
|
|
| anjinhamarota |
| View Public Profile |
| Find More Posts by anjinhamarota |
|
|
#4 | |
|
macrumors 65816
Join Date: Aug 2008
|
Quote:
You might be a good year or two away from able to write something decent on iPhone. |
|
|
|
|
| CocoaPuffs |
| View Public Profile |
| Find More Posts by CocoaPuffs |
|
|
#5 |
|
macrumors 65816
|
learn Cocoa first since you want to write iphone apps you can't write iphone in java
__________________
Macbook 1gb Ram 2.10ghz 120gb HD Leopard iphone 3g 8gbXbox360(Italiano40) twitter/Facebook |
|
|
|
| italiano40 |
| View Public Profile |
| Find More Posts by italiano40 |
|
|
#6 | |
|
macrumors 65816
Join Date: Aug 2008
|
Quote:
Cocoa is perhaps the last thing you should worry about if you want to become a proficient iPhone programmer from zero background. |
|
|
|
|
| CocoaPuffs |
| View Public Profile |
| Find More Posts by CocoaPuffs |
|
|
#7 |
|
Thread Starter
macrumors Demi-Goddess
Join Date: Oct 2006
Location: Lisboa, Portugal
|
I don't mind if it takes a while for me to learn, I think it will be a nice challenge for me.
![]() Do you have suggestions on good books to get me started?
__________________
"Tech nerds everywhere pissed Apple made a product for someone other than them."- Damn right I'm good in bed, I can sleep for days! |
|
|
|
| anjinhamarota |
| View Public Profile |
| Find More Posts by anjinhamarota |
|
|
#8 | |
|
macrumors 65816
Join Date: Aug 2008
|
Quote:
You can check out http://see.stanford.edu/ |
|
|
|
|
| CocoaPuffs |
| View Public Profile |
| Find More Posts by CocoaPuffs |
|
|
#9 |
|
macrumors member
Join Date: Sep 2008
Location: Berlin
|
Java is absolutely !!WRONG!! for the iPhone! It's a nice language but it does not exist for the iPhone (besides some experimental stuff)!!
Read the introductory documentation on http://developer.apple.com/iphone and this book for a first contact to objective-c and cocoa: Cocoa(R) Programming for Mac(R) OS X (3rd Edition) (Paperback) For an intro to iPhone dev. read the documentations on dev.apple.com or a book like this: The iPhone Developer's Cookbook: Building Applications with the iPhone SDK (Developer's Library) (Paperback). It's from Erica Sadun, who did a lot at the beginning of iPhone coding (before AppStore and the like existed). I didn't read it though... |
|
|
|
|
|
#10 | |
|
Thread Starter
macrumors Demi-Goddess
Join Date: Oct 2006
Location: Lisboa, Portugal
|
Quote:
__________________
"Tech nerds everywhere pissed Apple made a product for someone other than them."- Damn right I'm good in bed, I can sleep for days! |
|
|
|
|
| anjinhamarota |
| View Public Profile |
| Find More Posts by anjinhamarota |
|
|
#11 | |
|
macrumors member
Join Date: Nov 2008
|
Quote:
I'm only a beginner myself though I have done programming in the past (assembly language, C/C++, and more recently ActionScript (2 & 3). If you have no C knowledge you could do with starting there, then learn about Objective C. And also you need to understand OOP. When I started playing around with the tools (Xcode etc), I thought it would be simpler to learn some Cocoa programming so I bought "Cocoa Programming For Dummies". I found it pretty useful (but basic) though the book is based on older versions of Xcode and Interface Builder. It helped demystify some of the concepts and procedures that are required to build an Xcode project, especially objects/outlets/actions stuff. All IMHO of course
|
|
|
|
|
|
|
#12 | |
|
Thread Starter
macrumors Demi-Goddess
Join Date: Oct 2006
Location: Lisboa, Portugal
|
Quote:
__________________
"Tech nerds everywhere pissed Apple made a product for someone other than them."- Damn right I'm good in bed, I can sleep for days! |
|
|
|
|
| anjinhamarota |
| View Public Profile |
| Find More Posts by anjinhamarota |
|
|
#13 |
|
macrumors newbie
Join Date: Oct 2008
|
Not the iPhone cookbook!
Sorry to add to the confusion, but I am learning iPhone programming with almost no relevant programming background so I can speak from experience
.First, for the basics of Cocoa Programming work through the free pdf 'Become an Xcoder' from Cocoalab (www.cocoalab.com/?q=becomeanxcoder). Then, for learning Objective-C you don't have much choice - it's Kochan's "Programming in Objective-C 2.0". Although the hard copy of this edition has not yet been published, the book is available as a pdf download from Safari Rough Cuts http://safari.informit.com/9780321605559 ). The classic book to follow this with is Hillegass "Cocoa Programming for Mac OS X". This is what I am working through and there is no doubt that it an excellent book. But there is nothing in it about iPhone programming. A book that I am expecting to be very good though I have only worked through the free preview chapter (my copy has only just arrived) is "Beginning iPhone Development" by Mark and Lamarche. This may be your best choice .Finally, don't get Erica Sadun's iPhone Cookbook! This is a collection of code snippets and is no good at all for beginners. I do have a copy and I have tried it so again I speak from experience. Good luck! |
|
|
|
| spinyanteater |
| View Public Profile |
| Find More Posts by spinyanteater |
|
|
#14 |
|
macrumors 601
Join Date: Oct 2006
Location: The Land of Hope and Glory
|
Any book with "Cookbook" or "Effective" in the title is most likely aimed at those with a solid grasp of the language and related concepts.
Personally I would start with C then learn Objective-C then finally spend the time learning the Cocoa APIs. Without a decent understanding of C concepts such as pointers and memory management are going to be much harder in Objective-C. I've seen so many newbies (actually seems to have started fairly recently) that do not know the difference between int *myInt and int myInt. Something that knowledge in C would remedy. Plus with Objective-C being a strict superset of C your still learning applicable information for iPhone programming.
__________________
Neural Advance - Mac OS X, UNIX and Windows Development Extreme Metal Reviews MP 4x 2.66Ghz Xeons / 2GB RAM / 250GB + 500GB + 750GB + 1TB HDDs / ATI Radeon 4870 512MB |
|
|
|
|
|
#15 |
|
macrumors newbie
Join Date: Oct 2008
|
I appreciate that already knowing C is a huge bonus in learning Objective-C, but I just want to add that Kochan's book is specifically written for people who do not know C. He aims to teach Objective-C and the underlying C as an integrated language.
|
|
|
|
| spinyanteater |
| View Public Profile |
| Find More Posts by spinyanteater |
|
|
#16 | |
|
macrumors 6502a
Join Date: Mar 2008
|
Quote:
I said before becomeanxcoder teaches you enough C to get by, but I don't think that's enough. You should really know the language pretty well, even if you can't write a real app using it. It will help you in the future. So for that, I advise you go to www.cprogramming.com. There you'll find tutorials for C and C++ if you ever want to go there, and a ton of links for various things that you may or may not be interested in. It's all old stuff, but still perfectly relevant. You'll have to figure out how to start a C project in xcode, though, I don't remember how. Good luck! Nate |
|
|
|
|
| liptonlover |
| View Public Profile |
| Find More Posts by liptonlover |
|
|
#17 | |
|
Guest
Join Date: Feb 2003
Location: Hitchin, Herts, UK
|
Quote:
FWIW, I have published Mac and iPhone apps that are making several hundreds of dollars a month. |
|
|
|
|
| caveman_uk |
| View Public Profile |
| Find More Posts by caveman_uk |
|
|
#18 |
|
macrumors 68000
Join Date: Jul 2003
|
If you already know a procedural language which had lots of books on it (Basic), a language with pointers and data types/structures (C), and a OOP language (C++, Smalltalk), you don't need to start with Java. But starting with it can save you from the previous 3. Obj-C seems nice, but there aren't dozens of beginner books on it to choose from. Learning Cocoa will likely just lead to a mess if you try to learn it before learning how to program and develop software IMHO.
.
__________________
Apple II+, Mac 128k->512ke, Duo 210, MacBook Pro, white iPhone 3GS Last edited by firewood : Dec 5, 2008 at 10:46 AM. |
|
|
|
|
|
#19 |
|
macrumors 65816
Join Date: Aug 2008
|
Umm...is this an example of the typical answers from this particular forum?
OP does not have any experience in programming and wish to eventually be able to program iPhone. Java is an objective oriented language similar to Objective-C, but it is much more documented and have better resources and books available to learn. If you wish to learn programming that will lead you down the path to iPhone programming, Java is a great place to start. As for comments that you don't need Java or care for Java, that's obviously not the point I am trying to make. If you think going from no programming experience and straight to Objective-C...good luck. Straight to Cocoa? Hah...I suggest you to borrow a book from library so you're not throwing money down the toilet. Any other language as starter? I would like to hear that input. |
|
|
|
| CocoaPuffs |
| View Public Profile |
| Find More Posts by CocoaPuffs |
|
|
#20 | |
|
macrumors regular
Join Date: Mar 2008
|
Quote:
And as stated, Java is well documented. You can google search many things. good luck with that for Objective C. |
|
|
|
|
|
|
#21 |
|
macrumors 68000
Join Date: Jul 2003
|
Correct! !!! However one must first learn how to program, before learning how to write software for the iPhone. Trying to do both is likely pure overload for anyone non-brilliant. And having learned more than one programming language is always better than knowing only one, IMO.
Last I checked, there were 3 decent books on Cocoa... and over 300 on Java. Which are you more likely to find a copy of in the library? ( Actually, I prefer Basic as a first programming language, but the books are so old, my local library has thrown most of them out! :-( ) . Last edited by firewood : Dec 6, 2008 at 02:39 AM. |
|
|
|
|
|
#22 |
|
Thread Starter
macrumors Demi-Goddess
Join Date: Oct 2006
Location: Lisboa, Portugal
|
Thank you so much for all the replies.
__________________
"Tech nerds everywhere pissed Apple made a product for someone other than them."- Damn right I'm good in bed, I can sleep for days! |
|
|
|
| anjinhamarota |
| View Public Profile |
| Find More Posts by anjinhamarota |
|
|
#23 |
|
macrumors member
Join Date: Nov 2008
|
Just gone through that Xcoder tutorial myself (I'd not heard of it before). Agree with the people that linked to it - it's good stuff.
|
|
|
|
|
|
#24 |
|
macrumors 6502a
Join Date: Nov 2008
Location: Georgia, USA
|
I am also very interested in iPhone developmen and in software programming overallt. I am a beginner and have not learned any code languages. Based on these comments, it looks like I should start off learning cocoa if I want to work with the iPhone. I also know that many applications on the Mac are written in cocoa, and soon in Snow Leopard, the Finder will also be written in cocoa.
Does cocoa seem like the right way to go? What software is good for writing in cocoa on the Mac? In particular, has anyone read any good books that teach beginners to write in code? I have also made a survey for developers (the link below) in the computer class that I am taking at school. If you have the time, please take it to help me get some feedback.
__________________
13" 2.53GHz Unibody MacBook Pro: 250GB HD, 4GB RAM10" MSi WIND Hackintosh: 1.6GHz Atom, 120GB HD, 2GB RAM, Dell 1505 WiFi, Snow Leopard 10.6.1 iPhone 3GS Black 16GB Twitter |
|
|
|
|
|
#25 | |
|
macrumors 65816
Join Date: Aug 2008
|
Quote:
|
|
|
|
|
| CocoaPuffs |
| View Public Profile |
| Find More Posts by CocoaPuffs |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|