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… Looking to read the rest of “Objective-C Access To Instance Variables?” Click this link!
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 read the rest of this post
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 this article
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… Click this link to continue reading the rest of this article