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 Dec 12, 2012, 06:16 PM   #1
Woodshark69
macrumors newbie
 
Join Date: Dec 2012
I Need Help Learning Objective-c!!

Well the title says it all. I am trying to learn objective-c coding so that i can iPad/iPod/Mac apps but lack all knowledge of doing this. When I mean I lack the knowledge I mean that I have never coded anything before in my life. I know that a semi-colon ends a statement and some other basic tips but thats it. I am currently looking for a book/video thats is very detailed and very in depth and something that I can UNDERSTAND! I don't want anything that a normal person that has never couldn't understand. Also, I'm sure that someone else has probably posted something exactly like this but I have searched the forums and not found anything that really resembles as to what I am asking for. Thank You in advance.
Woodshark69 is offline   0 Reply With Quote
Old Dec 12, 2012, 06:41 PM   #2
mfram
macrumors 6502a
 
Join Date: Jan 2010
Location: San Diego, CA USA
You're going to have to learn to crawl (learn logic, write basic command-line C programs) before you are going to be able to run a marathon (submit an app to the AppStore). Make no mistake... if you are starting from ground zero having never programmed before it's going to take many months (and maybe over a year) to begin to get to the point where you can write real iPhone apps.

There are lots of threads in this forum from people asking the same question as you. Please feel free to read thorough them. There are no shortcuts to knowledge. It's going to take a lot of work.
mfram is offline   0 Reply With Quote
Old Dec 12, 2012, 09:03 PM   #3
lee1210
macrumors 68040
 
lee1210's Avatar
 
Join Date: Jan 2005
Location: Dallas, TX
http://guides.macrumors.com/Cocoa_FAQ

Read this first. I would pick a book and read through it, and we can help along the way. The Stanford iTunes U courses also seem well liked, so check those out. Along the way, come ask questions, we'll be glad to help. Write as much code as you can, and ask for critiques. Don't just do the exercises, tweak things about them. Enhance them. Understand what each line is doing, then challenge your understanding through experimentation. If there are local community colleges, see what they have to offer. See if there are any local groups that gather to talk code.

Good luck. Expect frustration. Don't give up.

-Lee
lee1210 is offline   0 Reply With Quote
Old Dec 12, 2012, 10:06 PM   #4
ArtOfWarfare
macrumors 603
 
ArtOfWarfare's Avatar
 
Join Date: Nov 2007
Send a message via Skype™ to ArtOfWarfare
Before you learn Objective-C, you need to learn C.

I advise reading (and doing the exercises contained within) the free ebook Learn C the Hard Way:

http://c.learncodethehardway.org/book/

Not every topic covered by that book is essential... the key things that you really should know before going any further are:

Variables
Operations
Functions
Control... the term escapes me right now... Control structures? The different loops and conditional stuff and whatnot...
Pointers
Arrays
Structures

... basically it's all covered in the first half of the book. Beyond that he gets into... well, algorithms and data structures like the title of the second half implies... it's not as important that you learn those because it seems like most of what he covers there you won't ever have to implement yourself because every API/SDK comes with them already...
__________________
Don't tell me Macs don't last: 2007 iMac, 2007 Mac Mini, 2008 MacBook Air, all Vintage.
(iMac obsoletion: April 28, 2015, MBA: October 14, 2015, Mac Mini: March 9, 2016)
ArtOfWarfare is online now   0 Reply With Quote
Old Dec 12, 2012, 10:30 PM   #5
lee1210
macrumors 68040
 
lee1210's Avatar
 
Join Date: Jan 2005
Location: Dallas, TX
Quote:
Originally Posted by ArtOfWarfare View Post
well, algorithms and data structures like the title of the second half implies... it's not as important that you learn those because it seems like most of what he covers there you won't ever have to implement yourself because every API/SDK comes with them already...
I responded again to express how sad this makes me. Very sad. Understanding data structures is extremely important even if you never implement them yourself, because it's critical to know how to use them. And when. And why. And where. And a lot of what informs that is understanding algorithms.

Sorry, reading that put me into a mini-rage. It's over.

-Lee
lee1210 is offline   2 Reply With Quote
Old Dec 12, 2012, 11:15 PM   #6
chown33
macrumors 603
 
Join Date: Aug 2009
Quote:
Originally Posted by lee1210 View Post
I responded again to express how sad this makes me. Very sad. Understanding data structures is extremely important even if you never implement them yourself, because it's critical to know how to use them. And when. And why. And where. And a lot of what informs that is understanding algorithms.

Sorry, reading that put me into a mini-rage. It's over.

-Lee
It's not over until December 21st, right? Right? The ancient Mayan programmers computationists calendarists would be disappointed to learn their calculations were wrong.
chown33 is offline   0 Reply With Quote
Old Dec 13, 2012, 09:23 PM   #7
Sydde
macrumors 68000
 
Sydde's Avatar
 
Join Date: Aug 2009
Quote:
Originally Posted by chown33 View Post
It's not over until December 21st, right? Right? The ancient Mayan programmers computationists calendarists would be disappointed to learn their calculations were wrong.
This makes me sad. The Mayan calendar does not even end on the 21st, it is just a new baktun. Everyone we have known personally, so far, has been born and lived in the 12th baktun, 21 December only marks the beginning of baktun 13, which is in no way the end of the cycle, because Mayan cycles were based on 20s.

