Project setup
21
.gitignore
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
## Build generated
|
||||
build/
|
||||
DerivedData
|
||||
.idea/
|
||||
|
||||
## Various settings
|
||||
*.pbxuser
|
||||
!default.pbxuser
|
||||
*.mode1v3
|
||||
!default.mode1v3
|
||||
*.mode2v3
|
||||
!default.mode2v3
|
||||
*.perspectivev3
|
||||
!default.perspectivev3
|
||||
xcuserdata
|
||||
|
||||
## Other
|
||||
*.xccheckout
|
||||
*.moved-aside
|
||||
*.xcuserstate
|
||||
.DS_Store
|
31
.swiftlint.yml
Normal file
@ -0,0 +1,31 @@
|
||||
disabled_rules:
|
||||
- trailing_whitespace
|
||||
- file_length
|
||||
- function_body_length
|
||||
- function_parameter_count
|
||||
- type_body_length
|
||||
- line_length
|
||||
- large_tuple
|
||||
- nesting
|
||||
- cyclomatic_complexity
|
||||
- generic_type_name
|
||||
- identifier_name
|
||||
- type_name
|
||||
- weak_delegate
|
||||
- class_delegate_protocol
|
||||
- first_where
|
||||
- force_cast
|
||||
- multiple_closures_with_trailing_closure
|
||||
- force_try
|
||||
- unused_setter_value
|
||||
|
||||
|
||||
opt_in_rules:
|
||||
- explicit_init
|
||||
- fatal_error_message
|
||||
- first_where
|
||||
- operator_usage_whitespace
|
||||
|
||||
shorthand_operator: warning
|
||||
empty_count: warning
|
||||
dynamic_inline: warning
|
@ -73,6 +73,7 @@
|
||||
2C1995382674C4B900A8E370 /* Sources */,
|
||||
2C1995392674C4B900A8E370 /* Frameworks */,
|
||||
2C19953A2674C4B900A8E370 /* Resources */,
|
||||
2C1995512674C6A100A8E370 /* ShellScript */,
|
||||
);
|
||||
buildRules = (
|
||||
);
|
||||
@ -127,6 +128,26 @@
|
||||
};
|
||||
/* End PBXResourcesBuildPhase section */
|
||||
|
||||
/* Begin PBXShellScriptBuildPhase section */
|
||||
2C1995512674C6A100A8E370 /* ShellScript */ = {
|
||||
isa = PBXShellScriptBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
);
|
||||
inputFileListPaths = (
|
||||
);
|
||||
inputPaths = (
|
||||
);
|
||||
outputFileListPaths = (
|
||||
);
|
||||
outputPaths = (
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
shellPath = /bin/sh;
|
||||
shellScript = "if which swiftlint >/dev/null; then\n swiftlint\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi\n";
|
||||
};
|
||||
/* End PBXShellScriptBuildPhase section */
|
||||
|
||||
/* Begin PBXSourcesBuildPhase section */
|
||||
2C1995382674C4B900A8E370 /* Sources */ = {
|
||||
isa = PBXSourcesBuildPhase;
|
||||
|
@ -0,0 +1,8 @@
|
||||
<?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>FILEHEADER</key>
|
||||
<string> Copyright © ___YEAR___ Encrypted Ink. All rights reserved.</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,18 +1,10 @@
|
||||
//
|
||||
// AppDelegate.swift
|
||||
// Ecrypted Ink
|
||||
//
|
||||
// Created by Ivan Grachev on 12.06.2021.
|
||||
//
|
||||
// Copyright © 2021 Encrypted Ink. All rights reserved.
|
||||
|
||||
import Cocoa
|
||||
|
||||
@main
|
||||
class AppDelegate: NSObject, NSApplicationDelegate {
|
||||
|
||||
|
||||
|
||||
|
||||
func applicationDidFinishLaunching(_ aNotification: Notification) {
|
||||
// Insert code here to initialize your application
|
||||
}
|
||||
@ -21,6 +13,4 @@ class AppDelegate: NSObject, NSApplicationDelegate {
|
||||
// Insert code here to tear down your application
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
@ -1,51 +1,61 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"filename" : "Icon-16.png",
|
||||
"idiom" : "mac",
|
||||
"scale" : "1x",
|
||||
"size" : "16x16"
|
||||
},
|
||||
{
|
||||
"filename" : "Icon-33.png",
|
||||
"idiom" : "mac",
|
||||
"scale" : "2x",
|
||||
"size" : "16x16"
|
||||
},
|
||||
{
|
||||
"filename" : "Icon-32.png",
|
||||
"idiom" : "mac",
|
||||
"scale" : "1x",
|
||||
"size" : "32x32"
|
||||
},
|
||||
{
|
||||
"filename" : "Icon-64.png",
|
||||
"idiom" : "mac",
|
||||
"scale" : "2x",
|
||||
"size" : "32x32"
|
||||
},
|
||||
{
|
||||
"filename" : "Icon-128.png",
|
||||
"idiom" : "mac",
|
||||
"scale" : "1x",
|
||||
"size" : "128x128"
|
||||
},
|
||||
{
|
||||
"filename" : "Icon-257.png",
|
||||
"idiom" : "mac",
|
||||
"scale" : "2x",
|
||||
"size" : "128x128"
|
||||
},
|
||||
{
|
||||
"filename" : "Icon-256.png",
|
||||
"idiom" : "mac",
|
||||
"scale" : "1x",
|
||||
"size" : "256x256"
|
||||
},
|
||||
{
|
||||
"filename" : "Icon-513.png",
|
||||
"idiom" : "mac",
|
||||
"scale" : "2x",
|
||||
"size" : "256x256"
|
||||
},
|
||||
{
|
||||
"filename" : "Icon-512.png",
|
||||
"idiom" : "mac",
|
||||
"scale" : "1x",
|
||||
"size" : "512x512"
|
||||
},
|
||||
{
|
||||
"filename" : "Icon-1024.png",
|
||||
"idiom" : "mac",
|
||||
"scale" : "2x",
|
||||
"size" : "512x512"
|
||||
|
BIN
Ecrypted Ink/Assets.xcassets/AppIcon.appiconset/Icon-1024.png
Normal file
After Width: | Height: | Size: 395 KiB |
BIN
Ecrypted Ink/Assets.xcassets/AppIcon.appiconset/Icon-128.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
Ecrypted Ink/Assets.xcassets/AppIcon.appiconset/Icon-16.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
Ecrypted Ink/Assets.xcassets/AppIcon.appiconset/Icon-256.png
Normal file
After Width: | Height: | Size: 33 KiB |
BIN
Ecrypted Ink/Assets.xcassets/AppIcon.appiconset/Icon-257.png
Normal file
After Width: | Height: | Size: 33 KiB |
BIN
Ecrypted Ink/Assets.xcassets/AppIcon.appiconset/Icon-32.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
Ecrypted Ink/Assets.xcassets/AppIcon.appiconset/Icon-33.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
Ecrypted Ink/Assets.xcassets/AppIcon.appiconset/Icon-512.png
Normal file
After Width: | Height: | Size: 113 KiB |
BIN
Ecrypted Ink/Assets.xcassets/AppIcon.appiconset/Icon-513.png
Normal file
After Width: | Height: | Size: 113 KiB |
BIN
Ecrypted Ink/Assets.xcassets/AppIcon.appiconset/Icon-64.png
Normal file
After Width: | Height: | Size: 3.6 KiB |
@ -1,9 +1,4 @@
|
||||
//
|
||||
// ViewController.swift
|
||||
// Ecrypted Ink
|
||||
//
|
||||
// Created by Ivan Grachev on 12.06.2021.
|
||||
//
|
||||
// Copyright © 2021 Encrypted Ink. All rights reserved.
|
||||
|
||||
import Cocoa
|
||||
|
||||
@ -21,6 +16,4 @@ class ViewController: NSViewController {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|