简体   繁体   English

Dropbox 的内置通知系统

[英]Dropbox's built-in notification system

Does anyone know how to create a notify window like the dropbox's built-in notification system in cocoa?有谁知道如何像 cocoa 中的保管箱内置通知系统一样创建通知 window?

window like window 喜欢

Links about the notification system关于通知系统的链接

Thanks谢谢

The answer is in your question: Dropbox is using Growl for notifications.答案就在您的问题中:Dropbox 正在使用 Growl 进行通知。 Here is Growl developer documentation .这是Growl 开发人员文档 Oh, and don't tell the Growl developers that the nofitication system is built-in .哦,不要告诉 Growl 开发人员 nofitication 系统是内置的 ;-) ;-)

Ok I found the way to implementation this.好的,我找到了实现这一点的方法。 Do not use the Interface Builder,objective-c code instead.Rewrite the NSWindow as you want.不要使用 Interface Builder,objective-c 代码代替。根据需要重写 NSWindow。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 有没有办法以编程方式确定Apple内置控件的合适大小? - Is there a way to programmatically determine the proper sizes for Apple's built-in controls? 您能以编程方式在 Mac OS 的内置词典中查找单词吗? - Can you programmatically look up a word in the Mac OS's built-in dictionary? Cocoa内置密码验证对话框? - Built-in password authentication dialog in Cocoa? 子视图中的NSView touchesMovedWithEvent是否正在暂停具有内置触控板的SKScene,而不是魔术触控板? - NSView touchesMovedWithEvent in subview is pausing an SKScene with built-in trackpad, but not magic trackpad? 获取键盘类型的macOS并检测内置,屏幕或USB - Get keyboard type macOS and detect built-in, onscreen or USB 以编程方式录制发送到内置输出,Mac OS X的声音 - programmatically recording sound sent to Built-in Output, Mac OS X 内置功能可可中的Unicode字符和虚拟键码之间转换? - Built-in function for converting between unicode characters and virtual keycodes in Cocoa? MAC应用程序崩溃在系统之外,而不是它构建 - MAC app crashing on system other than it was built on OSX 内置强制退出应用程序如何获取其应用程序列表? - How OSX Built-in Force Quit Application Get its app list? iOS和OS X开发的内置框架中是否有任何非前缀类? - Are there any non-prefixed classes in the built-in frameworks for iOS and OS X development?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM