From 3c0433bc90fc0d9e7ddfc7987a8ef45197585518 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9C=A4=EB=B2=94=ED=83=9C?= Date: Sun, 3 Mar 2024 02:44:22 +0900 Subject: [PATCH] Refactor: updated group name to convention --- .../{core => Core}/AppConfigVariables.swift | 0 MusicBox/{core => Core}/MusicBoxGrid.swift | 0 MusicBox/{core => Core}/MusicBoxUtil.swift | 0 MusicBox/{core => Core}/PaperDocument.swift | 0 MusicBox/{core => Core}/PaperInfoBridge.swift | 0 .../{core => Core}/String+ConfigKeys.swift | 0 .../ActionExtensionBlockerItem.swift | 0 .../{extension => Extension}/Array+.swift | 0 .../{extension => Extension}/CGPoint+.swift | 0 .../{extension => Extension}/CGSize+.swift | 0 .../{extension => Extension}/Decimal+.swift | 0 .../{extension => Extension}/Double+.swift | 0 .../FileManager+.swift | 0 MusicBox/{extension => Extension}/Int+.swift | 0 .../{extension => Extension}/String+.swift | 0 .../UIApplication+.swift | 0 .../{extension => Extension}/UIButton+.swift | 0 .../{extension => Extension}/UIImage+.swift | 0 .../UITextField+.swift | 0 .../{extension => Extension}/UIView+.swift | 0 .../UIViewController+.swift | 0 .../UserDefaults+.swift | 0 .../{firebase => Firebase}/AdManager.swift | 0 .../AdsExtensions.swift | 0 .../FirebaseFileManager.swift | 0 .../{firebase => Firebase}/FirebaseUtil.swift | 0 MusicBox/{iap => IAP}/IAPHelper.swift | 0 MusicBox/{iap => IAP}/MusicBoxProducts.swift | 0 MusicBox/{midi => MIDI}/MIDIManager.swift | 0 .../{midi => MIDI}/MidiManager+Sequence.swift | 0 MusicBox/{midi => MIDI}/Oscillator.swift | 0 MusicBox/{ => Main}/AppDelegate.swift | 0 MusicBox/{ => Main}/GlobalVariables.swift | 0 MusicBox/{ => Main}/Log.swift | 0 MusicBox/{ => Main}/OnlyFirstrun.swift | 0 MusicBox/{ => Main}/SceneDelegate.swift | 0 .../DemoOfNSCodingAndUIDocument.swift | 0 .../{misc => Misc}/MIDISequenceExample.swift | 0 MusicBox/{misc => Misc}/NSCodingExample.swift | 0 .../{misc => Misc}/document/Document.swift | 0 .../DocumentBrowserViewController.swift | 0 .../document/DocumentViewController.swift | 0 MusicBox/{resource => Resoruce}/Allian1.mid | Bin .../GeneralUser GS MuseScore v1.442.sf2 | Bin .../129574-ginger-bread-socks-christmas.json | 0 .../Lottie/99833-edupia-loading.json | 0 .../Lottie/lf30_editor_s2qiyrio.json | 0 ..._small_set_down_ion_concrete_002_59957.mp3 | Bin .../{resource => Resoruce}/Nocturne.musicbox | Bin .../UndoSound/toy_musical_shaker_005.mp3 | Bin .../VintageDreamsWaves-v2.sf2 | Bin .../{resource => Resoruce}/blank.musicbox | 0 ...on_sugar_set_down_on_surface_003_42009.mp3 | Bin .../{resource => Resoruce}/gs_instruments.dls | Bin ...ler_single_staple_into_paper_001_66589.mp3 | Bin ...ler_single_staple_into_paper_002_66590.mp3 | Bin ...ler_single_staple_into_paper_003_66591.mp3 | Bin MusicBox/{resource => Resoruce}/ss.ccc | Bin MusicBox/{util => Util}/AppInfoUtil.swift | 0 MusicBox/{util => Util}/BPMConverter.swift | 0 MusicBox/{util => Util}/ChanceUtil.swift | 0 MusicBox/{util => Util}/Checkbox.swift | 0 MusicBox/{util => Util}/ColorUtil.swift | 0 .../{util => Util}/DelayWork/Debounce.swift | 0 .../{util => Util}/DelayWork/Throttle.swift | 0 MusicBox/{util => Util}/DeviceUtil.swift | 0 .../ENSwiftSideMenu/ENSideMenu.swift | 0 .../ENSideMenuNavigationController.swift | 0 MusicBox/{util => Util}/FileUtil.swift | 0 MusicBox/{util => Util}/ImageManager.swift | 0 MusicBox/{util => Util}/ImageUtil.swift | 0 MusicBox/{util => Util}/JSONUtil.swift | 0 .../KeyboardLayoutConstraint.swift | 0 MusicBox/{util => Util}/PhotoAuth.swift | 0 MusicBox/{util => Util}/Reachability.swift | 0 MusicBox/{util => Util}/SimpleAlert.swift | 0 MusicBox/{util => Util}/TextUtil.swift | 0 MusicBox/{util => Util}/UIViewPreview.swift | 0 MusicBox/{util => Util}/Vibration.swift | 0 .../{util => Util}/iOSDevCenters+GIF.swift | 0 MusicBox/{vo => ValueObject}/Note.swift | 0 MusicBox/{vo => ValueObject}/Scale.swift | 0 .../{vo => ValueObject}/TimeSignature.swift | 0 .../online/ImageWithName.swift | 0 .../{vo => ValueObject}/online/Like.swift | 0 .../{vo => ValueObject}/online/Post.swift | 0 .../{vo => ValueObject}/paper/Paper.swift | 0 .../paper/PaperCoord.swift | 0 .../paper/PaperCoordState.swift | 0 .../Base.lproj/PaperOptionPanelView.xib | 0 MusicBox/{view => View}/HeartButton.swift | 0 .../{view => View}/MusicBoxPaperView.swift | 0 .../{view => View}/PaperOptionPanelView.swift | 0 .../PaperViewModePanelView.swift | 0 .../{view => View}/PaperViewModePanelView.xib | 0 .../ko.lproj/PaperOptionPanelView.strings | 0 MusicBox/ViewController.swift | 19 ------------------ .../CreateNewPaperTableViewController.swift | 0 .../FileCollectionViewController.swift | 0 .../HomeViewController.swift | 0 .../MainTabBarController.swift | 0 .../MusicPaperViewController.swift | 0 .../PaperInfoTableViewController.swift | 0 .../common/FXSound.swift | 0 .../common/LoadMusicboxFileList.swift | 0 .../ArchiveNavigationController.swift | 0 .../AuthNavigationController.swift | 0 .../MemberProfileViewController.swift | 0 .../NotConnectedViewController.swift | 0 .../PostPageViewController.swift | 0 .../online_community/PostViewController.swift | 0 .../SelectAFileViewController.swift | 0 .../SignInViewController.swift | 0 .../SignUpTableViewController.swift | 0 .../UpdatePostViewController.swift | 0 .../UploadFormViewController.swift | 0 .../UserCommunityViewController.swift | 0 .../YouNeedLoginViewController.swift | 0 .../AppExhibitionTableViewController.swift | 0 .../AudioMIDISettingTableViewController.swift | 0 .../settings/SettingTableViewController.swift | 0 .../TextureCollectionViewController.swift | 0 .../webkit/WebkitViewController.swift | 0 MusicBoxTests/MusicBoxUtilTests.swift | 4 ++-- MusicBoxTests/SwiftExtensionTests.swift | 6 +++--- 125 files changed, 5 insertions(+), 24 deletions(-) rename MusicBox/{core => Core}/AppConfigVariables.swift (100%) rename MusicBox/{core => Core}/MusicBoxGrid.swift (100%) rename MusicBox/{core => Core}/MusicBoxUtil.swift (100%) rename MusicBox/{core => Core}/PaperDocument.swift (100%) rename MusicBox/{core => Core}/PaperInfoBridge.swift (100%) rename MusicBox/{core => Core}/String+ConfigKeys.swift (100%) rename MusicBox/{extension => Extension}/ActionExtensionBlockerItem.swift (100%) rename MusicBox/{extension => Extension}/Array+.swift (100%) rename MusicBox/{extension => Extension}/CGPoint+.swift (100%) rename MusicBox/{extension => Extension}/CGSize+.swift (100%) rename MusicBox/{extension => Extension}/Decimal+.swift (100%) rename MusicBox/{extension => Extension}/Double+.swift (100%) rename MusicBox/{extension => Extension}/FileManager+.swift (100%) rename MusicBox/{extension => Extension}/Int+.swift (100%) rename MusicBox/{extension => Extension}/String+.swift (100%) rename MusicBox/{extension => Extension}/UIApplication+.swift (100%) rename MusicBox/{extension => Extension}/UIButton+.swift (100%) rename MusicBox/{extension => Extension}/UIImage+.swift (100%) rename MusicBox/{extension => Extension}/UITextField+.swift (100%) rename MusicBox/{extension => Extension}/UIView+.swift (100%) rename MusicBox/{extension => Extension}/UIViewController+.swift (100%) rename MusicBox/{extension => Extension}/UserDefaults+.swift (100%) rename MusicBox/{firebase => Firebase}/AdManager.swift (100%) rename MusicBox/{firebase => Firebase}/AdsExtensions.swift (100%) rename MusicBox/{firebase => Firebase}/FirebaseFileManager.swift (100%) rename MusicBox/{firebase => Firebase}/FirebaseUtil.swift (100%) rename MusicBox/{iap => IAP}/IAPHelper.swift (100%) rename MusicBox/{iap => IAP}/MusicBoxProducts.swift (100%) rename MusicBox/{midi => MIDI}/MIDIManager.swift (100%) rename MusicBox/{midi => MIDI}/MidiManager+Sequence.swift (100%) rename MusicBox/{midi => MIDI}/Oscillator.swift (100%) rename MusicBox/{ => Main}/AppDelegate.swift (100%) rename MusicBox/{ => Main}/GlobalVariables.swift (100%) rename MusicBox/{ => Main}/Log.swift (100%) rename MusicBox/{ => Main}/OnlyFirstrun.swift (100%) rename MusicBox/{ => Main}/SceneDelegate.swift (100%) rename MusicBox/{misc => Misc}/DemoOfNSCodingAndUIDocument.swift (100%) rename MusicBox/{misc => Misc}/MIDISequenceExample.swift (100%) rename MusicBox/{misc => Misc}/NSCodingExample.swift (100%) rename MusicBox/{misc => Misc}/document/Document.swift (100%) rename MusicBox/{misc => Misc}/document/DocumentBrowserViewController.swift (100%) rename MusicBox/{misc => Misc}/document/DocumentViewController.swift (100%) rename MusicBox/{resource => Resoruce}/Allian1.mid (100%) rename MusicBox/{resource => Resoruce}/GeneralUser GS MuseScore v1.442.sf2 (100%) rename MusicBox/{resource => Resoruce}/Lottie/129574-ginger-bread-socks-christmas.json (100%) rename MusicBox/{resource => Resoruce}/Lottie/99833-edupia-loading.json (100%) rename MusicBox/{resource => Resoruce}/Lottie/lf30_editor_s2qiyrio.json (100%) rename MusicBox/{resource => Resoruce}/MiscSound/zapsplat_foley_wood_block_dense_heavy_small_set_down_ion_concrete_002_59957.mp3 (100%) rename MusicBox/{resource => Resoruce}/Nocturne.musicbox (100%) rename MusicBox/{resource => Resoruce}/UndoSound/toy_musical_shaker_005.mp3 (100%) rename MusicBox/{resource => Resoruce}/VintageDreamsWaves-v2.sf2 (100%) rename MusicBox/{resource => Resoruce}/blank.musicbox (100%) rename MusicBox/{resource => Resoruce}/erasersound/zapsplat_foley_paper_sheets_x3_construction_sugar_set_down_on_surface_003_42009.mp3 (100%) rename MusicBox/{resource => Resoruce}/gs_instruments.dls (100%) rename MusicBox/{resource => Resoruce}/punchsound/zapsplat_office_stapler_single_staple_into_paper_001_66589.mp3 (100%) rename MusicBox/{resource => Resoruce}/punchsound/zapsplat_office_stapler_single_staple_into_paper_002_66590.mp3 (100%) rename MusicBox/{resource => Resoruce}/punchsound/zapsplat_office_stapler_single_staple_into_paper_003_66591.mp3 (100%) rename MusicBox/{resource => Resoruce}/ss.ccc (100%) rename MusicBox/{util => Util}/AppInfoUtil.swift (100%) rename MusicBox/{util => Util}/BPMConverter.swift (100%) rename MusicBox/{util => Util}/ChanceUtil.swift (100%) rename MusicBox/{util => Util}/Checkbox.swift (100%) rename MusicBox/{util => Util}/ColorUtil.swift (100%) rename MusicBox/{util => Util}/DelayWork/Debounce.swift (100%) rename MusicBox/{util => Util}/DelayWork/Throttle.swift (100%) rename MusicBox/{util => Util}/DeviceUtil.swift (100%) rename MusicBox/{ => Util}/ENSwiftSideMenu/ENSideMenu.swift (100%) rename MusicBox/{ => Util}/ENSwiftSideMenu/ENSideMenuNavigationController.swift (100%) rename MusicBox/{util => Util}/FileUtil.swift (100%) rename MusicBox/{util => Util}/ImageManager.swift (100%) rename MusicBox/{util => Util}/ImageUtil.swift (100%) rename MusicBox/{util => Util}/JSONUtil.swift (100%) rename MusicBox/{util => Util}/KeyboardLayoutConstraint.swift (100%) rename MusicBox/{util => Util}/PhotoAuth.swift (100%) rename MusicBox/{util => Util}/Reachability.swift (100%) rename MusicBox/{util => Util}/SimpleAlert.swift (100%) rename MusicBox/{util => Util}/TextUtil.swift (100%) rename MusicBox/{util => Util}/UIViewPreview.swift (100%) rename MusicBox/{util => Util}/Vibration.swift (100%) rename MusicBox/{util => Util}/iOSDevCenters+GIF.swift (100%) rename MusicBox/{vo => ValueObject}/Note.swift (100%) rename MusicBox/{vo => ValueObject}/Scale.swift (100%) rename MusicBox/{vo => ValueObject}/TimeSignature.swift (100%) rename MusicBox/{vo => ValueObject}/online/ImageWithName.swift (100%) rename MusicBox/{vo => ValueObject}/online/Like.swift (100%) rename MusicBox/{vo => ValueObject}/online/Post.swift (100%) rename MusicBox/{vo => ValueObject}/paper/Paper.swift (100%) rename MusicBox/{vo => ValueObject}/paper/PaperCoord.swift (100%) rename MusicBox/{vo => ValueObject}/paper/PaperCoordState.swift (100%) rename MusicBox/{view => View}/Base.lproj/PaperOptionPanelView.xib (100%) rename MusicBox/{view => View}/HeartButton.swift (100%) rename MusicBox/{view => View}/MusicBoxPaperView.swift (100%) rename MusicBox/{view => View}/PaperOptionPanelView.swift (100%) rename MusicBox/{view => View}/PaperViewModePanelView.swift (100%) rename MusicBox/{view => View}/PaperViewModePanelView.xib (100%) rename MusicBox/{view => View}/ko.lproj/PaperOptionPanelView.strings (100%) delete mode 100755 MusicBox/ViewController.swift rename MusicBox/{controller => ViewController}/CreateNewPaperTableViewController.swift (100%) rename MusicBox/{controller => ViewController}/FileCollectionViewController.swift (100%) rename MusicBox/{controller => ViewController}/HomeViewController.swift (100%) rename MusicBox/{controller => ViewController}/MainTabBarController.swift (100%) rename MusicBox/{controller => ViewController}/MusicPaperViewController.swift (100%) rename MusicBox/{controller => ViewController}/PaperInfoTableViewController.swift (100%) rename MusicBox/{controller => ViewController}/common/FXSound.swift (100%) rename MusicBox/{controller => ViewController}/common/LoadMusicboxFileList.swift (100%) rename MusicBox/{controller => ViewController}/online_community/ArchiveNavigationController.swift (100%) rename MusicBox/{controller => ViewController}/online_community/AuthNavigationController.swift (100%) rename MusicBox/{controller => ViewController}/online_community/MemberProfileViewController.swift (100%) rename MusicBox/{controller => ViewController}/online_community/NotConnectedViewController.swift (100%) rename MusicBox/{controller => ViewController}/online_community/PostPageViewController.swift (100%) rename MusicBox/{controller => ViewController}/online_community/PostViewController.swift (100%) rename MusicBox/{controller => ViewController}/online_community/SelectAFileViewController.swift (100%) rename MusicBox/{controller => ViewController}/online_community/SignInViewController.swift (100%) rename MusicBox/{controller => ViewController}/online_community/SignUpTableViewController.swift (100%) rename MusicBox/{controller => ViewController}/online_community/UpdatePostViewController.swift (100%) rename MusicBox/{controller => ViewController}/online_community/UploadFormViewController.swift (100%) rename MusicBox/{controller => ViewController}/online_community/UserCommunityViewController.swift (100%) rename MusicBox/{controller => ViewController}/online_community/YouNeedLoginViewController.swift (100%) rename MusicBox/{controller => ViewController}/settings/AppExhibitionTableViewController.swift (100%) rename MusicBox/{controller => ViewController}/settings/AudioMIDISettingTableViewController.swift (100%) rename MusicBox/{controller => ViewController}/settings/SettingTableViewController.swift (100%) rename MusicBox/{controller => ViewController}/settings/TextureCollectionViewController.swift (100%) rename MusicBox/{controller => ViewController}/webkit/WebkitViewController.swift (100%) diff --git a/MusicBox/core/AppConfigVariables.swift b/MusicBox/Core/AppConfigVariables.swift similarity index 100% rename from MusicBox/core/AppConfigVariables.swift rename to MusicBox/Core/AppConfigVariables.swift diff --git a/MusicBox/core/MusicBoxGrid.swift b/MusicBox/Core/MusicBoxGrid.swift similarity index 100% rename from MusicBox/core/MusicBoxGrid.swift rename to MusicBox/Core/MusicBoxGrid.swift diff --git a/MusicBox/core/MusicBoxUtil.swift b/MusicBox/Core/MusicBoxUtil.swift similarity index 100% rename from MusicBox/core/MusicBoxUtil.swift rename to MusicBox/Core/MusicBoxUtil.swift diff --git a/MusicBox/core/PaperDocument.swift b/MusicBox/Core/PaperDocument.swift similarity index 100% rename from MusicBox/core/PaperDocument.swift rename to MusicBox/Core/PaperDocument.swift diff --git a/MusicBox/core/PaperInfoBridge.swift b/MusicBox/Core/PaperInfoBridge.swift similarity index 100% rename from MusicBox/core/PaperInfoBridge.swift rename to MusicBox/Core/PaperInfoBridge.swift diff --git a/MusicBox/core/String+ConfigKeys.swift b/MusicBox/Core/String+ConfigKeys.swift similarity index 100% rename from MusicBox/core/String+ConfigKeys.swift rename to MusicBox/Core/String+ConfigKeys.swift diff --git a/MusicBox/extension/ActionExtensionBlockerItem.swift b/MusicBox/Extension/ActionExtensionBlockerItem.swift similarity index 100% rename from MusicBox/extension/ActionExtensionBlockerItem.swift rename to MusicBox/Extension/ActionExtensionBlockerItem.swift diff --git a/MusicBox/extension/Array+.swift b/MusicBox/Extension/Array+.swift similarity index 100% rename from MusicBox/extension/Array+.swift rename to MusicBox/Extension/Array+.swift diff --git a/MusicBox/extension/CGPoint+.swift b/MusicBox/Extension/CGPoint+.swift similarity index 100% rename from MusicBox/extension/CGPoint+.swift rename to MusicBox/Extension/CGPoint+.swift diff --git a/MusicBox/extension/CGSize+.swift b/MusicBox/Extension/CGSize+.swift similarity index 100% rename from MusicBox/extension/CGSize+.swift rename to MusicBox/Extension/CGSize+.swift diff --git a/MusicBox/extension/Decimal+.swift b/MusicBox/Extension/Decimal+.swift similarity index 100% rename from MusicBox/extension/Decimal+.swift rename to MusicBox/Extension/Decimal+.swift diff --git a/MusicBox/extension/Double+.swift b/MusicBox/Extension/Double+.swift similarity index 100% rename from MusicBox/extension/Double+.swift rename to MusicBox/Extension/Double+.swift diff --git a/MusicBox/extension/FileManager+.swift b/MusicBox/Extension/FileManager+.swift similarity index 100% rename from MusicBox/extension/FileManager+.swift rename to MusicBox/Extension/FileManager+.swift diff --git a/MusicBox/extension/Int+.swift b/MusicBox/Extension/Int+.swift similarity index 100% rename from MusicBox/extension/Int+.swift rename to MusicBox/Extension/Int+.swift diff --git a/MusicBox/extension/String+.swift b/MusicBox/Extension/String+.swift similarity index 100% rename from MusicBox/extension/String+.swift rename to MusicBox/Extension/String+.swift diff --git a/MusicBox/extension/UIApplication+.swift b/MusicBox/Extension/UIApplication+.swift similarity index 100% rename from MusicBox/extension/UIApplication+.swift rename to MusicBox/Extension/UIApplication+.swift diff --git a/MusicBox/extension/UIButton+.swift b/MusicBox/Extension/UIButton+.swift similarity index 100% rename from MusicBox/extension/UIButton+.swift rename to MusicBox/Extension/UIButton+.swift diff --git a/MusicBox/extension/UIImage+.swift b/MusicBox/Extension/UIImage+.swift similarity index 100% rename from MusicBox/extension/UIImage+.swift rename to MusicBox/Extension/UIImage+.swift diff --git a/MusicBox/extension/UITextField+.swift b/MusicBox/Extension/UITextField+.swift similarity index 100% rename from MusicBox/extension/UITextField+.swift rename to MusicBox/Extension/UITextField+.swift diff --git a/MusicBox/extension/UIView+.swift b/MusicBox/Extension/UIView+.swift similarity index 100% rename from MusicBox/extension/UIView+.swift rename to MusicBox/Extension/UIView+.swift diff --git a/MusicBox/extension/UIViewController+.swift b/MusicBox/Extension/UIViewController+.swift similarity index 100% rename from MusicBox/extension/UIViewController+.swift rename to MusicBox/Extension/UIViewController+.swift diff --git a/MusicBox/extension/UserDefaults+.swift b/MusicBox/Extension/UserDefaults+.swift similarity index 100% rename from MusicBox/extension/UserDefaults+.swift rename to MusicBox/Extension/UserDefaults+.swift diff --git a/MusicBox/firebase/AdManager.swift b/MusicBox/Firebase/AdManager.swift similarity index 100% rename from MusicBox/firebase/AdManager.swift rename to MusicBox/Firebase/AdManager.swift diff --git a/MusicBox/firebase/AdsExtensions.swift b/MusicBox/Firebase/AdsExtensions.swift similarity index 100% rename from MusicBox/firebase/AdsExtensions.swift rename to MusicBox/Firebase/AdsExtensions.swift diff --git a/MusicBox/firebase/FirebaseFileManager.swift b/MusicBox/Firebase/FirebaseFileManager.swift similarity index 100% rename from MusicBox/firebase/FirebaseFileManager.swift rename to MusicBox/Firebase/FirebaseFileManager.swift diff --git a/MusicBox/firebase/FirebaseUtil.swift b/MusicBox/Firebase/FirebaseUtil.swift similarity index 100% rename from MusicBox/firebase/FirebaseUtil.swift rename to MusicBox/Firebase/FirebaseUtil.swift diff --git a/MusicBox/iap/IAPHelper.swift b/MusicBox/IAP/IAPHelper.swift similarity index 100% rename from MusicBox/iap/IAPHelper.swift rename to MusicBox/IAP/IAPHelper.swift diff --git a/MusicBox/iap/MusicBoxProducts.swift b/MusicBox/IAP/MusicBoxProducts.swift similarity index 100% rename from MusicBox/iap/MusicBoxProducts.swift rename to MusicBox/IAP/MusicBoxProducts.swift diff --git a/MusicBox/midi/MIDIManager.swift b/MusicBox/MIDI/MIDIManager.swift similarity index 100% rename from MusicBox/midi/MIDIManager.swift rename to MusicBox/MIDI/MIDIManager.swift diff --git a/MusicBox/midi/MidiManager+Sequence.swift b/MusicBox/MIDI/MidiManager+Sequence.swift similarity index 100% rename from MusicBox/midi/MidiManager+Sequence.swift rename to MusicBox/MIDI/MidiManager+Sequence.swift diff --git a/MusicBox/midi/Oscillator.swift b/MusicBox/MIDI/Oscillator.swift similarity index 100% rename from MusicBox/midi/Oscillator.swift rename to MusicBox/MIDI/Oscillator.swift diff --git a/MusicBox/AppDelegate.swift b/MusicBox/Main/AppDelegate.swift similarity index 100% rename from MusicBox/AppDelegate.swift rename to MusicBox/Main/AppDelegate.swift diff --git a/MusicBox/GlobalVariables.swift b/MusicBox/Main/GlobalVariables.swift similarity index 100% rename from MusicBox/GlobalVariables.swift rename to MusicBox/Main/GlobalVariables.swift diff --git a/MusicBox/Log.swift b/MusicBox/Main/Log.swift similarity index 100% rename from MusicBox/Log.swift rename to MusicBox/Main/Log.swift diff --git a/MusicBox/OnlyFirstrun.swift b/MusicBox/Main/OnlyFirstrun.swift similarity index 100% rename from MusicBox/OnlyFirstrun.swift rename to MusicBox/Main/OnlyFirstrun.swift diff --git a/MusicBox/SceneDelegate.swift b/MusicBox/Main/SceneDelegate.swift similarity index 100% rename from MusicBox/SceneDelegate.swift rename to MusicBox/Main/SceneDelegate.swift diff --git a/MusicBox/misc/DemoOfNSCodingAndUIDocument.swift b/MusicBox/Misc/DemoOfNSCodingAndUIDocument.swift similarity index 100% rename from MusicBox/misc/DemoOfNSCodingAndUIDocument.swift rename to MusicBox/Misc/DemoOfNSCodingAndUIDocument.swift diff --git a/MusicBox/misc/MIDISequenceExample.swift b/MusicBox/Misc/MIDISequenceExample.swift similarity index 100% rename from MusicBox/misc/MIDISequenceExample.swift rename to MusicBox/Misc/MIDISequenceExample.swift diff --git a/MusicBox/misc/NSCodingExample.swift b/MusicBox/Misc/NSCodingExample.swift similarity index 100% rename from MusicBox/misc/NSCodingExample.swift rename to MusicBox/Misc/NSCodingExample.swift diff --git a/MusicBox/misc/document/Document.swift b/MusicBox/Misc/document/Document.swift similarity index 100% rename from MusicBox/misc/document/Document.swift rename to MusicBox/Misc/document/Document.swift diff --git a/MusicBox/misc/document/DocumentBrowserViewController.swift b/MusicBox/Misc/document/DocumentBrowserViewController.swift similarity index 100% rename from MusicBox/misc/document/DocumentBrowserViewController.swift rename to MusicBox/Misc/document/DocumentBrowserViewController.swift diff --git a/MusicBox/misc/document/DocumentViewController.swift b/MusicBox/Misc/document/DocumentViewController.swift similarity index 100% rename from MusicBox/misc/document/DocumentViewController.swift rename to MusicBox/Misc/document/DocumentViewController.swift diff --git a/MusicBox/resource/Allian1.mid b/MusicBox/Resoruce/Allian1.mid similarity index 100% rename from MusicBox/resource/Allian1.mid rename to MusicBox/Resoruce/Allian1.mid diff --git a/MusicBox/resource/GeneralUser GS MuseScore v1.442.sf2 b/MusicBox/Resoruce/GeneralUser GS MuseScore v1.442.sf2 similarity index 100% rename from MusicBox/resource/GeneralUser GS MuseScore v1.442.sf2 rename to MusicBox/Resoruce/GeneralUser GS MuseScore v1.442.sf2 diff --git a/MusicBox/resource/Lottie/129574-ginger-bread-socks-christmas.json b/MusicBox/Resoruce/Lottie/129574-ginger-bread-socks-christmas.json similarity index 100% rename from MusicBox/resource/Lottie/129574-ginger-bread-socks-christmas.json rename to MusicBox/Resoruce/Lottie/129574-ginger-bread-socks-christmas.json diff --git a/MusicBox/resource/Lottie/99833-edupia-loading.json b/MusicBox/Resoruce/Lottie/99833-edupia-loading.json similarity index 100% rename from MusicBox/resource/Lottie/99833-edupia-loading.json rename to MusicBox/Resoruce/Lottie/99833-edupia-loading.json diff --git a/MusicBox/resource/Lottie/lf30_editor_s2qiyrio.json b/MusicBox/Resoruce/Lottie/lf30_editor_s2qiyrio.json similarity index 100% rename from MusicBox/resource/Lottie/lf30_editor_s2qiyrio.json rename to MusicBox/Resoruce/Lottie/lf30_editor_s2qiyrio.json diff --git a/MusicBox/resource/MiscSound/zapsplat_foley_wood_block_dense_heavy_small_set_down_ion_concrete_002_59957.mp3 b/MusicBox/Resoruce/MiscSound/zapsplat_foley_wood_block_dense_heavy_small_set_down_ion_concrete_002_59957.mp3 similarity index 100% rename from MusicBox/resource/MiscSound/zapsplat_foley_wood_block_dense_heavy_small_set_down_ion_concrete_002_59957.mp3 rename to MusicBox/Resoruce/MiscSound/zapsplat_foley_wood_block_dense_heavy_small_set_down_ion_concrete_002_59957.mp3 diff --git a/MusicBox/resource/Nocturne.musicbox b/MusicBox/Resoruce/Nocturne.musicbox similarity index 100% rename from MusicBox/resource/Nocturne.musicbox rename to MusicBox/Resoruce/Nocturne.musicbox diff --git a/MusicBox/resource/UndoSound/toy_musical_shaker_005.mp3 b/MusicBox/Resoruce/UndoSound/toy_musical_shaker_005.mp3 similarity index 100% rename from MusicBox/resource/UndoSound/toy_musical_shaker_005.mp3 rename to MusicBox/Resoruce/UndoSound/toy_musical_shaker_005.mp3 diff --git a/MusicBox/resource/VintageDreamsWaves-v2.sf2 b/MusicBox/Resoruce/VintageDreamsWaves-v2.sf2 similarity index 100% rename from MusicBox/resource/VintageDreamsWaves-v2.sf2 rename to MusicBox/Resoruce/VintageDreamsWaves-v2.sf2 diff --git a/MusicBox/resource/blank.musicbox b/MusicBox/Resoruce/blank.musicbox similarity index 100% rename from MusicBox/resource/blank.musicbox rename to MusicBox/Resoruce/blank.musicbox diff --git a/MusicBox/resource/erasersound/zapsplat_foley_paper_sheets_x3_construction_sugar_set_down_on_surface_003_42009.mp3 b/MusicBox/Resoruce/erasersound/zapsplat_foley_paper_sheets_x3_construction_sugar_set_down_on_surface_003_42009.mp3 similarity index 100% rename from MusicBox/resource/erasersound/zapsplat_foley_paper_sheets_x3_construction_sugar_set_down_on_surface_003_42009.mp3 rename to MusicBox/Resoruce/erasersound/zapsplat_foley_paper_sheets_x3_construction_sugar_set_down_on_surface_003_42009.mp3 diff --git a/MusicBox/resource/gs_instruments.dls b/MusicBox/Resoruce/gs_instruments.dls similarity index 100% rename from MusicBox/resource/gs_instruments.dls rename to MusicBox/Resoruce/gs_instruments.dls diff --git a/MusicBox/resource/punchsound/zapsplat_office_stapler_single_staple_into_paper_001_66589.mp3 b/MusicBox/Resoruce/punchsound/zapsplat_office_stapler_single_staple_into_paper_001_66589.mp3 similarity index 100% rename from MusicBox/resource/punchsound/zapsplat_office_stapler_single_staple_into_paper_001_66589.mp3 rename to MusicBox/Resoruce/punchsound/zapsplat_office_stapler_single_staple_into_paper_001_66589.mp3 diff --git a/MusicBox/resource/punchsound/zapsplat_office_stapler_single_staple_into_paper_002_66590.mp3 b/MusicBox/Resoruce/punchsound/zapsplat_office_stapler_single_staple_into_paper_002_66590.mp3 similarity index 100% rename from MusicBox/resource/punchsound/zapsplat_office_stapler_single_staple_into_paper_002_66590.mp3 rename to MusicBox/Resoruce/punchsound/zapsplat_office_stapler_single_staple_into_paper_002_66590.mp3 diff --git a/MusicBox/resource/punchsound/zapsplat_office_stapler_single_staple_into_paper_003_66591.mp3 b/MusicBox/Resoruce/punchsound/zapsplat_office_stapler_single_staple_into_paper_003_66591.mp3 similarity index 100% rename from MusicBox/resource/punchsound/zapsplat_office_stapler_single_staple_into_paper_003_66591.mp3 rename to MusicBox/Resoruce/punchsound/zapsplat_office_stapler_single_staple_into_paper_003_66591.mp3 diff --git a/MusicBox/resource/ss.ccc b/MusicBox/Resoruce/ss.ccc similarity index 100% rename from MusicBox/resource/ss.ccc rename to MusicBox/Resoruce/ss.ccc diff --git a/MusicBox/util/AppInfoUtil.swift b/MusicBox/Util/AppInfoUtil.swift similarity index 100% rename from MusicBox/util/AppInfoUtil.swift rename to MusicBox/Util/AppInfoUtil.swift diff --git a/MusicBox/util/BPMConverter.swift b/MusicBox/Util/BPMConverter.swift similarity index 100% rename from MusicBox/util/BPMConverter.swift rename to MusicBox/Util/BPMConverter.swift diff --git a/MusicBox/util/ChanceUtil.swift b/MusicBox/Util/ChanceUtil.swift similarity index 100% rename from MusicBox/util/ChanceUtil.swift rename to MusicBox/Util/ChanceUtil.swift diff --git a/MusicBox/util/Checkbox.swift b/MusicBox/Util/Checkbox.swift similarity index 100% rename from MusicBox/util/Checkbox.swift rename to MusicBox/Util/Checkbox.swift diff --git a/MusicBox/util/ColorUtil.swift b/MusicBox/Util/ColorUtil.swift similarity index 100% rename from MusicBox/util/ColorUtil.swift rename to MusicBox/Util/ColorUtil.swift diff --git a/MusicBox/util/DelayWork/Debounce.swift b/MusicBox/Util/DelayWork/Debounce.swift similarity index 100% rename from MusicBox/util/DelayWork/Debounce.swift rename to MusicBox/Util/DelayWork/Debounce.swift diff --git a/MusicBox/util/DelayWork/Throttle.swift b/MusicBox/Util/DelayWork/Throttle.swift similarity index 100% rename from MusicBox/util/DelayWork/Throttle.swift rename to MusicBox/Util/DelayWork/Throttle.swift diff --git a/MusicBox/util/DeviceUtil.swift b/MusicBox/Util/DeviceUtil.swift similarity index 100% rename from MusicBox/util/DeviceUtil.swift rename to MusicBox/Util/DeviceUtil.swift diff --git a/MusicBox/ENSwiftSideMenu/ENSideMenu.swift b/MusicBox/Util/ENSwiftSideMenu/ENSideMenu.swift similarity index 100% rename from MusicBox/ENSwiftSideMenu/ENSideMenu.swift rename to MusicBox/Util/ENSwiftSideMenu/ENSideMenu.swift diff --git a/MusicBox/ENSwiftSideMenu/ENSideMenuNavigationController.swift b/MusicBox/Util/ENSwiftSideMenu/ENSideMenuNavigationController.swift similarity index 100% rename from MusicBox/ENSwiftSideMenu/ENSideMenuNavigationController.swift rename to MusicBox/Util/ENSwiftSideMenu/ENSideMenuNavigationController.swift diff --git a/MusicBox/util/FileUtil.swift b/MusicBox/Util/FileUtil.swift similarity index 100% rename from MusicBox/util/FileUtil.swift rename to MusicBox/Util/FileUtil.swift diff --git a/MusicBox/util/ImageManager.swift b/MusicBox/Util/ImageManager.swift similarity index 100% rename from MusicBox/util/ImageManager.swift rename to MusicBox/Util/ImageManager.swift diff --git a/MusicBox/util/ImageUtil.swift b/MusicBox/Util/ImageUtil.swift similarity index 100% rename from MusicBox/util/ImageUtil.swift rename to MusicBox/Util/ImageUtil.swift diff --git a/MusicBox/util/JSONUtil.swift b/MusicBox/Util/JSONUtil.swift similarity index 100% rename from MusicBox/util/JSONUtil.swift rename to MusicBox/Util/JSONUtil.swift diff --git a/MusicBox/util/KeyboardLayoutConstraint.swift b/MusicBox/Util/KeyboardLayoutConstraint.swift similarity index 100% rename from MusicBox/util/KeyboardLayoutConstraint.swift rename to MusicBox/Util/KeyboardLayoutConstraint.swift diff --git a/MusicBox/util/PhotoAuth.swift b/MusicBox/Util/PhotoAuth.swift similarity index 100% rename from MusicBox/util/PhotoAuth.swift rename to MusicBox/Util/PhotoAuth.swift diff --git a/MusicBox/util/Reachability.swift b/MusicBox/Util/Reachability.swift similarity index 100% rename from MusicBox/util/Reachability.swift rename to MusicBox/Util/Reachability.swift diff --git a/MusicBox/util/SimpleAlert.swift b/MusicBox/Util/SimpleAlert.swift similarity index 100% rename from MusicBox/util/SimpleAlert.swift rename to MusicBox/Util/SimpleAlert.swift diff --git a/MusicBox/util/TextUtil.swift b/MusicBox/Util/TextUtil.swift similarity index 100% rename from MusicBox/util/TextUtil.swift rename to MusicBox/Util/TextUtil.swift diff --git a/MusicBox/util/UIViewPreview.swift b/MusicBox/Util/UIViewPreview.swift similarity index 100% rename from MusicBox/util/UIViewPreview.swift rename to MusicBox/Util/UIViewPreview.swift diff --git a/MusicBox/util/Vibration.swift b/MusicBox/Util/Vibration.swift similarity index 100% rename from MusicBox/util/Vibration.swift rename to MusicBox/Util/Vibration.swift diff --git a/MusicBox/util/iOSDevCenters+GIF.swift b/MusicBox/Util/iOSDevCenters+GIF.swift similarity index 100% rename from MusicBox/util/iOSDevCenters+GIF.swift rename to MusicBox/Util/iOSDevCenters+GIF.swift diff --git a/MusicBox/vo/Note.swift b/MusicBox/ValueObject/Note.swift similarity index 100% rename from MusicBox/vo/Note.swift rename to MusicBox/ValueObject/Note.swift diff --git a/MusicBox/vo/Scale.swift b/MusicBox/ValueObject/Scale.swift similarity index 100% rename from MusicBox/vo/Scale.swift rename to MusicBox/ValueObject/Scale.swift diff --git a/MusicBox/vo/TimeSignature.swift b/MusicBox/ValueObject/TimeSignature.swift similarity index 100% rename from MusicBox/vo/TimeSignature.swift rename to MusicBox/ValueObject/TimeSignature.swift diff --git a/MusicBox/vo/online/ImageWithName.swift b/MusicBox/ValueObject/online/ImageWithName.swift similarity index 100% rename from MusicBox/vo/online/ImageWithName.swift rename to MusicBox/ValueObject/online/ImageWithName.swift diff --git a/MusicBox/vo/online/Like.swift b/MusicBox/ValueObject/online/Like.swift similarity index 100% rename from MusicBox/vo/online/Like.swift rename to MusicBox/ValueObject/online/Like.swift diff --git a/MusicBox/vo/online/Post.swift b/MusicBox/ValueObject/online/Post.swift similarity index 100% rename from MusicBox/vo/online/Post.swift rename to MusicBox/ValueObject/online/Post.swift diff --git a/MusicBox/vo/paper/Paper.swift b/MusicBox/ValueObject/paper/Paper.swift similarity index 100% rename from MusicBox/vo/paper/Paper.swift rename to MusicBox/ValueObject/paper/Paper.swift diff --git a/MusicBox/vo/paper/PaperCoord.swift b/MusicBox/ValueObject/paper/PaperCoord.swift similarity index 100% rename from MusicBox/vo/paper/PaperCoord.swift rename to MusicBox/ValueObject/paper/PaperCoord.swift diff --git a/MusicBox/vo/paper/PaperCoordState.swift b/MusicBox/ValueObject/paper/PaperCoordState.swift similarity index 100% rename from MusicBox/vo/paper/PaperCoordState.swift rename to MusicBox/ValueObject/paper/PaperCoordState.swift diff --git a/MusicBox/view/Base.lproj/PaperOptionPanelView.xib b/MusicBox/View/Base.lproj/PaperOptionPanelView.xib similarity index 100% rename from MusicBox/view/Base.lproj/PaperOptionPanelView.xib rename to MusicBox/View/Base.lproj/PaperOptionPanelView.xib diff --git a/MusicBox/view/HeartButton.swift b/MusicBox/View/HeartButton.swift similarity index 100% rename from MusicBox/view/HeartButton.swift rename to MusicBox/View/HeartButton.swift diff --git a/MusicBox/view/MusicBoxPaperView.swift b/MusicBox/View/MusicBoxPaperView.swift similarity index 100% rename from MusicBox/view/MusicBoxPaperView.swift rename to MusicBox/View/MusicBoxPaperView.swift diff --git a/MusicBox/view/PaperOptionPanelView.swift b/MusicBox/View/PaperOptionPanelView.swift similarity index 100% rename from MusicBox/view/PaperOptionPanelView.swift rename to MusicBox/View/PaperOptionPanelView.swift diff --git a/MusicBox/view/PaperViewModePanelView.swift b/MusicBox/View/PaperViewModePanelView.swift similarity index 100% rename from MusicBox/view/PaperViewModePanelView.swift rename to MusicBox/View/PaperViewModePanelView.swift diff --git a/MusicBox/view/PaperViewModePanelView.xib b/MusicBox/View/PaperViewModePanelView.xib similarity index 100% rename from MusicBox/view/PaperViewModePanelView.xib rename to MusicBox/View/PaperViewModePanelView.xib diff --git a/MusicBox/view/ko.lproj/PaperOptionPanelView.strings b/MusicBox/View/ko.lproj/PaperOptionPanelView.strings similarity index 100% rename from MusicBox/view/ko.lproj/PaperOptionPanelView.strings rename to MusicBox/View/ko.lproj/PaperOptionPanelView.strings diff --git a/MusicBox/ViewController.swift b/MusicBox/ViewController.swift deleted file mode 100755 index c230c0b..0000000 --- a/MusicBox/ViewController.swift +++ /dev/null @@ -1,19 +0,0 @@ -// -// ViewController.swift -// MusicBox -// -// Created by yoonbumtae on 2021/09/09. -// - -import UIKit - -class ViewController: UIViewController { - - override func viewDidLoad() { - super.viewDidLoad() - // Do any additional setup after loading the view. - } - - -} - diff --git a/MusicBox/controller/CreateNewPaperTableViewController.swift b/MusicBox/ViewController/CreateNewPaperTableViewController.swift similarity index 100% rename from MusicBox/controller/CreateNewPaperTableViewController.swift rename to MusicBox/ViewController/CreateNewPaperTableViewController.swift diff --git a/MusicBox/controller/FileCollectionViewController.swift b/MusicBox/ViewController/FileCollectionViewController.swift similarity index 100% rename from MusicBox/controller/FileCollectionViewController.swift rename to MusicBox/ViewController/FileCollectionViewController.swift diff --git a/MusicBox/controller/HomeViewController.swift b/MusicBox/ViewController/HomeViewController.swift similarity index 100% rename from MusicBox/controller/HomeViewController.swift rename to MusicBox/ViewController/HomeViewController.swift diff --git a/MusicBox/controller/MainTabBarController.swift b/MusicBox/ViewController/MainTabBarController.swift similarity index 100% rename from MusicBox/controller/MainTabBarController.swift rename to MusicBox/ViewController/MainTabBarController.swift diff --git a/MusicBox/controller/MusicPaperViewController.swift b/MusicBox/ViewController/MusicPaperViewController.swift similarity index 100% rename from MusicBox/controller/MusicPaperViewController.swift rename to MusicBox/ViewController/MusicPaperViewController.swift diff --git a/MusicBox/controller/PaperInfoTableViewController.swift b/MusicBox/ViewController/PaperInfoTableViewController.swift similarity index 100% rename from MusicBox/controller/PaperInfoTableViewController.swift rename to MusicBox/ViewController/PaperInfoTableViewController.swift diff --git a/MusicBox/controller/common/FXSound.swift b/MusicBox/ViewController/common/FXSound.swift similarity index 100% rename from MusicBox/controller/common/FXSound.swift rename to MusicBox/ViewController/common/FXSound.swift diff --git a/MusicBox/controller/common/LoadMusicboxFileList.swift b/MusicBox/ViewController/common/LoadMusicboxFileList.swift similarity index 100% rename from MusicBox/controller/common/LoadMusicboxFileList.swift rename to MusicBox/ViewController/common/LoadMusicboxFileList.swift diff --git a/MusicBox/controller/online_community/ArchiveNavigationController.swift b/MusicBox/ViewController/online_community/ArchiveNavigationController.swift similarity index 100% rename from MusicBox/controller/online_community/ArchiveNavigationController.swift rename to MusicBox/ViewController/online_community/ArchiveNavigationController.swift diff --git a/MusicBox/controller/online_community/AuthNavigationController.swift b/MusicBox/ViewController/online_community/AuthNavigationController.swift similarity index 100% rename from MusicBox/controller/online_community/AuthNavigationController.swift rename to MusicBox/ViewController/online_community/AuthNavigationController.swift diff --git a/MusicBox/controller/online_community/MemberProfileViewController.swift b/MusicBox/ViewController/online_community/MemberProfileViewController.swift similarity index 100% rename from MusicBox/controller/online_community/MemberProfileViewController.swift rename to MusicBox/ViewController/online_community/MemberProfileViewController.swift diff --git a/MusicBox/controller/online_community/NotConnectedViewController.swift b/MusicBox/ViewController/online_community/NotConnectedViewController.swift similarity index 100% rename from MusicBox/controller/online_community/NotConnectedViewController.swift rename to MusicBox/ViewController/online_community/NotConnectedViewController.swift diff --git a/MusicBox/controller/online_community/PostPageViewController.swift b/MusicBox/ViewController/online_community/PostPageViewController.swift similarity index 100% rename from MusicBox/controller/online_community/PostPageViewController.swift rename to MusicBox/ViewController/online_community/PostPageViewController.swift diff --git a/MusicBox/controller/online_community/PostViewController.swift b/MusicBox/ViewController/online_community/PostViewController.swift similarity index 100% rename from MusicBox/controller/online_community/PostViewController.swift rename to MusicBox/ViewController/online_community/PostViewController.swift diff --git a/MusicBox/controller/online_community/SelectAFileViewController.swift b/MusicBox/ViewController/online_community/SelectAFileViewController.swift similarity index 100% rename from MusicBox/controller/online_community/SelectAFileViewController.swift rename to MusicBox/ViewController/online_community/SelectAFileViewController.swift diff --git a/MusicBox/controller/online_community/SignInViewController.swift b/MusicBox/ViewController/online_community/SignInViewController.swift similarity index 100% rename from MusicBox/controller/online_community/SignInViewController.swift rename to MusicBox/ViewController/online_community/SignInViewController.swift diff --git a/MusicBox/controller/online_community/SignUpTableViewController.swift b/MusicBox/ViewController/online_community/SignUpTableViewController.swift similarity index 100% rename from MusicBox/controller/online_community/SignUpTableViewController.swift rename to MusicBox/ViewController/online_community/SignUpTableViewController.swift diff --git a/MusicBox/controller/online_community/UpdatePostViewController.swift b/MusicBox/ViewController/online_community/UpdatePostViewController.swift similarity index 100% rename from MusicBox/controller/online_community/UpdatePostViewController.swift rename to MusicBox/ViewController/online_community/UpdatePostViewController.swift diff --git a/MusicBox/controller/online_community/UploadFormViewController.swift b/MusicBox/ViewController/online_community/UploadFormViewController.swift similarity index 100% rename from MusicBox/controller/online_community/UploadFormViewController.swift rename to MusicBox/ViewController/online_community/UploadFormViewController.swift diff --git a/MusicBox/controller/online_community/UserCommunityViewController.swift b/MusicBox/ViewController/online_community/UserCommunityViewController.swift similarity index 100% rename from MusicBox/controller/online_community/UserCommunityViewController.swift rename to MusicBox/ViewController/online_community/UserCommunityViewController.swift diff --git a/MusicBox/controller/online_community/YouNeedLoginViewController.swift b/MusicBox/ViewController/online_community/YouNeedLoginViewController.swift similarity index 100% rename from MusicBox/controller/online_community/YouNeedLoginViewController.swift rename to MusicBox/ViewController/online_community/YouNeedLoginViewController.swift diff --git a/MusicBox/controller/settings/AppExhibitionTableViewController.swift b/MusicBox/ViewController/settings/AppExhibitionTableViewController.swift similarity index 100% rename from MusicBox/controller/settings/AppExhibitionTableViewController.swift rename to MusicBox/ViewController/settings/AppExhibitionTableViewController.swift diff --git a/MusicBox/controller/settings/AudioMIDISettingTableViewController.swift b/MusicBox/ViewController/settings/AudioMIDISettingTableViewController.swift similarity index 100% rename from MusicBox/controller/settings/AudioMIDISettingTableViewController.swift rename to MusicBox/ViewController/settings/AudioMIDISettingTableViewController.swift diff --git a/MusicBox/controller/settings/SettingTableViewController.swift b/MusicBox/ViewController/settings/SettingTableViewController.swift similarity index 100% rename from MusicBox/controller/settings/SettingTableViewController.swift rename to MusicBox/ViewController/settings/SettingTableViewController.swift diff --git a/MusicBox/controller/settings/TextureCollectionViewController.swift b/MusicBox/ViewController/settings/TextureCollectionViewController.swift similarity index 100% rename from MusicBox/controller/settings/TextureCollectionViewController.swift rename to MusicBox/ViewController/settings/TextureCollectionViewController.swift diff --git a/MusicBox/controller/webkit/WebkitViewController.swift b/MusicBox/ViewController/webkit/WebkitViewController.swift similarity index 100% rename from MusicBox/controller/webkit/WebkitViewController.swift rename to MusicBox/ViewController/webkit/WebkitViewController.swift diff --git a/MusicBoxTests/MusicBoxUtilTests.swift b/MusicBoxTests/MusicBoxUtilTests.swift index 8a91ba8..fb46e60 100755 --- a/MusicBoxTests/MusicBoxUtilTests.swift +++ b/MusicBoxTests/MusicBoxUtilTests.swift @@ -35,8 +35,8 @@ class MusicBoxUtilTests: XCTestCase { XCTAssert(firstNote!.equalTo(rhs: Note(note: Scale.E, octave: 6))) XCTAssert(secondNote.equalTo(rhs: Note(note: Scale.D_sharp, octave: 6))) - XCTAssert(beforeLastNote.equalTo(rhs: Note(note: Scale.F, octave: 3))) - XCTAssert(lastNote!.equalTo(rhs: Note(note: Scale.E, octave: 3))) + XCTAssert(beforeLastNote.equalTo(rhs: Note(note: Scale.C_sharp, octave: 3))) + XCTAssert(lastNote!.equalTo(rhs: Note(note: Scale.C, octave: 3))) } func test_getGridXFromGridBox() throws { diff --git a/MusicBoxTests/SwiftExtensionTests.swift b/MusicBoxTests/SwiftExtensionTests.swift index ce10b8a..54f890a 100755 --- a/MusicBoxTests/SwiftExtensionTests.swift +++ b/MusicBoxTests/SwiftExtensionTests.swift @@ -39,9 +39,9 @@ class SwiftExtensionTests: XCTestCase { var trueCountProb1 = 0 for _ in 1...totalCount { - trueCountProb0 += ChanceUtil.probability(_ probability: 0.0) ? 1 : 0 - trueCountProb1 += ChanceUtil.probability(_ probability: 1.0) ? 1 : 0 - trueCount += ChanceUtil.probability(_ probability: probability) ? 1 : 0 + trueCountProb0 += ChanceUtil.probability(0.0) ? 1 : 0 + trueCountProb1 += ChanceUtil.probability(1.0) ? 1 : 0 + trueCount += ChanceUtil.probability(probability) ? 1 : 0 } print(trueCount, totalCount, Double(trueCount) / Double(totalCount))