• 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
help with delegates
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

help with delegates


  • Subject: help with delegates
  • From: Greg Guerin <email@hidden>
  • Date: Fri, 27 Mar 2009 10:45:30 -0700

albert jordan Mobility wrote:

In the code below, I fail the condition where I check to see if "_delegate" responds to the selector (test:didFinish:).
...
if ([_delegate respondsToSelector:@selector(test:didFinish:) ])
{
[_delegate test: self didFinish: true];
}

First, your question is about Cocoa. It has nothing to do with using Xcode. Cocoa questions are more appropriate on the cocoa-dev list.


  http://lists.apple.com/mailman/listinfo/cocoa-dev


Second, the obvious question is: Does your assigned delegate actually implement test:didFinish:?

If not, it needs to. If you believe it does implement test:didFinish:, check your source for test:didFinish:, because you might have a typo. If you don't see any typos, post your code.

  -- GG

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: help with delegates
  • Next by Date: Re: Xcode, Cocoa and std::list
  • Previous by thread: Re: help with delegates
  • Next by thread: Xcode Plugins: AppleScript Studio "Plugin Suite" documentation example does not work
  • Index(es):
    • Date
    • Thread