Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
rlxone committed Apr 3, 2017
1 parent 4505ece commit 5dcb2c2
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions DynamicsIllusion.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@
DEVELOPMENT_TEAM = C6Z5KNNJ86;
INFOPLIST_FILE = DynamicsIllusion/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.mityny.DynamicsIllusion;
PRODUCT_BUNDLE_IDENTIFIER = com.rlxone.DynamicsIllusion;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 3.0;
};
Expand All @@ -322,7 +322,7 @@
DEVELOPMENT_TEAM = C6Z5KNNJ86;
INFOPLIST_FILE = DynamicsIllusion/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.mityny.DynamicsIllusion;
PRODUCT_BUNDLE_IDENTIFIER = com.rlxone.DynamicsIllusion;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 3.0;
};
Expand Down
4 changes: 2 additions & 2 deletions DynamicsIllusion/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// DynamicsIllusion
//
// Created by sdd on 02.04.17.
// Copyright © 2017 mityny. All rights reserved.
// Copyright © 2017 rlxone. All rights reserved.
//

import Cocoa
Expand All @@ -22,7 +22,7 @@ class AppDelegate: NSObject, NSApplicationDelegate {
}

func setupApp() {
volumeViewController = self.loadViewFromStoryboard(named: "Main", identifier: "VolumeViewControllerId") as? VolumeViewController
volumeViewController = loadViewFromStoryboard(named: "Main", identifier: "VolumeViewControllerId") as? VolumeViewController
createMenu()
}

Expand Down
2 changes: 1 addition & 1 deletion DynamicsIllusion/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@
<!--DynamicsIllusion-->
<scene sceneID="hIz-AP-VOD">
<objects>
<viewController title="DynamicsIllusion" storyboardIdentifier="ViewControllerId" id="XfG-lQ-9wD" customClass="VolumeViewController" customModule="DynamicsIllusion" customModuleProvider="target" sceneMemberID="viewController">
<viewController title="DynamicsIllusion" storyboardIdentifier="VolumeViewControllerId" id="XfG-lQ-9wD" customClass="VolumeViewController" customModule="DynamicsIllusion" sceneMemberID="viewController">
<customView key="view" id="yXR-gt-ROz">
<rect key="frame" x="0.0" y="0.0" width="253" height="23"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
Expand Down
2 changes: 1 addition & 1 deletion DynamicsIllusion/Extensions/StringExtensions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// DynamicsIllusion
//
// Created by sdd on 03.04.17.
// Copyright © 2017 mityny. All rights reserved.
// Copyright © 2017 rlxone. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion DynamicsIllusion/Framework/Audio.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// DynamicsIllusion
//
// Created by sdd on 03.04.17.
// Copyright © 2017 mityny. All rights reserved.
// Copyright © 2017 rlxone. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion DynamicsIllusion/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<key>LSMinimumSystemVersion</key>
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2017 mityny. All rights reserved.</string>
<string>Copyright © 2017 rlxone. All rights reserved.</string>
<key>NSMainStoryboardFile</key>
<string>Main</string>
<key>NSPrincipalClass</key>
Expand Down
4 changes: 2 additions & 2 deletions DynamicsIllusion/VolumeViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// DynamicsIllusion
//
// Created by sdd on 02.04.17.
// Copyright © 2017 mityny. All rights reserved.
// Copyright © 2017 rlxone. All rights reserved.
//

import Cocoa
Expand Down Expand Up @@ -38,7 +38,7 @@ class VolumeViewController: NSViewController, NSTableViewDataSource {
appDelegate.statusItem.button?.image = NSImage(named: "StatusBar2Image")
} else if value > Float(StatusBarImageProgress.second.rawValue) && value < Float(StatusBarImageProgress.third.rawValue) {
appDelegate.statusItem.button?.image = NSImage(named: "StatusBar3Image")
} else if value > Float(StatusBarImageProgress.second.rawValue) && value < 100 {
} else if value > Float(StatusBarImageProgress.second.rawValue) && value <= 100 {
appDelegate.statusItem.button?.image = NSImage(named: "StatusBar4Image")
}
}
Expand Down

0 comments on commit 5dcb2c2

Please sign in to comment.