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 Jul 27, 2009, 06:26 PM   #1
xanadeath
macrumors regular
 
Join Date: Jul 2008
Location: Modesto, California
Learning to program for Mac and iPhone

I absolutely love technology. I know my way around a computer and can do pretty much anything except photoshopping, graphic design, and programming. I want to learn to program. I know this is something that can't just be "learned", and that you are always learning new things..... i've even tried to learn C++, but I run Windows and I think i'm having so much trouble with it because i'm simply not that interested in making Windows Programs. I've recently started thinking about programming for Mac, and especially iPhone. I know I would enjoy it and I know I would get really into it if I started, but that's the problem, I just don't know where to start. First, I don't have a Mac, which isn't much of a problem... I could grab a Mac Mini in the next few months. Mainly I just don't know what I would need to learn, and if I need a Mac to learn it. I've been reading that cocoa is heavily based on Objective C, but I don't know if I need to have a Mac to compile Objective C programs.... or if I should even start with Objective C at all.... or if anything cocoa related is where to start. Right now I can only make a C++ program on Windows that says Hello World with some user input and then instantly disappears. I would really appreciate some help, and considering that I have no idea what most of the thread topics even mean I know i'm in the right place.

Thanks

Xanadeath
xanadeath is offline   0 Reply With Quote
Old Jul 27, 2009, 06:43 PM   #2
macFan3000
macrumors newbie
 
Join Date: Oct 2008
Get Programming in Objective-C 2.0 by Stephen G. Kochan Amazon link.
When you've gotten your Mac Get Cocoa Programing for Mac OS X By Arron Hillegass Amazon link.
__________________
april 2007 Macbook-white
macFan3000 is offline   0 Reply With Quote
Old Jul 27, 2009, 06:52 PM   #3
xanadeath
Thread Starter
macrumors regular
 
Join Date: Jul 2008
Location: Modesto, California
Quote:
Originally Posted by macFan3000 View Post
Get Programming in Objective-C 2.0 by Stephen G. Kochan Amazon link.
When you've gotten your Mac Get Cocoa Programing for Mac OS X By Arron Hillegass Amazon link.
If I go with the objective C book before getting a Mac, is using a Windows compiler going to veer me off course. Will going on the mac and using cocoa be more difficult after becoming accustomed to C on Windows?
xanadeath is offline   0 Reply With Quote
Old Jul 27, 2009, 10:56 PM   #4
Shu15
macrumors regular
 
Join Date: May 2009
Location: United States
I'd also really like to learn programming for mac, so any help is appreciated!
__________________
13" Macbook Pro, 2.5 GHz, 4 GB RAM, 500 GB HD; 80GB iPod Classic; 16 GB iPhone 5
Shu15 is offline   0 Reply With Quote
Old Jul 27, 2009, 11:11 PM   #5
Cinder6
macrumors 6502
 
Join Date: Jul 2009
Quote:
Originally Posted by xanadeath View Post
If I go with the objective C book before getting a Mac, is using a Windows compiler going to veer me off course. Will going on the mac and using cocoa be more difficult after becoming accustomed to C on Windows?
C is C is C. So long as you're not using proprietary or Windows-only libraries, everything you learn will be applicable to programming on a Mac. It's especially true for Objective-C, as its main audience is the Mac.

Furthermore, Objective-C is a superset of vanilla C. That means you won't have learned anything really useless, should you decide to only ever do Obj-C in your life.
Cinder6 is offline   0 Reply With Quote
Old Jul 27, 2009, 11:15 PM   #6
TheMacintosh
macrumors newbie
 
Join Date: Jul 2009
Get "Cocoa Programming for Mac OS X" by Aaron Hilegass. bignerdranch.com. It's a great book.

Although Stefan Kochan is good too
TheMacintosh is offline   0 Reply With Quote
Old Jul 28, 2009, 09:22 AM   #7
boast
macrumors 6502a
 
Join Date: Nov 2007
you do know there is a C++ compiler for the mac, right? Meaning, your C++ code can run on the mac.

Err, forgot about wanting for the iphone as well. Yeah I guess go with obj-c.
__________________
MacBook Pro (Retina, 15-inch, Early 2013) 2.4 Quad-core i7/8GB/256-Flash
HP N54L Microserver + XPEnology :: Samsung Galaxy Note 3 :: iPad Air
boast is offline   0 Reply With Quote
Old Jul 28, 2009, 12:05 PM   #8
macFan3000
macrumors newbie
 
Join Date: Oct 2008
Quote:
Originally Posted by TheMacintosh View Post
Get "Cocoa Programming for Mac OS X" by Aaron Hilegass. bignerdranch.com. It's a great book.

Although Stefan Kochan is good too
Hillegass is good if you know C. Kochan teaches you what C you need for Objective-c
__________________
april 2007 Macbook-white
macFan3000 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
If I know c++ is it a givin that I have to learn objective c to program for mac Acorn Mac Programming 19 Jul 10, 2011 12:35 PM
Great Printer program for iPad and iPhone bmullemeister iPad 2 Jul 10, 2010 05:29 PM
GoodreaderUSB - Companion program for MAC and PC! Woot!!! shadowness iPad Apps 0 Jul 1, 2010 05:44 PM
How did YOU learn to program for the iPhone Metal Dice iPhone/iPad Programming 11 Jun 23, 2009 06:13 AM
How hard is it to program for mac if you know C, Flash and VB? Spanky Deluxe Mac Programming 10 Jun 16, 2005 06:00 PM


All times are GMT -5. The time now is 06:23 PM.

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

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