• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Cocoa Open GL help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Cocoa Open GL help (From: Ondra Cada <email@hidden>)

  • Prev by Date: Re: Cocoa Open GL help
  • Next by Date: Re: Problem with O'Reilly Learning Cocoa book?
  • Previous by thread: Re: Cocoa Open GL help
  • Next by thread: Re: Cocoa Open GL help
  • Index(es):
    • Date
    • Thread