Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Good Learning Method for Objective-C? [closed]

I know this must be asked a millions times and can't be easy to answer as there is no definitive method.

I have been playing around with all sorts of things in Xcode and with Objective-C, however I can't seem to find a good way of learning things in an efficient way.

I have bought the book 'Programming in Objective-C 2.0' and it's great but just lays down the basics it seems.

I want to learn in the 2D game development direction, then of course 3D after nailing that, if that's the right thing to do?

I am 17, last year of school/A Levels and am almost definitely taking a gap year. Any good, well known reputable courses online or offline (real world)? This is my first programming language.

One last question, is when learning things online, I have in the past started building a feature and learning a certain aspect in programming only to find out after adding more its slows down the app or its to inefficient. Is the key to use a certain method in a certain situation (being os many ways to do the same thing) or use any of those methods and refine it in your app to make it run smoothly? Sorry, it's hard for me to know when I have little experience, thus far.

like image 772
Josh Kahane Avatar asked Oct 04 '10 21:10

Josh Kahane


People also ask

Is Apple still using Objective-C?

Furthermore, Objective-C is a piece of art, creators packed genius solutions and were constantly improving it, so us developers were able to use it at our advantage. There are a lot of indicators telling us there's still a ton of legacy Objective-C code, both from Apple and from other developers, that's still in use.

Can I learn Objective-C on Windows?

The best platform for developing Objective‑C is Mac OS. But Objective‑C programs can also be compiled and run on Windows or Linux by using GNUstep and an Objective‑C compiler.

Is Objective-C difficult to learn?

Aside from its funny-looking syntax, Objective-C is an easier language for beginner developers to learn.

Should I learn C before Objective-C?

Absolutely – you can learn Objective-C without knowing C. And in fact, if you're interested in learning to build iOS apps, you should just learn Objective-C first – it'll get you there much more quickly than learning C first, then Objective-C, then the iOS frameworks…


2 Answers

Cocoa and Objective-C Resources helped me a lot. It focuses more on mac programming than iOS.

How-to articles for iPhone development, Objective-C covers the iOS side very well.

like image 106
Greg Avatar answered Sep 19 '22 02:09

Greg


you'll need a few books/courses for a solid basis to build upon.

in your specific case, i recommend (in order):

  • a basic c++ book (see objective-c++ extensions for how this integrates with objc)
  • working with some well written c++ programs
  • then begin creating some simple c++ programs of your own
  • then a basic objc book (seems like you already have that - also, see notes below)
  • working with some well written objc programs
  • then begin creating some simple objc apps of your own
  • OpenGL is a technology you'll likely use for low-level graphics (iOS, and other platforms), so start modifying/extending some well written OpenGL programs, then create some of your own.

most of the code written for iOS games is not objc. you may also want to look into CoreGraphics.framework.

like image 22
justin Avatar answered Sep 19 '22 02:09

justin