I thought it would be important for any readers of this blog (if there are any), to know what Object Orientated Programming is and to know at least the very basic of it.
So here it is, a very quick overview on Object Orientated Programming (OOP)
In OOP, you define classes, which are abstractions of things, for example, an animal class (the most used example in my experience). Classes have attributes and methods, in this case, attributes would be size, color, etc., while methods would be run, jump, eat, etc.
However, “animal” is too abstract, so we could create a dog class that is a subclass of the animal class. It inherits most of the attributes (there are different kind of attributes, private and protected *) and methods from the animal class, but it implements some new ones.
When at runtime, we create objects from those classes, say, an object called “Lassie” that is of the dog kind.
When we create them, we have to set up some of their attributes, for that we use initializers or constructors. In ObjC, they are methods which’s names usually start with “initWith…”. They are usually quite clear of what they require.
*Kinds of attributes :
In ObjC, attributes are, by default, private. If you don’t specify it, other objects can’t access them.
To make them accessible, we use @property and @synthesize/@dynamic on the interface declaration.
There you have a really quick overview on how OOP works.





