On 25 Jun '08, at 7:01 AM, JArod Wen wrote:

So if I have initialization method in the class, I need not to instantiate it explicitly in code, correct? IB will create the instant using the initialization method. Is this correct?

You don't need a custom -init method for an object in a nib. If you have an instance of your class in a nib, then it'll be loaded out of the nib at runtime. If your object needs to do some kind of setup after it's loaded, it should implement -awakeFromNib and do it there.

—Jens_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to