I know Java and Objective C are totally different languages, but I thought may be since both are object oriented languages, there maybe some similarities between the two to help me make the transition. I also know C, so some of the stuff is looking similar.
Could someone help me figure out how to code in Obj-C?
Here's what I know so far:
- and + in front of a method is like a non static and a static method in Java
both have Object as their parent class (although I don't know if it's needed in Obj-C)
currently I'm trying to figure out why you need to alloc and then init. I know alloc allocates the space, but I don't know what init does. I still figuring out how a constructor looks like in Obj-C