Newbie Q : mysteriously established connection
Newbie Q : mysteriously established connection
- Subject: Newbie Q : mysteriously established connection
- From: email@hidden
- Date: Wed, 9 Aug 2006 12:33:38 +0200 (CEST)
- Importance: Normal
Hello all,
there's a detail that puzzles me in the source code for TextEdit
(available in /Developer/Examples/AppKit/). The "Document" class
has a member called "scrollView", and I can see with the debugger that
scrollView (which has type ScalingScrollView*) gets initialized
exactly when the command
[NSBundle loadNibNamed:@"DocumentWindow" owner:self]
is executed. My question is : how does the computer know
the "scrollView" member is connected to the UI object
of type ScalingScrollView in DocumentWindow.nib ? scrollView is not
even declared as an IBOutlet in Document.h, and from what I
can see in the "ScalingScrollView" inspector, the UI object in the nib is
not
connected to anything.
Ewan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden