Re: Getting NSApplicationDelegate protocol
Re: Getting NSApplicationDelegate protocol
- Subject: Re: Getting NSApplicationDelegate protocol
- From: ecir hana <email@hidden>
- Date: Sat, 07 Jul 2012 08:47:39 +0200
On Sat, Jul 7, 2012 at 6:30 AM, Ken Thomases <email@hidden> wrote:
> >
> > Thank you. And please, can you explain to me why is it that case? Is it
> simply because AppKit includes the definition of NSTextViewDelegate
> protocol and not includes one for NSApplicationDelegate?
>
> Correct.
>
> > Is it somewhere documented which protocols are not included?
>
> I doubt it. It's not that anybody made a conscious decision to omit
> NSApplicationDelegate. It's just a consequence of how the code was written
> and what the compiler and linker do.
>
> > I mean, besides NSApplicationDelegate, what other delegate definitions
> cannot be obtained at runtime?
>
> Who knows. It depends entirely on what the AppKit code used and what the
> compiler and linker did with that.
>
> > Or is there anything like AppKit which, after being loaded, provides the
> definitions?
>
> Anything which referenced them in the described manner (includes a class
> which adopted them or code which references them via @protocol()).
>
>
Thank you so much for the explanation!
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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