Re: delegate outlet
Re: delegate outlet
- Subject: Re: delegate outlet
- From: James Spencer <email@hidden>
- Date: Fri, 9 Apr 2004 20:08:52 -0500
On Apr 9, 2004, at 12:29 AM, Markian Hlynka wrote:
On Apr 8, 2004, at 22:29, email@hidden wrote:
Make some object of yours the application's delegate (in your nib,
connect the "delegate" outlet to your object). Then in that class,
implement -applicationDidFinishLaunching:.
pardon the beginner question, but where do I do that in interface
builder?
Write the delegate class in xCode or PB (it doesn't have to be anything
special, just subclass from NSObject) including the delegate method in
the header. Read the header file into your MainMenu.nib then
"Instantiate" the delegate class (under the Classes menu). That will
create an object of that class in your nib which will load when the
application loads and you can connect the delegate outlet of the File
Owner (which will be the application) to this object.
Spence
James P. Spencer
Rochester, MN
email@hidden
"Badges?? We don't need no stinkin badges!"
_______________________________________________
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.