Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jan 31, 2009, 09:51 AM   #1
Liamf555
macrumors member
 
Join Date: Jun 2007
Location: UK
Starting to learn how to program

Hi guys,

I would like to start to learn how to develop mac/iphone apps and would like to learn C

I have absolutely no experience of programming of any kind.

So, where would be the best place to start - decent tutorials etc.

Thanks for any help
__________________
Apple recommends Mac OS X
Alu iMac, 2.0 Ghz, 20 inch, 250 GB, 2 Gig ram
Liamf555 is offline   0 Reply With Quote
Old Jan 31, 2009, 10:18 AM   #2
MacRohde
macrumors regular
 
Join Date: Jun 2004
Location: Copenhagen, Denmark
Well the first step is deciding on a technology to use. If you want to do iPhone apps (as well as Mac apps) Objective-C is the way to go.

In that case get Steve Kochan's book on Objective-C 2.0 from Amazon.
__________________
My main systems: iMac 2.7 GHz (Mountain Lion), iPad 2, iPhone 4S.
MacRohde is offline   0 Reply With Quote
Old Jan 31, 2009, 11:28 AM   #3
lee1210
macrumors 68040
 
lee1210's Avatar
 
Join Date: Jan 2005
Location: Seattle, WA
http://guides.macrumors.com/Cocoa_FAQ

There is a link that says "How do I get started programming on the Mac (or iPhone)?" under Mac Guides on the front page of this forum. You should start there.

Also, there is an advanced search on the forum, and you can find lots of threads on this topic out there already:
http://forums.macrumors.com/showthre...rt+programming
http://forums.macrumors.com/showthre...rt+programming
http://forums.macrumors.com/showthre...rt+programming
http://forums.macrumors.com/showthre...rt+programming
http://forums.macrumors.com/showthre...rt+programming
http://forums.macrumors.com/showthre...rt+programming

-Lee
lee1210 is offline   0 Reply With Quote
Old Jan 31, 2009, 12:27 PM   #4
cromestant
macrumors member
 
Join Date: Apr 2006
if yo ujust want to start to learn programming, I think you ought to start out with something simpler than objective C, i program in php, python, C , C++, java, i ve even had to do some IA32 assembly code, and its still taking me a while to get used to obj-c

Id recommend starting out with python, its great although some of its features might spoil you, so maybe go for java first.

I might get flamed for this , but hey its my opinion.

ps: many pple suggest going for ruby on starting out, but i ve never tried it, so can t really recommend it.
__________________
unibodyMacbook, 4gb ram, 20gb 4th gen ipod photo, 2d gen ipod shuffle, AEBS, 40gb tv,g4-mini, like 4 keyboards,mighty mouse, 1stgen Iphone.
cromestant is offline   0 Reply With Quote
Old Jan 31, 2009, 01:44 PM   #5
plumbingandtech
macrumors 68000
 
Join Date: Jun 2007
Quote:
Originally Posted by Liamf555 View Post
Hi guys,

I would like to start to learn how to develop mac/iphone apps and would like to learn C

I have absolutely no experience of programming of any kind.

So, where would be the best place to start - decent tutorials etc.

Thanks for any help
as programmer you will be searching for code examples solutions a lot as well....

So the first thing to do is to learn how to use the search forum tools before posting yet another freaking "how do I start programming thread"
__________________
The Palm Pre is the new Sarah Palin.
plumbingandtech is offline   0 Reply With Quote
Old Jan 31, 2009, 01:48 PM   #6
Liamf555
Thread Starter
macrumors member
 
Join Date: Jun 2007
Location: UK
Thanks for all the help

Quote:
Originally Posted by plumbingandtech View Post
So the first thing to do is to learn how to use the search forum tools before posting yet another freaking "how do I start programming thread"
Sorry I will do that in the future
__________________
Apple recommends Mac OS X
Alu iMac, 2.0 Ghz, 20 inch, 250 GB, 2 Gig ram

Last edited by Liamf555; Feb 1, 2009 at 11:46 AM. Reason: Adding extra
Liamf555 is offline   0 Reply With Quote
Old Feb 1, 2009, 11:47 AM   #7
Liamf555
Thread Starter
macrumors member
 
Join Date: Jun 2007
Location: UK
Anyone else with any advice/help?
__________________
Apple recommends Mac OS X
Alu iMac, 2.0 Ghz, 20 inch, 250 GB, 2 Gig ram
Liamf555 is offline   0 Reply With Quote
Old Feb 1, 2009, 01:40 PM   #8
lee1210
macrumors 68040
 
lee1210's Avatar
 
Join Date: Jan 2005
Location: Seattle, WA
Quote:
Originally Posted by Liamf555 View Post
Anyone else with any advice/help?
Quite a bit, but it is all in the threads I linked. =)

-Lee
lee1210 is offline   0 Reply With Quote
Old Feb 1, 2009, 04:14 PM   #9
firewood
macrumors 603
 
Join Date: Jul 2003
Location: Silicon Valley
I recommend going to the library and looking though all the books on beginning programming (or programming for dummies/idiots, etc.) and finding books you like, find readable, and will actually work though lots of the problem sets. The books are all different, and there are a lot more choices for your particular level and learning style for some programming languages than for others.

It doesn't matter what language.

It only matters that you spend time writing programs until you understand how. So pick the language(s) where you can get through the book(s) you've found the fastest and understand the ideas the best.

Then after you are comfortable with one programming language, learn another, maybe even Applescript, Javascript, or Objective-C.

