OSDN Git Service

不要になったプロパティを削除
authormasakih <masakih@users.sourceforge.jp>
Sun, 12 Feb 2017 06:41:21 +0000 (15:41 +0900)
committermasakih <masakih@users.sourceforge.jp>
Sun, 12 Feb 2017 06:41:21 +0000 (15:41 +0900)
KCD/HMChangeHenseiCommand.swift
KCD/HMPeriodicNotifier.swift
KCD/HMPortNotifyCommand.swift

index 3f9e361..488d114 100644 (file)
@@ -54,7 +54,6 @@ class HMChangeHenseiCommand: HMJSONCommand {
         return false
     }
     
-    static let notificationName = Notification.Name.HenseiDidChange.rawValue
     static let userInfoKey = HenseiDidChangeUserInfoKey
     
     // api_ship_id の値
index 804d388..2ecd56d 100644 (file)
@@ -29,13 +29,6 @@ class HMPeriodicNotifier: NSObject {
         
         notifyIfNeeded(nil)
     }
-    
-    static var notificationName: String {
-        get {
-            return Notification.Name.Periodic.rawValue
-        }
-    }
-    
     private let hour: Int
     private let minutes: Int
     
index 2caf4dd..2b5b251 100644 (file)
@@ -13,10 +13,6 @@ extension Notification.Name {
 }
 
 class HMPortNotifyCommand: HMJSONCommand {
-    static var notificationName: String {
-        return Notification.Name.PortAPIReceived.rawValue
-    }
-    
     override func execute() {
         DispatchQueue.main.async {
             NotificationCenter.default.post(name: .PortAPIReceived, object: self)