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

Reply
 
Thread Tools Search this Thread Display Modes
Old Feb 21, 2013, 01:12 PM   #1
AppleDeviceUser
macrumors 6502
 
Join Date: Jan 2012
Location: Canada
Best way to learn Objective C

How would I learn objective C? I have no knowledge of it at all but want to create and app.
__________________
MBP Retina 16GB RAM, 512GB SSD, Quad core Intel i7, NVIDIA GeForce GT 650M 1GB Mavericks Unlocked iPhone 5s 64GB Space Grey iPod shuffle 4th gen 2GB silver
AppleDeviceUser is offline   0 Reply With Quote
Old Feb 21, 2013, 01:16 PM   #2
dejo
Moderator
 
dejo's Avatar
 
Join Date: Sep 2004
Location: The Centennial State
I'd start by checking the Guides and Stickies at the top of this very forum.
__________________
dejo is offline   0 Reply With Quote
Old Feb 21, 2013, 01:21 PM   #3
xShane
macrumors 6502a
 
xShane's Avatar
 
Join Date: Nov 2012
Location: United States
I'd also recommend a book named "Learn Objective-C on the Mac (Second Edition)" by Apress Publishing.

That's what I read when I was in your shoes and it really helped explain the topics in an easy to understand manner. It also helped me get my feet wet with basic Objective-C programming in a very short amount of time.

Do note however though that I have previous programming experience (with Java). I think learning a new language is going to be easier if you already have some programming experience.
__________________
Macbook Pro 15" 2.6, 8GB, 750GB, 1GB VRAM
24" Asus display


"Be the change that you wish to see in the world."
xShane is offline   0 Reply With Quote
Old Feb 21, 2013, 01:56 PM   #4
ArtOfWarfare
macrumors 603
 
ArtOfWarfare's Avatar
 
Join Date: Nov 2007
Send a message via Skype™ to ArtOfWarfare
I would advise learning at least C before Obj-C.
ArtOfWarfare is offline   0 Reply With Quote
Old Feb 21, 2013, 04:21 PM   #5
MattInOz
macrumors 68030
 
MattInOz's Avatar
 
