<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Notification on Lin's Blog</title><link>http://coder.tw/tags/notification/</link><description>Recent content in Notification on Lin's Blog</description><generator>Hugo</generator><language>zh-tw</language><lastBuildDate>Thu, 19 Jan 2017 01:32:57 +0000</lastBuildDate><atom:link href="http://coder.tw/tags/notification/index.xml" rel="self" type="application/rss+xml"/><item><title>Using Command to Display Notification on macOS</title><link>http://coder.tw/posts/using-command-to-display-notification-on-macos/</link><pubDate>Thu, 19 Jan 2017 01:32:57 +0000</pubDate><guid>http://coder.tw/posts/using-command-to-display-notification-on-macos/</guid><description>&lt;p&gt;在 macOS 有個很方便的通知中心，你可以寫程式傳送訊息到通知中心，就會像 iOS 那樣顯示在螢幕上，但其實如果你是要傳送訊息的話，可以直接在 Terminal 一個指令搞定哦！ 不用從頭去學 Objective-C 或 Swift 也可以使用 macOS 的通知功能； 像每次在等測試執行時，總會想善用時間讀讀文件，這時就可以用 Notification 來通知自己測試是否執行完成，不用擔心看文件看得太開心忘記測試還在執行，當測試完成你也會及時收到通知，一刻都不浪費！ 當然也不只測試可以這樣用，因為這個 Notification 是以指令的方式存在，所以只要是在 Terminal 執行的程式都可以做到一樣的功能哦！&lt;/p&gt;</description></item></channel></rss>