Re: [NSApp setDelegate]
Re: [NSApp setDelegate]
- Subject: Re: [NSApp setDelegate]
- From: "Don Arbow" <email@hidden>
- Date: Tue, 5 Jun 2001 13:19:38 -0700
You just need to instantiate your delegate class in Interface Builder, then
drag a connector from the File's Owner to the class' icon, you'll then see the
delegate variable highlight in the inspector. This is how the majority of
applications set their delegate.
The setDelegate method is usually used if, for some reason, you wish to switch
delegates in the middle of your program.
Don