Skip to content

Commit 6d72b96

Browse files
committed
Initial commit πŸš€
1 parent 28eaeab commit 6d72b96

22 files changed

+401
-6
lines changed

β€Ž.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
xcuserdata
3+
project.xcworkspace
4+
Carthage/Checkouts
5+
Carthage/Build
6+
Release

β€ŽAutoClicker.xcodeproj/project.pbxproj

Lines changed: 54 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,15 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 50;
6+
objectVersion = 52;
77
objects = {
88

99
/* Begin PBXBuildFile section */
10+
B10801EC26180977003E098E /* VisualEffectBlur.swift in Sources */ = {isa = PBXBuildFile; fileRef = B10801EB26180977003E098E /* VisualEffectBlur.swift */; };
11+
B1080200261A33ED003E098E /* KeyboardShortcuts in Frameworks */ = {isa = PBXBuildFile; productRef = B10801FF261A33ED003E098E /* KeyboardShortcuts */; };
12+
B1080206261A3521003E098E /* Constants.swift in Sources */ = {isa = PBXBuildFile; fileRef = B1080205261A3521003E098E /* Constants.swift */; };
13+
B108020C261A38B8003E098E /* SettingsView.swift in Sources */ = {isa = PBXBuildFile; fileRef = B108020B261A38B8003E098E /* SettingsView.swift */; };
14+
B1080212261A3957003E098E /* GeneralSettingsView.swift in Sources */ = {isa = PBXBuildFile; fileRef = B1080211261A3957003E098E /* GeneralSettingsView.swift */; };
1015
B173F36F260CAEE100717643 /* Tests_iOS.swift in Sources */ = {isa = PBXBuildFile; fileRef = B173F36E260CAEE100717643 /* Tests_iOS.swift */; };
1116
B173F37A260CAEE100717643 /* Tests_macOS.swift in Sources */ = {isa = PBXBuildFile; fileRef = B173F379260CAEE100717643 /* Tests_macOS.swift */; };
1217
B173F37C260CAEE100717643 /* AutoClickerApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = B173F353260CAEDE00717643 /* AutoClickerApp.swift */; };
@@ -15,6 +20,9 @@
1520
B173F37F260CAEE100717643 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = B173F354260CAEDE00717643 /* ContentView.swift */; };
1621
B173F380260CAEE100717643 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = B173F355260CAEE100717643 /* Assets.xcassets */; };
1722
B173F381260CAEE100717643 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = B173F355260CAEE100717643 /* Assets.xcassets */; };
23+
B173F39C260D5C6800717643 /* HomeView.swift in Sources */ = {isa = PBXBuildFile; fileRef = B173F39B260D5C6800717643 /* HomeView.swift */; };
24+
B173F39D260D5C6800717643 /* HomeView.swift in Sources */ = {isa = PBXBuildFile; fileRef = B173F39B260D5C6800717643 /* HomeView.swift */; };
25+
B1FD016B261A54C000690375 /* AppState.swift in Sources */ = {isa = PBXBuildFile; fileRef = B1FD016A261A54C000690375 /* AppState.swift */; };
1826
/* End PBXBuildFile section */
1927

2028
/* Begin PBXContainerItemProxy section */
@@ -35,6 +43,10 @@
3543
/* End PBXContainerItemProxy section */
3644

3745
/* Begin PBXFileReference section */
46+
B10801EB26180977003E098E /* VisualEffectBlur.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = VisualEffectBlur.swift; sourceTree = "<group>"; };
47+
B1080205261A3521003E098E /* Constants.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Constants.swift; sourceTree = "<group>"; };
48+
B108020B261A38B8003E098E /* SettingsView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SettingsView.swift; sourceTree = "<group>"; };
49+
B1080211261A3957003E098E /* GeneralSettingsView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GeneralSettingsView.swift; sourceTree = "<group>"; };
3850
B173F353260CAEDE00717643 /* AutoClickerApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AutoClickerApp.swift; sourceTree = "<group>"; };
3951
B173F354260CAEDE00717643 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
4052
B173F355260CAEE100717643 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
@@ -49,6 +61,8 @@
4961
B173F375260CAEE100717643 /* Tests macOS.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Tests macOS.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
5062
B173F379260CAEE100717643 /* Tests_macOS.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests_macOS.swift; sourceTree = "<group>"; };
5163
B173F37B260CAEE100717643 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
64+
B173F39B260D5C6800717643 /* HomeView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HomeView.swift; sourceTree = "<group>"; };
65+
B1FD016A261A54C000690375 /* AppState.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppState.swift; sourceTree = "<group>"; };
5266
/* End PBXFileReference section */
5367

