On Thu, Feb 21, 2008 at 2:06 PM, Mike Abdullah
<[EMAIL PROTECTED]> wrote:
> If the view's being loaded from a nib it's archived, so you need -
>  initWithCoder:

I'm not sure -initWithCoder: is guaranteed to be called, and is
certainly not the "proper" place to be performing object
initialization after awaking from a nib.  The official recommendation
is to either create an IB plugin so that your version of
-initWithFrame: is called at design time, or perform subclass-specific
initialization in -awakeFromNib.

http://lists.apple.com/archives/cocoa-dev/2002/Jul/msg01647.html

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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