On Sat, Feb 23, 2008 at 2:02 AM, Francois-Jean De Brienne
<[EMAIL PROTECTED]> wrote:
> Thanks alot, kyle, that does it. Initializing my layer in the
>  awakeFromNib method, my delegate does get called.
>
>  But why?

The post I linked you to explains it all; when AppKit loads your nib,
it creates the layer for you, but only after your -initWithFrame: has
been called.  So any layer you create and set in -initWithFrame: is
going to be wiped out in between initialization and -awakeFromNib.

--Kyle Sluder
_______________________________________________

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