-
-
Notifications
You must be signed in to change notification settings - Fork 926
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* v2.0.0 * rewritten application from scratch * new Settings * new custom popup view * moved to own implementation of chart * added more option to configure a widget * now each module has own widget in the menu bar * a lot of new features...
- Loading branch information
Showing
152 changed files
with
8,502 additions
and
7,588 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,6 @@ xcuserdata | |
|
||
Stats.dmg | ||
Stats.app | ||
create-dmg | ||
create-dmg | ||
|
||
Cartfile.resolved |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
github "danielgindi/Charts" ~> 3.4.0 | ||
github "ashleymills/Reachability.swift" ~> 5.0.0 | ||
github "malcommac/Repeat" ~> 0.6.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
// | ||
// Constants.swift | ||
// ModuleKit | ||
// | ||
// Created by Serhiy Mytrovtsiy on 15/04/2020. | ||
// Using Swift 5.0. | ||
// Running on macOS 10.15. | ||
// | ||
// Copyright © 2020 Serhiy Mytrovtsiy. All rights reserved. | ||
// | ||
|
||
import Cocoa | ||
|
||
public struct Popup_c_s { | ||
public let width: CGFloat = 264 | ||
public let height: CGFloat = 300 | ||
public let margins: CGFloat = 8 | ||
public let headerHeight: CGFloat = 42 | ||
public let separatorHeight: CGFloat = 30 | ||
} | ||
|
||
public struct Settings_c_s { | ||
public let width: CGFloat = 539 | ||
public let height: CGFloat = 479 | ||
public let margin: CGFloat = 10 | ||
} | ||
|
||
public struct Widget_c_s { | ||
public let width: CGFloat = 32 | ||
public var height: CGFloat { | ||
get { | ||
let systemHeight = NSApplication.shared.mainMenu?.menuBarHeight | ||
return (systemHeight == 0 ? 22 : systemHeight) ?? 22 | ||
} | ||
} | ||
public let margin: CGFloat = 2 | ||
} | ||
|
||
public struct Constants { | ||
public static let Popup: Popup_c_s = Popup_c_s() | ||
public static let Settings: Settings_c_s = Settings_c_s() | ||
public static let Widget: Widget_c_s = Widget_c_s() | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
ModuleKit/Supporting Files/Assets.xcassets/settings.imageset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"filename" : "baseline_settings_black_24pt_1x.png", | ||
"idiom" : "universal", | ||
"scale" : "1x" | ||
}, | ||
{ | ||
"filename" : "baseline_settings_black_24pt_2x.png", | ||
"idiom" : "universal", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"filename" : "baseline_settings_black_24pt_3x.png", | ||
"idiom" : "universal", | ||
"scale" : "3x" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
}, | ||
"properties" : { | ||
"template-rendering-intent" : "template" | ||
} | ||
} |
Binary file added
BIN
+330 Bytes
...ing Files/Assets.xcassets/settings.imageset/baseline_settings_black_24pt_1x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+551 Bytes
...ing Files/Assets.xcassets/settings.imageset/baseline_settings_black_24pt_2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+772 Bytes
...ing Files/Assets.xcassets/settings.imageset/baseline_settings_black_24pt_3x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>CFBundleDevelopmentRegion</key> | ||
<string>$(DEVELOPMENT_LANGUAGE)</string> | ||
<key>CFBundleExecutable</key> | ||
<string>$(EXECUTABLE_NAME)</string> | ||
<key>CFBundleIdentifier</key> | ||
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundleName</key> | ||
<string>$(PRODUCT_NAME)</string> | ||
<key>CFBundlePackageType</key> | ||
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>1.0</string> | ||
<key>CFBundleVersion</key> | ||
<string>$(CURRENT_PROJECT_VERSION)</string> | ||
<key>NSHumanReadableCopyright</key> | ||
<string>Copyright © 2020 Serhiy Mytrovtsiy. All rights reserved.</string> | ||
</dict> | ||
</plist> |
Oops, something went wrong.