mirror of
https://github.com/yggdrasil-network/yggdrasil-ios.git
synced 2025-04-28 22:25:10 +03:00
Some SwiftUI
This commit is contained in:
parent
b58f8e3852
commit
291b12b785
24 changed files with 901 additions and 89 deletions
19
Yggdrasil Network Cross-Platform/NSNotification.swift
Normal file
19
Yggdrasil Network Cross-Platform/NSNotification.swift
Normal file
|
@ -0,0 +1,19 @@
|
|||
//
|
||||
// NSNotification.swift
|
||||
// YggdrasilNetwork
|
||||
//
|
||||
// Created by Neil Alexander on 20/02/2019.
|
||||
//
|
||||
|
||||
#if canImport(UIKit)
|
||||
import UIKit
|
||||
#elseif canImport(AppKit)
|
||||
import AppKit
|
||||
#endif
|
||||
|
||||
extension Notification.Name {
|
||||
static let YggdrasilSelfUpdated = Notification.Name("YggdrasilSelfUpdated")
|
||||
static let YggdrasilPeersUpdated = Notification.Name("YggdrasilPeersUpdated")
|
||||
static let YggdrasilSettingsUpdated = Notification.Name("YggdrasilSettingsUpdated")
|
||||
static let YggdrasilDHTUpdated = Notification.Name("YggdrasilDHTUpdated")
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue