• 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: valueForKeyPath: not found in protocol
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: valueForKeyPath: not found in protocol


  • Subject: Re: valueForKeyPath: not found in protocol
  • From: Sherm Pendley <email@hidden>
  • Date: Tue, 16 Nov 2010 07:32:05 -0500

On Tue, Nov 16, 2010 at 7:28 AM, Sherm Pendley <email@hidden>wrote:

> On Tue, Nov 16, 2010 at 6:27 AM, Remco Poelstra <email@hidden>wrote:
>
>> Op 16 nov 2010, om 12:18 heeft Mark Wright het volgende geschreven:
>>
>> > You need to write your protocol declaration in
>> AudionetQueueDelegateProtocol.h as:
>> >
>> > @protocol AudionetQueueDelegate <NSObject>
>>
>> That does not seem to work.
>> I now have:
>> #import <UIKit/UIKit.h>
>> @protocol AudionetQueueDelegate <NSObject>
>> @end
>>
>> But then the warning returns.
>>
>
> Mark had the right idea, but the wrong protocol. You need to inherit from
> the NSKeyValueCoding protocol, not NSObject.
>

Never mind, I just read Mark's followup. Since NSKeyValueCoding is an
informal protocol, your formal protocol can't inherit from it. :-(

sherm--

--
Cocoa programming in Perl:
http://camelbones.sourceforge.net
_______________________________________________

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: 
 >valueForKeyPath: not found in protocol (From: Remco Poelstra <email@hidden>)
 >Re: valueForKeyPath: not found in protocol (From: Mark Wright <email@hidden>)
 >Re: valueForKeyPath: not found in protocol (From: Remco Poelstra <email@hidden>)
 >Re: valueForKeyPath: not found in protocol (From: Sherm Pendley <email@hidden>)

  • Prev by Date: Re: valueForKeyPath: not found in protocol
  • Next by Date: Re: Get current caret position
  • Previous by thread: Re: valueForKeyPath: not found in protocol
  • Next by thread: Get current caret position
  • Index(es):
    • Date
    • Thread