The cocoa view guide describe how to create a custom view. but I’m confused whether the cocoa will call the initWithFrame: method of a view.

How to create a custom view.

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
-initWithFrame:will be called for your custom view only if you use Custom View palette in IB. If you create, for example, textfield in IB and set it class to your custom textfield subclass-initWithFrame:will not be called but-initWithCoder:will.