• 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: NSDistributedNotificationCenter questions.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSDistributedNotificationCenter questions.


  • Subject: Re: NSDistributedNotificationCenter questions.
  • From: "Mr. Gecko" <email@hidden>
  • Date: Fri, 18 Feb 2011 21:30:40 -0600

That may be the problem as this is a UIAgent and not a real GUI. The only GUI that appears is when you first open it or you open it again to change settings. I have many other types of notifications I'm listening for such as carbon events and accessibility events, but I don't know if they are added to the main event loop. I think I'm happy with just adding a autorelease pool and draining it at the end, I was just wondering what the problem could be. I'll test the idea by opening a UI after I get some stuff in the pool.

On Feb 18, 2011, at 8:20 PM, Ken Thomases wrote:

> Is your application getting any real GUI-style events, or is it only receiving the distributed notifications?  It's very possible that the main event loop's autorelease pool is only drained after processing a real event and not necessarily for every thing that's called out for a run loop source.
>
> Regards,
> Ken
>

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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: 
 >NSDistributedNotificationCenter questions. (From: "Mr. Gecko" <email@hidden>)
 >Re: NSDistributedNotificationCenter questions. (From: Ken Thomases <email@hidden>)

  • Prev by Date: Re: NSDistributedNotificationCenter questions.
  • Next by Date: Re: NSDistributedNotificationCenter questions.
  • Previous by thread: Re: NSDistributedNotificationCenter questions.
  • Next by thread: Re: NSDistributedNotificationCenter questions.
  • Index(es):
    • Date
    • Thread