Commit c1879328 authored by Aral Balkan's avatar Aral Balkan
Browse files

Updated sharedApplication() to shared()

In OS X conditional.
parent 1358fd34
......@@ -82,7 +82,7 @@ extension NotificationCenter
public func post(_ notificationName:String)
#if os(OSX), from: NSApplication.sharedApplication(), with: /* userInfo as */ nil), from: NSApplication.shared(), with: /* userInfo as */ nil)
#elseif os(iOS), from: UIApplication.shared(), with: /* userInfo as */ nil)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment