Re: TextEdit sample app question
Re: TextEdit sample app question
- Subject: Re: TextEdit sample app question
- From: Brian Webster <email@hidden>
- Date: Mon, 29 Oct 2001 12:09:03 -0600
On Monday, October 29, 2001, at 05:23 AM, cocoa-dev-
email@hidden wrote:
Can somebody explain how has the FindPanel.nib been associated with
the TextFinder instance in the Edit.nib?
All of the Find menu items' actions are connected to the
TextFinder object in the Edit.nib file. When command-F is first
selected, orderFrontFindPanel: is sent to the TextFinder. This
in turn calls -findPanel to get the NSPanel to bring to the
front. If the panel has not yet been loaded, -findPanel will
call -loadUI, which loads the nib file with the TextFinder as
the nib's owner.
--
Brian Webster
email@hidden
http://homepage.mac.com/bwebster