Good learning method for Objective-C?

I know this needs to be asked millions of times, and it’s not easy to answer, since there is a final method, but any help would be appreciated, thanks.

I play with all things in Xcode and with Objective-C, however I cannot find a good way to learn things effectively.

I bought the book "Programming in Objective-C 2.0" and its excellent, but just the foundation in it.

I want to study in the 2D direction of game development, then, of course, 3D after nails, if it is right, what should I do?

I am 17 at the age of 13, last year at A / Levels, and I almost certainly take an intermediate year. Any good, well-known reputable courses online or offline (real world)? This is my first programming language, and I am absolutely serious about it.

One of the last questions is when you study on the Internet, in the past I started to create a function and study a certain aspect in programming, to find out, adding even more, slows down the application or its inefficiency. Is the key to use a certain method in a certain situation (how many ways to do the same) or to use any of these methods and improve it in your application so that it works smoothly? Unfortunately, it's hard for me to know when I have little experience, yet.

Sorry for the rambling! I would be grateful for any help, thanks!

+6
objective-c iphone ipad macos
source share
4 answers

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

Practical articles for developing iPhone, Objective-C covers iOS very well.

+3
source share

You will need several books / courses for a solid foundation.

in your particular case, I recommend (in order):

  • C ++ base book (see objective-c ++ extensions for how it integrates with objc)
  • work with some well-written C ++ programs
  • then start creating some simple C ++ programs.
  • then the objc base book (it looks like you already have this - see also the notes below).
  • works with some well-written objc programs
  • then start creating some simple objc applications from your own
  • OpenGL is a technology that you are likely to use for low-level graphics (iOS and other platforms), so start modifying / expanding some well-written OpenGL programs and then creating your own.

most of the code written for iOS games is not objc. You can also look at CoreGraphics.framework.

+1
source share

For the iPhone, start with the book you have, go through it on the cover, doing all the exercises. I did the same, and this is a huge help.

Next, you need to learn about the basics of cocoa, starting with creating simpler applications that don't have tons of 3D materials. I highly recommend the iTunes U course (free at the itunes store) from Stanford University on iPhone programming. The entire course is hosted and it really teaches well. I used the book that you have, and this course, and you will go pretty far.

Learn more about Core Graphics. I haven’t done much in this, but it will help you with 2D.

It is important not to rush with each of these steps and make sure that you really have one aspect before moving on, or you will completely lose.

After Core Graphics, go to Open GL or the iPhone version (I think OpenGL ES).

Then you will have a pretty solid foundation for learning games.

All this will likely take you months. Good luck.

+1
source share

The best way to learn is to do it. What game do you plan to develop? You mentioned 2D games, but which 2D games? If you are interested in 2D board games, try GeekGameBoard. It uses Core Animation.

Please take a look at Cocos2D, this is a good framework for creating a game.

Most importantly, you need to know the mechanism of the game. For example, how to switch from one saturation to another. The above GeekGameBoard is a good complete reference. Or you can get "iPhone Advanced Projects". On my head, I remember in the second (or third?) Chapter, the author of the popular iPhone game provides sources for a simplified version of his game. In the first chapter, the author of Deep Green chess will tell you how to create a great animated game.

+1
source share

All Articles