This baktun began two years after the death of Will Shakespeare and two years before the Mayflower landed on Cape Cod. A lot has transpired in this 396 year mini-epoch, we should celebrate (and fear) what number 13 will bring. Party down, folks.

(Yes, I know you were not serious, chown33.)
__________________
You got to be a spirit. You can't be no ghost.
Sydde is offline   1 Reply With Quote
Old Dec 13, 2012, 11:12 PM   #8
larswik
macrumors 65816
 
Join Date: Sep 2006
The Mayan's just ran out of stone
__________________
I know more than yesterday.
Lars
larswik is offline   0 Reply With Quote
Old Dec 14, 2012, 06:58 AM   #9
960design
macrumors 6502a
 
Join Date: Apr 2012
Location: Destin, FL
Quote:
...I am trying to learn objective-c coding
Try starting here: https://www.bignerdranch.com/index

Specifically here: https://www.bignerdranch.com/books

Purchase and read:
1) Objective-C Programming: The Big Nerd Ranch Guide
2) iOS Programming: The Big Nerd Ranch Guide (3rd Edition)

This will get you off in the right direction, seriously. Anything else you purchase will probably frustrate you or sit on your shelf until you finally give up or get around to these books. Most books are created for classroom teaching where a genius type coding instructor fills in the little gaps that new programmers can get completely lost in. If you are learning on your own, you need a book that caters towards that. After you have developed a little base knowledge, then you can dive into whatever book you are interested in. You will know enough to decide if the book is useful or just crap; teaching the same old theory junk starting you off on completely useless exercises and wasting twenty pages on what an int is.

Good luck

PS I disagree with typical theory based learning. The nerd guys have pretty much figured out how to teach people to code. They teach what you need, when you need it and why. Start with the two above books, in either order, if you start with the second book, because you want to 'jump right in' and start to find yourself lost, go back to the first book until you catch up. There are many things in programming that will completely mess with your mind. Just think about for a second. How long would it take you to learn Chinese? After a couple of weeks, you'd be good enough to struggle through and order a meal and place to stay, but to hire a bunch of people to build a unique structure, like an airplane? That will take years of language understanding, not to mention probably increasing your skills in fluid dynamics, physics, math, ect.
__________________
TI-99/4A, tape cassette, 12" B&W Zenith

Last edited by 960design; Dec 14, 2012 at 07:11 AM.
960design is offline   0 Reply With Quote
Old Dec 14, 2012, 07:04 AM   #10
T'hain Esh Kelch
macrumors 65816
 
T'hain Esh Kelch's Avatar
 
Join Date: Aug 2001
Location: Denmark
Send a message via ICQ to T'hain Esh Kelch Send a message via AIM to T'hain Esh Kelch Send a message via MSN to T'hain Esh Kelch
I learned a lot of the basics by watching this guys YouTube videos.
__________________
"There's no bigot like a religious bigot and there's no religion more fanatical than that espoused by Macintosh zealots." ~Martin Veitch, IT Week [31-01-2003]
T'hain Esh Kelch is online now   0 Reply With Quote
Old Dec 14, 2012, 07:07 AM   #11
balamw
Moderator
 
balamw's Avatar
 
Join Date: Aug 2005
Location: New England, USA
Quote:
Originally Posted by 960design View Post
Not every book resonates with every person. Personally, I prefer Kochan's approach of learning C once you've played with objects for a while.

http://www.amazon.com/Programming-Ob...dp/0321811909/

Quote:
Originally Posted by larswik View Post
The Mayan's just ran out of stone
OT: But since we're on the topic of books. Actually they had tons of paper books. All but three were destroyed during the Spanish conquest.

B
__________________
MBA (13" 1.7 GHz 128GB), UMBP (15" SD 2.8 GHz), UMB (13" 2.4 GHz), iMac (17" Yonah), 32GB iPad 3 WiFi+LTE, 64 GB iPad WiFi, 32 GB iPhone 5, Airport Extreme
balamw is offline   0 Reply With Quote
Old Dec 14, 2012, 07:21 AM   #12
960design
macrumors 6502a
 
Join Date: Apr 2012
Location: Destin, FL
Quote:
Not every book resonates with every person. Personally, I prefer Kochan's approach of learning C once you've played with objects for a while.
Absolutely true, and that is a great objective C book, sitting on my shelf right now, actually. I guess I focused more on the final goal ( of app development ) and wanted to provide a consistent and structured framework for that purpose.

There just isn't enough space or time to right all the great books out there.
__________________
TI-99/4A, tape cassette, 12" B&W Zenith
960design 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

Similar Threads
thread Thread Starter Forum Replies Last Post
Which book for learning Objective-C should I choose? BoxerRobban472 iPhone/iPad Programming 17 Aug 27, 2014 01:22 AM
Resolved: Learning objective-C? Curax iPhone/iPad Programming 4 Sep 7, 2013 11:28 AM
Book to start learning C-objective themis.b iPhone/iPad Programming 12 Mar 29, 2013 10:43 AM
Learning Objective C iPadProd iPhone/iPad Programming 4 Nov 18, 2012 05:37 PM

Forum Jump

All times are GMT -5. The time now is 07:31 AM.

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

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