• 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
Newbie Q : mysteriously established connection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: displaying an NSImage in custom NSView
  • Next by Date: [OFFER] Cocoa Job
  • Previous by thread: DRBurnProgressPanel is not working
  • Next by thread: Re: Newbie Q : mysteriously established connection [SOLVED]
  • Index(es):
    • Date
    • Thread