2 // PortNotifyCommand.swift
5 // Created by Hori,Masaki on 2017/01/08.
6 // Copyright © 2017年 Hori,Masaki. All rights reserved.
11 extension Notification.Name {
12 static let PortAPIReceived = Notification.Name("com.masakih.KCD.Notification.PortAPIReceived")
15 class PortNotifyCommand: JSONCommand {
16 override func execute() {
17 DispatchQueue.main.async {
18 NotificationCenter.default.post(name: .PortAPIReceived, object: self)