In OS X 10.9 (xcode 5.1), how to show local notification on top-right(menu bar) in my program?

578 Views Asked by At

Why local notification is no supported by OS X 10.9? I know IOS has UILocalNotification Class.

I want to show some notification bellow menu bar which is generated by my program.

Is there any alternate way to do this? Or should I write my own local notification view?

1

There are 1 best solutions below

4
On BEST ANSWER

It sounds like you are looking for NSUserNotification functionality, which goes along with the MacOS NSUserNotificationCenter.

I've linked the documentation at Apple to help you out.

As you are learning, many classes and objects supplied in the iOS SDK don't have exact same classes and objects in the MacOS SDK. Anything with "UI" in the framework name is usually meant only for iOS.