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