• 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: Receiving system notifications in 10.8
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Receiving system notifications in 10.8


  • Subject: Re: Receiving system notifications in 10.8
  • From: Carl Hoefs <email@hidden>
  • Date: Thu, 10 Oct 2013 21:40:21 -0700

On Oct 10, 2013, at 9:28 PM, Jens Alfke <email@hidden> wrote:

>
> On Oct 10, 2013, at 7:38 PM, Carl Hoefs <email@hidden> wrote:
>
>> How does one receive notifications from 10.8's new system-wide Notification Center? Is there a framework that allows a Cocoa program to receive system notifications, i.e., the ones that show automatically in the upper right hand of the screen?
>
> No, it’s the other way around — Notification Center is for apps to _send_ notifications to, not receive them. The notifications are purely for the user to see.

Tantalizing, to be able to see them and not act on them programmatically.
>
> There are several existing mechanisms like NSDistributedNotification, NSWorkspace and kqueues for getting programmatic notifications of things outside your process. Is there something specific you want to be notified of?

Lots of applications come to mind, if such a mechanism were available. To be able to know when a certain song is playing in iTunes Radio and crank up the volume, or to send out a text/email/tweet when certain notifications are posted, etc. I would think this would be Generally Useful. Wish there were a way...

- Carl


_______________________________________________

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


  • Follow-Ups:
    • Re: Receiving system notifications in 10.8
      • From: Jens Alfke <email@hidden>
References: 
 >Receiving system notifications in 10.8 (From: Carl Hoefs <email@hidden>)
 >Re: Receiving system notifications in 10.8 (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: collection of applications
  • Next by Date: UINavigationController subclass won't load its nib.
  • Previous by thread: Re: Receiving system notifications in 10.8
  • Next by thread: Re: Receiving system notifications in 10.8
  • Index(es):
    • Date
    • Thread