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))