Archive

Posts Tagged ‘classes’

Objective-C Part 1: the Basics of Objects and Classes

August 27, 2008 1 comment

So, I have been asked to write a post explaining Objective-C. Objective-C is not an easy language to learn; I learned it by reading the several hundred paged language documentation on the Apple iPhone developer website. Yes, I did it in an afternoon, but it was not an easy afternoon. Objective-C is difficult because of what it is: a layer built on top of C; it cannot use syntax that would conflict with the existing C syntax. Objective-C is also, apparently, a dynamic language. The design of Objective-C is very different from, say, ActionScript or Java. I’m not sure how to really go about explaining this language, as I do not really have any good ideas for a tutorial project. I guess I can try to do this as a series of posts, and so, I will start with the basic concept of objects in this language.
Read more…

Follow

Get every new post delivered to your Inbox.