I found that it possible to create init method which receive the arguments, but in this case it need to declare it in the header file, versus the case without arguments, so it just override the init method of NSObject.

My question is: what is the best practice in such cases: create initializer as different method and call it in super init, or here possible call init with arguments?

Thank you very much


Check out pages 55-58 of the book; they discuss a concept called designated initializers.


Thank you MikeyWard, I found the answer for my question.