I am new to Objective C. I have trouble with understanding the init() method. I have read these two lines on Apple website:
The init() method defined in the NSObject class does no initialization; it simply returns self. (https://developer.apple.com/reference/objectivec/nsobject/1418641-init)
You must use an init... method to complete the initialization process. (https://developer.apple.com/reference/objectivec/nsobject/1571958-alloc)
Do I need to call init() to initialize objects if "it does no initialization"? Why?
initmethod afteralloc. Why? Well, if for no other reason, because they are very consistent and repeatedly tell us that we have to. See Working with Objects if you're looking for further references. - Rob