NSView initWithFrame called twice
NSView initWithFrame called twice
- Subject: NSView initWithFrame called twice
- From: "Albert Russel" <email@hidden>
- Date: Sun, 11 Aug 2002 17:38:37 +0200
I have a NSView derived custom view within an NSScrollView. It has the
following initialization method:
- (id) initWithFrame:(NSRect) frameRect
When my program starts the initWithFrame method gets called twice. I
understand that when the nib file is unarchived one init message is sent to
my custom view but where does the second message come from? Is it sent from
the NSScrollView and if so how do I prevent this from happening.
Hank.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.