Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Ind.ie Projects
Handle
Commits
c1879328
Commit
c1879328
authored
Jul 17, 2016
by
Aral Balkan
Browse files
Updated sharedApplication() to shared()
In OS X conditional.
parent
1358fd34
Changes
1
Hide whitespace changes
Inline
Side-by-side
Handle/Handle/NSNotificationCenterExtensions.swift
View file @
c1879328
...
...
@@ -82,7 +82,7 @@ extension NotificationCenter
public
func
post
(
_
notificationName
:
String
)
{
#if os(OSX)
self
.
post
(
notificationName
,
from
:
NSApplication
.
shared
Application
(),
with
:
/* userInfo as */
nil
)
self
.
post
(
notificationName
,
from
:
NSApplication
.
shared
(),
with
:
/* userInfo as */
nil
)
#elseif os(iOS)
self
.
post
(
notificationName
,
from
:
UIApplication
.
shared
(),
with
:
/* userInfo as */
nil
)
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment