• 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: <AppDelegate> does not implement the NSTextViewDelegate protocol
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: <AppDelegate> does not implement the NSTextViewDelegate protocol


  • Subject: Re: <AppDelegate> does not implement the NSTextViewDelegate protocol
  • From: Howard Siegel <email@hidden>
  • Date: Thu, 31 Mar 2011 21:17:00 -0700

Have you properly added the protocol declaration to your class interface
definition??

e.g.   @interface YouClass : BaseClass <NSTextViewDelegate> {...}

- h


On Thu, Mar 31, 2011 at 16:09, JAMES ROGERS <email@hidden> wrote:

> Everything works but I am getting the following:
>
> Warning:  Class "WinKeyer2AppDelegate" does not implement the
> 'NSTextViewDelegate' protocol."
>
> code snippet:
>
> - (void) awakeFromNib{
>        [<*textView> setDelegate:self];
> }
>
> - (void) textDidChange:(NSNotification *)aNotification {
>     < process string information from <textView>
> }
>
> NSTextView communicates with its delegate through methods declared both by
> theNSTextViewDelegate Protocol protocol and by its superclass’s
> protocol,NSTextDelegate Protocol. Note that all delegation messages come
> from the first text view.
> I have implemented a method from the super classe's  protocol. Why am I
> getting the warning?
> Thanks for help to the newbie.
>
> JIM ROGERS
> email@hidden
> http://web.me.com/jimrogers_w4atk
>
> _______________________________________________
>
> 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
>
_______________________________________________

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: 
 ><AppDelegate> does not implement the NSTextViewDelegate protocol (From: JAMES ROGERS <email@hidden>)

  • Prev by Date: <AppDelegate> does not implement the NSTextViewDelegate protocol
  • Next by Date: Re: <AppDelegate> does not implement the NSTextViewDelegate protocol
  • Previous by thread: <AppDelegate> does not implement the NSTextViewDelegate protocol
  • Next by thread: Re: <AppDelegate> does not implement the NSTextViewDelegate protocol
  • Index(es):
    • Date
    • Thread