OSDN Git Service

無駄な改行を削除
authormasakih <masakih@users.sourceforge.jp>
Tue, 10 Oct 2017 15:16:49 +0000 (00:16 +0900)
committermasakih <masakih@users.sourceforge.jp>
Tue, 10 Oct 2017 15:16:49 +0000 (00:16 +0900)
KCD/DocksViewController.swift

index aaf7781..2e29c37 100644 (file)
@@ -26,9 +26,7 @@ final class DocksViewController: MainTabVIewItemViewController {
             .forEach(unbind)
         
         ["selection", "selection.no", "content.battleCell"]
-            .forEach {
-            battleContoller.removeObserver(self, forKeyPath: $0)
-        }
+            .forEach { battleContoller.removeObserver(self, forKeyPath: $0) }
     }
     
     @objc let managedObjectContext = ServerDataStore.default.context
@@ -166,9 +164,7 @@ final class DocksViewController: MainTabVIewItemViewController {
         questListViewPlaceholder.superview?.replaceSubview(questListViewPlaceholder, with: questListViewController.view)
         
         ["selection", "selection.no", "content.battleCell"]
-            .forEach {
-                battleContoller.addObserver(self, forKeyPath: $0, context: nil)
-        }
+            .forEach { battleContoller.addObserver(self, forKeyPath: $0, context: nil) }
         
         #if DEBUG
             cellNumberField.isHidden = false