• 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: Question about respondsToSelector
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about respondsToSelector


  • Subject: Re: Question about respondsToSelector
  • From: Mike Fischer <email@hidden>
  • Date: Tue, 19 Aug 2008 18:35:54 +0200

Am 19.08.2008 um 15:36 schrieb "Carmen Cerino Jr." <email@hidden>:

         if ([_delegate respondsToSelector:
@selector(SGDecompDataProc:)]){

The signature of your method seems to be:

SGDecompDataProc:trackingFlags:displayTime:displayDuration:validTimeFlag s:

not:

SGDecompDataProc:

So you are testing for the wrong method here.



             [_delegate SGDecompDataProc:pixelBuffer
               trackingFlags:decompressionTrackingFlags
               displayTime:displayTime
               displayDuration:displayDuration
               validTimeFlags:validTimeFlags];


HTH
Mike
--
Mike Fischer     Softwareentwicklung, EDV-Beratung
                                Schulung, Vertrieb
Note:             I read this list in digest mode!
      Send me a private copy for faster responses.

_______________________________________________

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


  • Prev by Date: Re: Shared NSTextView
  • Next by Date: Re: Including frameworks in your app bundle
  • Previous by thread: Re: Question about respondsToSelector
  • Next by thread: MultiTouch.framework Beta Program
  • Index(es):
    • Date
    • Thread