diff --git a/Metaballs.xcodeproj/project.pbxproj b/Metaballs.xcodeproj/project.pbxproj index 1159916..86b4b1d 100644 --- a/Metaballs.xcodeproj/project.pbxproj +++ b/Metaballs.xcodeproj/project.pbxproj @@ -7,6 +7,7 @@ objects = { /* Begin PBXBuildFile section */ + C03904B31F43CF3F00C74022 /* PreferencesWindowController.swift in Sources */ = {isa = PBXBuildFile; fileRef = C03904B11F43CF3700C74022 /* PreferencesWindowController.swift */; }; C09161701F3F5AE6009C4263 /* PreferencesViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = C091616F1F3F5AE6009C4263 /* PreferencesViewController.swift */; }; C0BBE36B1F2E816500E68524 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = C0BBE36A1F2E816500E68524 /* AppDelegate.swift */; }; C0BBE36D1F2E816500E68524 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = C0BBE36C1F2E816500E68524 /* ViewController.swift */; }; @@ -44,6 +45,7 @@ /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ + C03904B11F43CF3700C74022 /* PreferencesWindowController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PreferencesWindowController.swift; sourceTree = ""; }; C091616F1F3F5AE6009C4263 /* PreferencesViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PreferencesViewController.swift; sourceTree = ""; }; C0BBE3671F2E816500E68524 /* Metaballs.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Metaballs.app; sourceTree = BUILT_PRODUCTS_DIR; }; C0BBE36A1F2E816500E68524 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; @@ -158,6 +160,7 @@ C0BBE3A31F2E81C700E68524 /* Metaballs.swift */, C0CE7BFF1F362C3F001516B6 /* Geometry.swift */, C0DF1D781F3789DC0038B0A0 /* Memory.swift */, + C03904B11F43CF3700C74022 /* PreferencesWindowController.swift */, C091616F1F3F5AE6009C4263 /* PreferencesViewController.swift */, ); path = MetaballsKit; @@ -377,6 +380,7 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( + C03904B31F43CF3F00C74022 /* PreferencesWindowController.swift in Sources */, C0DF1D791F3789DC0038B0A0 /* Memory.swift in Sources */, C0BBE3A41F2E81C700E68524 /* Metaballs.swift in Sources */, C0CE7C001F362C3F001516B6 /* Geometry.swift in Sources */, diff --git a/Metaballs/Base.lproj/Main.storyboard b/Metaballs/Base.lproj/Main.storyboard index b006e01..34d3a9b 100644 --- a/Metaballs/Base.lproj/Main.storyboard +++ b/Metaballs/Base.lproj/Main.storyboard @@ -25,7 +25,7 @@ - + @@ -123,467 +123,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Default - - - - - - - Left to Right - - - - - - - Right to Left - - - - - - - - - - - Default - - - - - - - Left to Right - - - - - - - Right to Left - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -685,9 +224,9 @@ - - - + + + diff --git a/MetaballsKit/Preferences.swift b/MetaballsKit/Preferences.swift new file mode 100644 index 0000000..99ffc68 --- /dev/null +++ b/MetaballsKit/Preferences.swift @@ -0,0 +1,9 @@ +// +// Preferences.swift +// Metaballs +// +// Created by Eryn Wells on 8/14/17. +// Copyright © 2017 Eryn Wells. All rights reserved. +// + +import Foundation diff --git a/MetaballsKit/PreferencesWindowController.swift b/MetaballsKit/PreferencesWindowController.swift new file mode 100644 index 0000000..25a244f --- /dev/null +++ b/MetaballsKit/PreferencesWindowController.swift @@ -0,0 +1,15 @@ +// +// PreferencesWindowController.swift +// Metaballs +// +// Created by Eryn Wells on 8/15/17. +// Copyright © 2017 Eryn Wells. All rights reserved. +// + +import Cocoa + +class PreferencesWindowController: NSWindowController { + override func prepare(for segue: NSStoryboardSegue, sender: Any?) { + print("prepare for segue:\(segue), sender:\(String(describing: sender))") + } +}