5468
/* Begin PBXFrameworksBuildPhase section */
@@ -63,6 +77,7 @@
6377
isa = PBXFrameworksBuildPhase;
6478
buildActionMask = 2147483647;
6579
files = (
80+
B1080200261A33ED003E098E /* KeyboardShortcuts in Frameworks */,
6681
);
6782
runOnlyForDeploymentPostprocessing = 0;
6883
};
@@ -101,6 +116,11 @@
101116
B173F353260CAEDE00717643 /* AutoClickerApp.swift */,
102117
B173F354260CAEDE00717643 /* ContentView.swift */,
103118
B173F355260CAEE100717643 /* Assets.xcassets */,
119+
B108020B261A38B8003E098E /* SettingsView.swift */,
120+
B1080211261A3957003E098E /* GeneralSettingsView.swift */,
121+
B1FD016A261A54C000690375 /* AppState.swift */,
122+
B173F39B260D5C6800717643 /* HomeView.swift */,
123+
B1080205261A3521003E098E /* Constants.swift */,
104124
);
105125
path = Shared;
106126
sourceTree = "<group>";
@@ -128,6 +148,7 @@
128148
isa = PBXGroup;
129149
children = (
130150
B173F364260CAEE100717643 /* Info.plist */,
151+
B10801EB26180977003E098E /* VisualEffectBlur.swift */,
131152
B173F365260CAEE100717643 /* macOS.entitlements */,
132153
);
133154
path = macOS;
@@ -184,6 +205,9 @@
184205
dependencies = (
185206
);
186207
name = "AutoClicker (macOS)";
208+
packageProductDependencies = (
209+
B10801FF261A33ED003E098E /* KeyboardShortcuts */,
210+
);
187211
productName = "AutoClicker (macOS)";
188212
productReference = B173F362260CAEE100717643 /* AutoClicker.app */;
189213
productType = "com.apple.product-type.application";
@@ -258,6 +282,9 @@
258282
Base,
259283
);
260284
mainGroup = B173F34D260CAEDE00717643;
285+
packageReferences = (
286+
B10801FE261A33ED003E098E /* XCRemoteSwiftPackageReference "KeyboardShortcuts" */,
287+
);
261288
productRefGroup = B173F35B260CAEE100717643 /* Products */;
262289
projectDirPath = "";
263290
projectRoot = "";
@@ -308,6 +335,7 @@
308335
isa = PBXSourcesBuildPhase;
309336
buildActionMask = 2147483647;
310337
files = (
338+
B173F39C260D5C6800717643 /* HomeView.swift in Sources */,
311339
B173F37E260CAEE100717643 /* ContentView.swift in Sources */,
312340
B173F37C260CAEE100717643 /* AutoClickerApp.swift in Sources */,
313341
);
@@ -317,8 +345,14 @@
317345
isa = PBXSourcesBuildPhase;
318346
buildActionMask = 2147483647;
319347
files = (
348+
B108020C261A38B8003E098E /* SettingsView.swift in Sources */,
349+
B10801EC26180977003E098E /* VisualEffectBlur.swift in Sources */,
350+
B173F39D260D5C6800717643 /* HomeView.swift in Sources */,
351+
B1FD016B261A54C000690375 /* AppState.swift in Sources */,
320352
B173F37F260CAEE100717643 /* ContentView.swift in Sources */,
321353
B173F37D260CAEE100717643 /* AutoClickerApp.swift in Sources */,
354+
B1080212261A3957003E098E /* GeneralSettingsView.swift in Sources */,
355+
B1080206261A3521003E098E /* Constants.swift in Sources */,
322356
);
323357
runOnlyForDeploymentPostprocessing = 0;
324358
};
@@ -696,6 +730,25 @@
696730
defaultConfigurationName = Release;
697731
};
698732
/* End XCConfigurationList section */
733+
734+
/* Begin XCRemoteSwiftPackageReference section */
735+
B10801FE261A33ED003E098E /* XCRemoteSwiftPackageReference "KeyboardShortcuts" */ = {
736+
isa = XCRemoteSwiftPackageReference;
737+
repositoryURL = "https://github.com/sindresorhus/KeyboardShortcuts";
738+
requirement = {
739+
kind = upToNextMajorVersion;
740+
minimumVersion = 1.0.0;
741+
};
742+
};
743+
/* End XCRemoteSwiftPackageReference section */
744+
745+
/* Begin XCSwiftPackageProductDependency section */
746+
B10801FF261A33ED003E098E /* KeyboardShortcuts */ = {
747+
isa = XCSwiftPackageProductDependency;
748+
package = B10801FE261A33ED003E098E /* XCRemoteSwiftPackageReference "KeyboardShortcuts" */;
749+
productName = KeyboardShortcuts;
750+
};
751+
/* End XCSwiftPackageProductDependency section */
699752
};
700753
rootObject = B173F34E260CAEDE00717643 /* Project object */;
701754
}

