• 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: DO in all run loop mode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DO in all run loop mode


  • Subject: Re: DO in all run loop mode
  • From: "Julien Jalon" <email@hidden>
  • Date: Thu, 21 Feb 2008 10:19:42 +0100

-[NSConnection addRequestMode:]
Before Leopard, use "pseudo-mode" (id)kCFRunLoopCommonModes.
Since Leopard, use "pseudo-mode" NSRunLoopCommonModes

This will register your connection to all common modes, which means, at
least, default mode, modal mode and event tracking mode.

Beware that this also means you can get called in the middle of a tight
event loop so can get "re-entrancy" problems.

--
Julien

On Wed, Feb 20, 2008 at 4:50 PM, Alexander Cohen <email@hidden>
wrote:

> Hi, is there any way to get Distributed objects working in all run
> loop modes? It seems like as soon as my app puts up a modal dialog, DO
> stops is in sleep mode until the modal goes away?
>
> thanks
>
> AC
> _______________________________________________
>
> 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: 
 >DO in all run loop mode (From: Alexander Cohen <email@hidden>)

  • Prev by Date: Custom View drawn twice?
  • Next by Date: Re: Associating interface state with NIB content
  • Previous by thread: Re: DO in all run loop mode
  • Next by thread: Mutable Convenience Methods
  • Index(es):
    • Date
    • Thread