• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Getting NSApplicationDelegate protocol
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Getting NSApplicationDelegate protocol (From: ecir hana <email@hidden>)
 >Re: Getting NSApplicationDelegate protocol (From: "Stephen J. Butler" <email@hidden>)
 >Re: Getting NSApplicationDelegate protocol (From: ecir hana <email@hidden>)
 >Re: Getting NSApplicationDelegate protocol (From: "Stephen J. Butler" <email@hidden>)
 >Re: Getting NSApplicationDelegate protocol (From: Ken Thomases <email@hidden>)

  • Prev by Date: Re: NSTextView scrolls to top when text storage changes
  • Next by Date: Problem adding subview to NSScroller subclass
  • Previous by thread: Re: Getting NSApplicationDelegate protocol
  • Next by thread: Re: Getting NSApplicationDelegate protocol
  • Index(es):
    • Date
    • Thread