Join Date: Jan 2006
Location: Sydney
I would advise slowly and surely.
__________________
There is no such thing as "Collective Wisdom"
[ iPhone 5s, iPad Mini, 13" MacBookPro 2.7Ghz, 27"Al iMac i7, Black MacBook 13"]
MattInOz is offline   0 Reply With Quote
Old Feb 21, 2013, 06:58 PM   #6
Duncan C
macrumors 6502a
 
Duncan C's Avatar
 
Join Date: Jan 2008
Location: Northern Virginia
 
Quote:
Originally Posted by AppleDeviceUser View Post
How would I learn objective C? I have no knowledge of it at all but want to create and app.
It really depends on your background. Do you know other programming languages? Which ones?

If you already know C, a book that teaches the extensions of Objective C would be a good choice.

Another important question is do you know object oriented design (OOD) and Object Oriented Programming (OOP)? If not, you've got you work cut out for you. OOP is a different way of thinking about design, and it takes a while to get used to.

Finally, once you have a decent understanding of Objective C, you need to learn the Cocoa Touch frameworks. That's actually a much bigger job than learning Objective C.
__________________
Regards,
Duncan Champney, WareTo.
Check out our latest iOS app, Face Dancer, available for free on the App Store.
Duncan C is offline   0 Reply With Quote
Old Feb 21, 2013, 09:37 PM   #7
Kashsystems
macrumors 6502
 
Join Date: Jul 2012
My background came as a programmer with little to no experience.

I didn't learn C first. I basically used Stephen Kochan's Learning Objective C book to build my foundation. Then I did the Big Nerd Ranch Guide.

Got to be clear on this though, I followed everything. I did not skip any steps and I was willing to fail a lot. I did every exercise.

The biggest drawback at the time I had was understanding how to use the documentation to my advantage or just using it at all.

The other and probably most important thing is to keep trying to make applications or make one big application where you keep adding more and more layers.

Things just starting to click together more and more and I am much better at it.

It took me about 2 years to become comfortable with my skill level.
Kashsystems is offline   0 Reply With Quote
Old Feb 22, 2013, 02:50 AM   #8
Fed
macrumors 6502
 
Join Date: Jul 2012
Location: Liverpool.
I fully endorse Kochan's Programming in Objective-C.

----------

Quote:
Originally Posted by Kashsystems View Post
The biggest drawback at the time I had was understanding how to use the documentation to my advantage or just using it at all.
Unfortunately that only comes with experience. During University, I was quite the regular at StackOverflow for little bugs or irritations that I was having. For the majority of the time, other users were extremely helpful in explaining some key concepts. However, every so often, you'd get the smart ass who'd say RTFM or "Here's a tasty link to the docs", which isn't helpful. You need a good understanding of the underlying technology to fully understand the lingo in, say, the Python or Apple docs online. But, most importantly, you need to learn which stuff is boilerplate and what is actually meaningful. That, my friend, comes through experience.
Fed is offline   0 Reply With Quote
Old Feb 22, 2013, 12:06 PM   #9
AppleDeviceUser
Thread Starter
macrumors 6502
 
Join Date: Jan 2012
Location: Canada
Thanks everyone, I have no knowledge whatsoever in any programming language so it might be a little difficult. Btw does anyone know how it's even possible to code something like angry birds? Do they upload the images of the slingshot, birds etc? Or do they somehow make it with code?
__________________
MBP Retina 16GB RAM, 512GB SSD, Quad core Intel i7, NVIDIA GeForce GT 650M 1GB Mavericks Unlocked iPhone 5s 64GB Space Grey iPod shuffle 4th gen 2GB silver
AppleDeviceUser is offline   0 Reply With Quote
Old Feb 22, 2013, 03:02 PM   #10
Duncan C
macrumors 6502a
 
Duncan C's Avatar
 
Join Date: Jan 2008
Location: Northern Virginia
 
Quote:
Originally Posted by AppleDeviceUser View Post
Thanks everyone, I have no knowledge whatsoever in any programming language so it might be a little difficult. Btw does anyone know how it's even possible to code something like angry birds? Do they upload the images of the slingshot, birds etc? Or do they somehow make it with code?

I would suggest buying the book "Objective C Programming - The Big Nerd Ranch Guide" Written by Aaron Hillegass. It teaches programming from the beginning, starting with a brief introduction to standard C and then moving on to Objective C. It will teach you about variables, data types, flow control, pointers, etc, and then move on to Objective C.

The book is a fairly easy read, and by the time you're done with it, as long as you do all the exercises, you should have a decent understanding of programming in general, and of Objective C in particular. Aaron's writing style is informal and not too heavy.
__________________
Regards,
Duncan Champney, WareTo.
Check out our latest iOS app, Face Dancer, available for free on the App Store.
Duncan C is offline   1 Reply With Quote
Old Feb 23, 2013, 01:47 PM   #11
AppleDeviceUser
Thread Starter
macrumors 6502
 
Join Date: Jan 2012
Location: Canada
Quote:
Originally Posted by Duncan C View Post
I would suggest buying the book "Objective C Programming - The Big Nerd Ranch Guide" Written by Aaron Hillegass. It teaches programming from the beginning, starting with a brief introduction to standard C and then moving on to Objective C. It will teach you about variables, data types, flow control, pointers, etc, and then move on to Objective C.

The book is a fairly easy read, and by the time you're done with it, as long as you do all the exercises, you should have a decent understanding of programming in general, and of Objective C in particular. Aaron's writing style is informal and not too heavy.
Thanks! I will definitely look into that.
__________________
MBP Retina 16GB RAM, 512GB SSD, Quad core Intel i7, NVIDIA GeForce GT 650M 1GB Mavericks Unlocked iPhone 5s 64GB Space Grey iPod shuffle 4th gen 2GB silver
AppleDeviceUser is offline   0 Reply With Quote
Old Feb 23, 2013, 01:54 PM   #12
iJustinCabral
macrumors member
 
Join Date: Jul 2012
Quote:
Originally Posted by Duncan C View Post
I would suggest buying the book "Objective C Programming - The Big Nerd Ranch Guide" Written by Aaron Hillegass. It teaches programming from the beginning, starting with a brief introduction to standard C and then moving on to Objective C. It will teach you about variables, data types, flow control, pointers, etc, and then move on to Objective C.

The book is a fairly easy read, and by the time you're done with it, as long as you do all the exercises, you should have a decent understanding of programming in general, and of Objective C in particular. Aaron's writing style is informal and not too heavy.

Exactly what he said. This was my starting point as well about a year ago. Great read.

The only downside to the Big Nerd Ranch book is they stay away form storyboards and I find that for beginners, storyboarding is a great tool.

A great read would be "iOS 6 By Tutorials" over at www.raywenderlich.com

They approach it as if you have no experience with coding, by the end of that book you should have a bigger context of Apple;s Cocoa Framework.


Good luck, and happy coding!
__________________
CEO/Co-Founder Thinkr LLC.
iJustinCabral is offline   0 Reply With Quote
Old Feb 23, 2013, 02:32 PM   #13
NT1440
macrumors G3
 
NT1440's Avatar
 
Join Date: May 2008
Location: Hartford, CT
Quote:
Originally Posted by AppleDeviceUser View Post
Thanks! I will definitely look into that.
To get your feet wet in just understanding programming concepts you may want to try code academy, fun website with tons of challenges.
NT1440 is offline   0 Reply With Quote
Old Feb 24, 2013, 11:29 PM   #14
kevinloyed
Banned
 
Join Date: Jul 2012
www. virtuousgiant.com/best-way-learn-objective-c/ this link will more help you to learn objective C
kevinloyed is offline   0 Reply With Quote
Old Feb 24, 2013, 11:43 PM   #15
xShane
macrumors 6502a
 
xShane's Avatar
 
Join Date: Nov 2012
Location: United States
Quote:
Originally Posted by AppleDeviceUser View Post
Thanks everyone, I have no knowledge whatsoever in any programming language so it might be a little difficult. Btw does anyone know how it's even possible to code something like angry birds? Do they upload the images of the slingshot, birds etc? Or do they somehow make it with code?
I think you're getting too far ahead of yourself :P

There's numerous ways to "create" an iOS game. One way is to use a game engine such as Torque (by GarageGames) or Unity. However, learning to create video games is a whole 'nother animal.
__________________
Macbook Pro 15" 2.6, 8GB, 750GB, 1GB VRAM
24" Asus display


"Be the change that you wish to see in the world."
xShane is offline   0 Reply With Quote
Old Feb 25, 2013, 10:09 AM   #16
AppleDeviceUser
Thread Starter
macrumors 6502
 
Join Date: Jan 2012
Location: Canada
Quote:
Originally Posted by xShane View Post
I think you're getting too far ahead of yourself :P

There's numerous ways to "create" an iOS game. One way is to use a game engine such as Torque (by GarageGames) or Unity. However, learning to create video games is a whole 'nother animal.
That's pretty cool, do they have something like that for apps?
__________________
MBP Retina 16GB RAM, 512GB SSD, Quad core Intel i7, NVIDIA GeForce GT 650M 1GB Mavericks Unlocked iPhone 5s 64GB Space Grey iPod shuffle 4th gen 2GB silver
AppleDeviceUser is offline   0 Reply With Quote
Old Feb 25, 2013, 11:18 AM   #17
xShane
macrumors 6502a
 
xShane's Avatar
 
Join Date: Nov 2012
Location: United States
Quote:
Originally Posted by AppleDeviceUser View Post
That's pretty cool, do they have something like that for apps?
Yes. Take a look at Unity or GarageGames to see what they have to offer.
__________________
Macbook Pro 15" 2.6, 8GB, 750GB, 1GB VRAM
24" Asus display


"Be the change that you wish to see in the world."
xShane is offline   0 Reply With Quote
Old Feb 25, 2013, 06:29 PM   #18
Duncan C
macrumors 6502a
 
Duncan C's Avatar
 
Join Date: Jan 2008
Location: Northern Virginia
 
Quote:
Originally Posted by AppleDeviceUser View Post
Thanks everyone, I have no knowledge whatsoever in any programming language so it might be a little difficult. Btw does anyone know how it's even possible to code something like angry birds? Do they upload the images of the slingshot, birds etc? Or do they somehow make it with code?
As the other poster said, a release quality app like Angry Birds is way beyond the abilities of somebody who's never programmed before. You'd need several years of development under your belt before you'd be able to create something like that.

I understand it was written by a husband and wife team. I think one of them was a programmer type and the other was a graphic artist type. A log of the graphics assets were probably created in a program like Photoshop and then imported into the project.

I've got the programming and UI design knowhow to do a game like that, but can't draw to save my life. I'd have to hire/partner with an artist.
__________________
Regards,
Duncan Champney, WareTo.
Check out our latest iOS app, Face Dancer, available for free on the App Store.
Duncan C is offline   1 Reply With Quote
Old Feb 25, 2013, 07:18 PM   #19
firewood
macrumors 603
 
Join Date: Jul 2003
Location: Silicon Valley
Quote:
Originally Posted by AppleDeviceUser View Post
I have no knowledge whatsoever in any programming language so it might be a little difficult. Btw does anyone know how it's even possible to code something like angry birds? Do they upload the images of the slingshot, birds etc? Or do they somehow make it with code?
Yes.

Your question is sort of like me asking how I might perform brain surgery on you, even though I haven't even applied to medical school yet. Or how to write a best-selling Russian novel before taking any courses in Russian or even in creative writing. How long would either of those take?

You're lucky, creating a great iPhone game is perhaps 4X easier to learn than either of the above.
firewood is offline   0 Reply With Quote
Old Mar 1, 2013, 08:47 PM   #20
samwise
macrumors regular
 
Join Date: Apr 2005
Location: North Salt Lake, Utah
Like the OP, I'm starting out playing around with XCode and wanting to learn Objective-C - the difference is my job is a tester/QA in a VB/SQL environment, so I have some working knowledge, albeit primarily SQL and VB6, with some VB 2008 just coming on-stream.

Of the books mentioned, which would be the best start, or is it down to personal preference, as I have some OO experience.
__________________
Ben
Mac Mini 1.66CD, 2Gb Ram, 320Gb 7200 HD MBP 13", 2.26C2D, 4Gb Ram, 500Gb 7200 HD iPhone 3G[S] 16Gb Black
samwise is offline   0 Reply With Quote
Old Mar 2, 2013, 03:11 PM   #21
atmenterprises
macrumors regular
 
Join Date: Jan 2006
Quote:
Originally Posted by samwise View Post
Like the OP, I'm starting out playing around with XCode and wanting to learn Objective-C - the difference is my job is a tester/QA in a VB/SQL environment, so I have some working knowledge, albeit primarily SQL and VB6, with some VB 2008 just coming on-stream.

Of the books mentioned, which would be the best start, or is it down to personal preference, as I have some OO experience.

I have a background similar to yours and I'm using the Big Nerd Ranch book.
__________________
Download LetterFool in the App Store.
atmenterprises is offline   0 Reply With Quote
Old Mar 4, 2013, 12:15 PM   #22
Kashsystems
macrumors 6502
 
Join Date: Jul 2012
One more thing I like to add is I found nsscreencast to be a great video tutorial website. Not free but 9 dollars a month is only a couple cups of coffee at Starbucks.

Last edited by Kashsystems; Mar 4, 2013 at 02:10 PM.
Kashsystems is offline   0 Reply With Quote
Old Mar 6, 2013, 01:39 PM   #23
andrewobrien
macrumors newbie
 
Join Date: Mar 2013
Definitely go for "Objective-C Programming. The Big Nerd Ranch Guide" by Aaron Hillegass as it is suitable for total newbies. You'll learn the basics of computer programming from the beginning. Also, you'll learn variables, switch statements, data types, flow control statements like for loops and while loops, etc. Basically, the main topic is about Objective C language.
andrewobrien is offline   0 Reply With Quote
Old Mar 6, 2013, 11:57 PM   #24
fun173
macrumors Demi-God
 
fun173's Avatar
 
Join Date: Mar 2009
Read something. I learned off of youtube and many many many hours of troubleshooting and finding my way around. I eventually spent a lot of time reading the Apple documentation on the Xcode interface and learned a lot about what those buttons do. If I had read a book i would have had an easier time grasping the code and understanding how everything works, It's 3 years later now and I'm fine, but that base knowledge and understanding would have certainly sped up the process. Good luck.
fun173 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
Best book to learn Objective-C for a complete beginner to programming? Rasta4i iPhone/iPad Programming 7 Dec 18, 2013 09:03 AM
Objective-C: What is subclassing? moonman239 Mac Programming 3 Feb 26, 2013 08:08 PM
New Objective-C Tutorial ryanhodson Wasteland 4 Feb 1, 2013 01:24 AM
Whats the best way to learn objective c? gusping Mac Programming 7 Aug 2, 2012 06:27 AM

Forum Jump

All times are GMT -5. The time now is 10:35 PM.

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

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