On Sat, Jul 7, 2012 at 6:30 AM, Ken Thomases <k...@codeweavers.com> 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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to