• 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: Cocoa's custom class delegate conventions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa's custom class delegate conventions


  • Subject: Re: Cocoa's custom class delegate conventions
  • From: Dustin Voss <email@hidden>
  • Date: Sun, 15 Jun 2003 12:06:12 -0700

On Friday, June 13, 2003, at 10:00 PM, Jean-Francois Roy wrote:

My questioning is really about the sending of delegate selectors more than checking if a delegate implements a given method? Should I send on the main thread or not?

Standard practice seems to be that the delegate is called in the current thread. Which is as it should be. Consider, the user started a sub-thread so that the main thread wouldn't be doing things. If your class routes activity to the main thread (and it is difficult to re-route activity back to a sub-thread), he might as well not have bothered.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
References: 
 >Re: Cocoa's custom class delegate conventions (From: Jean-Francois Roy <email@hidden>)

  • Prev by Date: sheet without dock icon bounce?
  • Next by Date: Re: Subclass
  • Previous by thread: Re: Cocoa's custom class delegate conventions
  • Next by thread: Re: Cocoa's custom class delegate conventions
  • Index(es):
    • Date
    • Thread