Re: Delegates -- WHAT is delegated?
Re: Delegates -- WHAT is delegated?
- Subject: Re: Delegates -- WHAT is delegated?
- From: Sam Colombo <email@hidden>
- Date: Tue, 19 Dec 2006 23:05:54 -0600
Silly me, I was looking in the headers where I would expect to find it.
A quick comparison of headers with the documentation list leads that you
mentioned (thank you) for NSWindow and NSApplication leads me to believe the
delegatable methods are mainly in the NSApplicationDelegate or
NSWindowDelegate protocols and the NSApplicationNotifications and
NSWindoNotifications respectively. Supposedly, notifications automatically
get sent to delegates anyway.
> Open up the documentation window in XCode.
>
> Type "setDelegate:" (without the quotes) into the search field - it
> will display those classes that have delegates - there's about 50 of
> them or so (plus their subclasses).
>
> Pick any class that has a setDelegate method. Scroll down through
> the documentation - near the bottom will be the "Delegate Methods by
> Task" (and "Delegate Methods" which are in alphabetic order). Lists
> everything a delegate can implement to alter the behavior of the object.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden