Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I'm looking for technical details on how the Notification Center is architected on Mountain Lion so I can make the most use of it as a user of OS X. Specifically, does it receive messages directly from Apple's push notification service? The high level overview documentation on Apple's developer site for Notification Center mentions UDP delivery of a notification so it seems a network trigger is provided but I can't find a reference to or example of this being implemented on Mountain Lion.

If not, can it receive messages from the local network or just from other programs that run locally on OS X?

share|improve this question
    
If it doesn't receive push notifications directly, one could run a local program to listen for said notifications and trigger notification center notifications. –  Daniel Lawson Aug 27 '12 at 21:27
add comment

1 Answer

It can work in a couple of ways. One, as you say, is through APNS.

Apps can also use the local notification centre to trigger a notification (you can see this in XCode when a build completes for example).

What are you trying to do? Maybe I can point you at the right document.

share|improve this answer
    
To give you an example with the same content: if you use twitter with the builtin option, your notifications come from outside your computer - if you were using the Tweetbot alpha, you could get notifications for the same content from Tweetbot, provided you enabled those. –  GhostLyrics Sep 5 '12 at 1:03
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.