Site Search
Homepage of Otaku No Zoku
Complete Archives of Otaku No Zoku
About Otaku No Zoku
Subscribe to Otaku No Zoku
Bookmark Otaku No Zoku

Objective-C Access To Instance Variables :

Instance variables belonging to an Objective-C 2.0 class are declared protected by default, unlike regular C++ or even C# whereby all declared member variables are private by default. This always confuses C++/C# programmers who are new to Objective-C so if you are familiar with either of those two languages, be aware of this point. Protection… Craving to read the remainder of “Objective-C Access To Instance Variables?” Click the link!

: Game Programming and Game Development :

Objective-C Property Accessors :

This short article covers Objective-C 2.0 property accessors that do not have an associated instance variable. Objective-C 2.0 offers the ability to automatically declare and implement class properties via the @property and @synthesize compiler directives. For the most part, these two compiler directives, part of the Declared Properties feature, go hand in hand with each… Click to continue reading the rest of this post

Objective-C Class Properties :

Objective-C 2.0 offers some neat new features that make life easier for programmers. If you’re familiar with Java programming you are used to declaring getter and setter functions to access the instance variables of a class, and similarly in C#, you have the ability to declare property functions, get and set, which do the same… Continue reading the remainder of the article

Objective-C Categories :

Objective-C supports inheritance (but not multiple inheritance) like any good object oriented language. However, like many newer OOP languages, such as C# and Ruby, Objective-C 2.0 also supports extension methods, which in Objective-C parlance are called Categories. If you are at all familiar with C# (3.0 and on) you might have created extension methods, extending… Craving to read the remainder of “Objective-C Categories?” Click here!