β€ŽAutoClicker.xcodeproj/xcuserdata/leonardodominguez.xcuserdatad/xcschemes/xcschememanagement.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
<key>AutoClicker (iOS).xcscheme_^#shared#^_</key>
88
<dict>
99
<key>orderHint</key>
10-
<integer>0</integer>
10+
<integer>1</integer>
1111
</dict>
1212
<key>AutoClicker (macOS).xcscheme_^#shared#^_</key>
1313
<dict>
1414
<key>orderHint</key>
15-
<integer>1</integer>
15+
<integer>0</integer>
1616
</dict>
1717
</dict>
1818
</dict>

β€ŽShared/AppState.swift

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
//
2+
// AppState.swift
3+
// AutoClicker (macOS)
4+
//
5+
// Created by Leonardo Dominguez on 4/4/21.
6+
//
7+
import Foundation
8+
import KeyboardShortcuts
9+
10+
class AppState: ObservableObject {
11+
@Published var shortcut: KeyboardShortcuts.Shortcut?
12+
13+
init() {
14+
shortcut = KeyboardShortcuts.getShortcut(for: .toggleAutoClick)
15+
}
16+
}

β€ŽShared/Assets.xcassets/AppIcon.appiconset/Contents.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,51 +91,61 @@
9191
"size" : "1024x1024"
9292
},
9393
{
94+
"filename" : "Icon-16.png",
9495
"idiom" : "mac",
9596
"scale" : "1x",
9697
"size" : "16x16"
9798
},
9899
{
100+
"filename" : "Icon-33.png",
99101
"idiom" : "mac",
100102
"scale" : "2x",
101103
"size" : "16x16"
102104
},
103105
{
106+
"filename" : "Icon-32.png",
104107
"idiom" : "mac",
105108
"scale" : "1x",
106109
"size" : "32x32"
107110
},
108111
{
112+
"filename" : "Icon-64.png",
109113
"idiom" : "mac",
110114
"scale" : "2x",
111115
"size" : "32x32"
112116
},
113117
{
118+
"filename" : "Icon-128.png",
114119
"idiom" : "mac",
115120
"scale" : "1x",
116121
"size" : "128x128"
117122
},
118123
{
124+
"filename" : "Icon-257.png",
119125
"idiom" : "mac",
120126
"scale" : "2x",
121127
"size" : "128x128"
122128
},
123129
{
130+
"filename" : "Icon-256.png",
124131
"idiom" : "mac",
125132
"scale" : "1x",
126133
"size" : "256x256"
127134
},
128135
{
136+
"filename" : "Icon-512.png",
129137
"idiom" : "mac",
130138
"scale" : "2x",
131139
"size" : "256x256"
132140
},
133141
{
142+
"filename" : "playstore.png",
134143
"idiom" : "mac",
135144
"scale" : "1x",
136145
"size" : "512x512"
137146
},
138147
{
148+
"filename" : "Icon-1024.png",
139149
"idiom" : "mac",
140150
"scale" : "2x",
141151
"size" : "512x512"
417 KB
Loading
11.6 KB
Loading
579 Bytes
Loading
34.8 KB
Loading
34.8 KB
Loading

0 commit comments

Comments
Β (0)