.
firewood is offline   0 Reply With Quote
Old Feb 1, 2009, 04:45 PM   #10
Liamf555
Thread Starter
macrumors member
 
Join Date: Jun 2007
Location: UK
i have to say that i have found things a little confusing. i have been using becomeanxcoder and im confused.
__________________
Apple recommends Mac OS X
Alu iMac, 2.0 Ghz, 20 inch, 250 GB, 2 Gig ram
Liamf555 is offline   0 Reply With Quote
Old Feb 1, 2009, 04:56 PM   #11
firewood
macrumors 603
 
Join Date: Jul 2003
Location: Silicon Valley
Quote:
Originally Posted by Liamf555 View Post
i have to say that i have found things a little confusing. i have been using becomeanxcoder and im confused.
Go to the library and find a book or two on beginning/intro programming/software that you find easy and non-confusing.

It doesn't matter what programming language.

After you learn enough to get though a couple of the easy books, the XCode/Cocoa/Obj-C books will magically transform themselves into being much less confusing.

.
firewood is offline   0 Reply With Quote
Old Feb 1, 2009, 05:30 PM   #12
Liamf555
Thread Starter
macrumors member
 
Join Date: Jun 2007
Location: UK
Thanks for the help.

Could you recommend a good starter language
__________________
Apple recommends Mac OS X
Alu iMac, 2.0 Ghz, 20 inch, 250 GB, 2 Gig ram
Liamf555 is offline   0 Reply With Quote
Old Feb 1, 2009, 07:50 PM   #13
lee1210
macrumors 68040
 
lee1210's Avatar
 
Join Date: Jan 2005
Location: Seattle, WA
Quote:
Originally Posted by Liamf555 View Post
Thanks for the help.

Could you recommend a good starter language
My favorite recommendation is C. People will disagree about this to no end. There was a thread that went on for well over a week about this very recently.

C is far enough from the machine to let you worry about your algorithms and learning some common syntax instead of shifting things in and out of memory to registers with machine code, but close enough that you get a good feeling about the hardware-software interface, especially using things like pointers.

It also has mature compilers, tons of people with a lot of knowledge, and runs everywhere.

I hope that this doesn't start another holy war about programming languages. I hazard to offer my suggestion to use gcc at the terminal with a simple text editor instead of an IDE, because that can start a whole different holy war.

-Lee

Last edited by lee1210; Feb 1, 2009 at 08:13 PM. Reason: just a hyphen
lee1210 is offline   0 Reply With Quote
Old Feb 1, 2009, 08:11 PM   #14
eddietr
macrumors 6502a
 
Join Date: Oct 2006
Location: Virginia
Quote:
Originally Posted by Liamf555 View Post
Thanks for the help.

Could you recommend a good starter language
I would start with a good fundamental knowledge of C. Then you can learn anything other language you're interested in very quickly.
eddietr is offline   0 Reply With Quote
Old Feb 1, 2009, 09:33 PM   #15
firewood
macrumors 603
 
Join Date: Jul 2003
Location: Silicon Valley
Quote:
Originally Posted by Liamf555 View Post
Could you recommend a good starter language
Basic, Lisp, Scheme or Logo. However it's nearly impossible to find many books on these ancient languages these days, so you'll have far better luck with finding tons of titles on C, Java, or Javascript on the shelves at your local library.

If you find an ancient book on Smalltalk, that'd be great, since it was designed as an educational language, and since Objective C is sort-of Smalltalk in sheep's (C syntax) clothing. Very unlikely to find anything though.

.
__________________
Apple II+, Mac 128k->512ke, Duo 210, MacBook Air 11, iPad mini, iPhone 5
firewood is offline   0 Reply With Quote
Old Feb 1, 2009, 11:02 PM   #16
eddietr
macrumors 6502a
 
Join Date: Oct 2006
Location: Virginia
Quote:
Originally Posted by firewood View Post
Basic, Lisp, Scheme or Logo. However it's nearly impossible to find many books on these ancient languages these days,
Hmmm, I don't know about BASIC.

But LISP/Scheme is a great foundation. The first textbook I ever read about programming is available free online:

http://mitpress.mit.edu/sicp/full-text/book/book.html

Get a good scheme interpreter, and read that book and you can easily code in anything after that.

EDIT: Plus you'll have that cool wear pattern on your 9 and 0 keys that all *real* developers have.
eddietr is offline   0 Reply With Quote
Old Feb 3, 2009, 04:57 AM   #17
Liamf555
Thread Starter
macrumors member
 
Join Date: Jun 2007
Location: UK
Thanks for all the help guys
__________________
Apple recommends Mac OS X
Alu iMac, 2.0 Ghz, 20 inch, 250 GB, 2 Gig ram
Liamf555 is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
How to supercharge Mini? ranny2 Mac mini 18 Oct 27, 2011 08:53 PM
How To Remove Server Part Of Lion? hhaydenn iMac 2 Aug 18, 2011 05:21 PM
Starting Place to Learn How to Program Dmac77 Mac Programming 16 Aug 4, 2008 10:08 PM
Need book to learn how to program for the iPhone TJunkers iPhone Tips, Help and Troubleshooting 1 Jul 24, 2008 05:58 AM
Good way to learn how to program? TSE Mac Programming 4 Oct 1, 2007 04:31 PM


All times are GMT -5. The time now is 05:37 PM.

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

Mobile Version | Fixed | Fluid | Fluid HD
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Privacy / DMCA contact / Affiliate and FTC Disclosure
Copyright 2002-2013, MacRumors.com, LLC