Re: Cocoa Open GL help
Re: Cocoa Open GL help
- Subject: Re: Cocoa Open GL help
- From: Raphael Sebbe <email@hidden>
- Date: Tue, 11 Sep 2001 15:23:17 +0200
Ondra,
That is not true, see my previous mail. Custom classes that are defined
by the user are not loaded in IB (where would it find the executable
anyway ?), but instead a proxy object is stored in the nib; it contains
the class name. The actual object is created (-init or -initWithFrame:
is invoked, it is not unarchived) when the nib is loaded by the
application.
Raphael
On Tuesday, September 11, 2001, at 03:03 PM, Ondra Cada wrote:
Brent,
Brent Gulanowski (BG) wrote at Tue, 11 Sep 2001 08:29:58 -0400:
BG> I'm personally having trouble figuring out why my -init method for
BG> MyOpenGLView isn't being called. It's a nib object; should I put
init
BG> stuff into awakeFromNib?
Yep. The object was inited already when put into NIB; when the NIB is
read
to application, the object is just unarchived, so there is no reason
for it
to be inited again.
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev