Re: xcode 3.2.1 default delegate class
Re: xcode 3.2.1 default delegate class
- Subject: Re: xcode 3.2.1 default delegate class
- From: Martin Redington <email@hidden>
- Date: Tue, 13 Oct 2009 16:17:33 +0100
It's a pretty standard Cocoa idiom to create an "App Controller",
which is a delegate of the application (and hence also gets placed
into the responder chain). I'd guess it's been created for you by
default as a convenience.
Mostly the app delegate is used for customising startup and shutdown
behaviour, but there are other delegate methods for app hiding,
activation, file opening, etc.
See the NSApplication delegate methods for more info ...
On Tue, Oct 13, 2009 at 3:54 PM, Julius Guzy
<email@hidden> wrote:
> Hi
> I've just installed xcode 3.2.1 and to my surprise saw that when I
> created a project e.g. MyProjectName it included by default
>
> MyProjectNameAppDelegate NSObject <NSApplicationDelegate>
>
> and that this object also had a presence in the MainMenu.xib of
> InterfaceBuilder.
>
> Clearly this has all been done for a reason and this reason includes
> ways I should take advantage of this object. Is it only there to
> facilitate program initialisation?
> Can anyone point me to further information about this?
> I tried googling but found nothing probably because I used the wrong
> search terms.
>
> Thanks
> Julius
> Julius J. Guzy
>
> Calle Almoines 41 Argyle Terrace
> Edif, Semiramis III/17 Derry
> 45710 Daimuz Northern Ireland
> Valencia BT48 0DL
> Spain
>
> http://juliuspaintings.co.uk
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
--
http://www.mildmanneredindustries.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden