Skip to content

Commit 8b08494

Browse files
Add base logic
1 parent 00a30f9 commit 8b08494

File tree

13 files changed

+588
-1
lines changed

13 files changed

+588
-1
lines changed

.github/screenshot.png

56.8 KB
Loading

.github/workflows/build.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Build
2+
3+
on:
4+
schedule:
5+
- cron: "0 2 1 * *"
6+
push:
7+
branches: [main]
8+
pull_request:
9+
branches: [main]
10+
11+
jobs:
12+
build:
13+
runs-on: macOS-latest
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Build
17+
run: xcodebuild clean build CODE_SIGNING_ALLOWED=NO
Lines changed: 353 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,353 @@
1+
// !$*UTF8*$!
2+
{
3+
archiveVersion = 1;
4+
classes = {
5+
};
6+
objectVersion = 56;
7+
objects = {
8+
9+
/* Begin PBXBuildFile section */
10+
06FD15242C8A291100E39DB0 /* GithubContributionGraphExampleApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 06FD15232C8A291100E39DB0 /* GithubContributionGraphExampleApp.swift */; };
11+
06FD15262C8A291100E39DB0 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 06FD15252C8A291100E39DB0 /* ContentView.swift */; };
12+
06FD15282C8A291300E39DB0 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 06FD15272C8A291300E39DB0 /* Assets.xcassets */; };
13+
06FD152B2C8A291300E39DB0 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 06FD152A2C8A291300E39DB0 /* Preview Assets.xcassets */; };
14+
06FD15322C8A295E00E39DB0 /* Contribution.swift in Sources */ = {isa = PBXBuildFile; fileRef = 06FD15312C8A295E00E39DB0 /* Contribution.swift */; };
15+
/* End PBXBuildFile section */
16+
17+
/* Begin PBXFileReference section */
18+
06FD15202C8A291100E39DB0 /* GithubContributionGraphExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = GithubContributionGraphExample.app; sourceTree = BUILT_PRODUCTS_DIR; };
19+
06FD15232C8A291100E39DB0 /* GithubContributionGraphExampleApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GithubContributionGraphExampleApp.swift; sourceTree = "<group>"; };
20+
06FD15252C8A291100E39DB0 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
21+
06FD15272C8A291300E39DB0 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
22+
06FD152A2C8A291300E39DB0 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = "<group>"; };
23+
06FD15312C8A295E00E39DB0 /* Contribution.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Contribution.swift; sourceTree = "<group>"; };
24+
/* End PBXFileReference section */
25+
26+
/* Begin PBXFrameworksBuildPhase section */
27+
06FD151D2C8A291100E39DB0 /* Frameworks */ = {
28+
isa = PBXFrameworksBuildPhase;
29+
buildActionMask = 2147483647;
30+
files = (
31+
);
32+
runOnlyForDeploymentPostprocessing = 0;
33+
};
34+
/* End PBXFrameworksBuildPhase section */
35+
36+
/* Begin PBXGroup section */
37+
06FD15172C8A291100E39DB0 = {
38+
isa = PBXGroup;
39+
children = (
40+
06FD15222C8A291100E39DB0 /* GithubContributionGraphExample */,
41+
06FD15212C8A291100E39DB0 /* Products */,
42+
);
43+
sourceTree = "<group>";
44+
};
45+
06FD15212C8A291100E39DB0 /* Products */ = {
46+
isa = PBXGroup;
47+
children = (
48+
06FD15202C8A291100E39DB0 /* GithubContributionGraphExample.app */,
49+
);
50+
name = Products;
51+
sourceTree = "<group>";
52+
};
53+
06FD15222C8A291100E39DB0 /* GithubContributionGraphExample */ = {
54+
isa = PBXGroup;
55+
children = (
56+
06FD15232C8A291100E39DB0 /* GithubContributionGraphExampleApp.swift */,
57+
06FD15252C8A291100E39DB0 /* ContentView.swift */,
58+
06FD15312C8A295E00E39DB0 /* Contribution.swift */,
59+
06FD15272C8A291300E39DB0 /* Assets.xcassets */,
60+
06FD15292C8A291300E39DB0 /* Preview Content */,
61+
);
62+
path = GithubContributionGraphExample;
63+
sourceTree = "<group>";
64+
};
65+
06FD15292C8A291300E39DB0 /* Preview Content */ = {
66+
isa = PBXGroup;
67+
children = (
68+
06FD152A2C8A291300E39DB0 /* Preview Assets.xcassets */,
69+
);
70+
path = "Preview Content";
71+
sourceTree = "<group>";
72+
};
73+
/* End PBXGroup section */
74+
75+
/* Begin PBXNativeTarget section */
76+
06FD151F2C8A291100E39DB0 /* GithubContributionGraphExample */ = {
77+
isa = PBXNativeTarget;
78+
buildConfigurationList = 06FD152E2C8A291300E39DB0 /* Build configuration list for PBXNativeTarget "GithubContributionGraphExample" */;
79+
buildPhases = (
80+
06FD151C2C8A291100E39DB0 /* Sources */,
81+
06FD151D2C8A291100E39DB0 /* Frameworks */,
82+
06FD151E2C8A291100E39DB0 /* Resources */,
83+
);
84+
buildRules = (
85+
);
86+
dependencies = (
87+
);
88+
name = GithubContributionGraphExample;
89+
productName = GithubContributionGraphExample;
90+
productReference = 06FD15202C8A291100E39DB0 /* GithubContributionGraphExample.app */;
91+
productType = "com.apple.product-type.application";
92+
};
93+
/* End PBXNativeTarget section */
94+
95+
/* Begin PBXProject section */
96+
06FD15182C8A291100E39DB0 /* Project object */ = {
97+
isa = PBXProject;
98+
attributes = {
99+
BuildIndependentTargetsInParallel = 1;
100+
LastSwiftUpdateCheck = 1530;
101+
LastUpgradeCheck = 1530;
102+
TargetAttributes = {
103+
06FD151F2C8A291100E39DB0 = {
104+
CreatedOnToolsVersion = 15.3;
105+
};
106+
};
107+
};
108+
buildConfigurationList = 06FD151B2C8A291100E39DB0 /* Build configuration list for PBXProject "GithubContributionGraphExample" */;
109+
compatibilityVersion = "Xcode 14.0";
110+
developmentRegion = en;
111+
hasScannedForEncodings = 0;
112+
knownRegions = (
113+
en,
114+
Base,
115+
);
116+
mainGroup = 06FD15172C8A291100E39DB0;
117+
productRefGroup = 06FD15212C8A291100E39DB0 /* Products */;
118+
projectDirPath = "";
119+
projectRoot = "";
120+
targets = (
121+
06FD151F2C8A291100E39DB0 /* GithubContributionGraphExample */,
122+
);
123+
};
124+
/* End PBXProject section */
125+
126+
/* Begin PBXResourcesBuildPhase section */
127+
06FD151E2C8A291100E39DB0 /* Resources */ = {
128+
isa = PBXResourcesBuildPhase;
129+
buildActionMask = 2147483647;
130+
files = (
131+
06FD152B2C8A291300E39DB0 /* Preview Assets.xcassets in Resources */,
132+
06FD15282C8A291300E39DB0 /* Assets.xcassets in Resources */,
133+
);
134+
runOnlyForDeploymentPostprocessing = 0;
135+
};
136+
/* End PBXResourcesBuildPhase section */
137+
138+
/* Begin PBXSourcesBuildPhase section */
139+
06FD151C2C8A291100E39DB0 /* Sources */ = {
140+
isa = PBXSourcesBuildPhase;
141+
buildActionMask = 2147483647;
142+
files = (
143+
06FD15262C8A291100E39DB0 /* ContentView.swift in Sources */,
144+
06FD15242C8A291100E39DB0 /* GithubContributionGraphExampleApp.swift in Sources */,
145+
06FD15322C8A295E00E39DB0 /* Contribution.swift in Sources */,
146+
);
147+
runOnlyForDeploymentPostprocessing = 0;
148+
};
149+
/* End PBXSourcesBuildPhase section */
150+
151+
/* Begin XCBuildConfiguration section */
152+
06FD152C2C8A291300E39DB0 /* Debug */ = {
153+
isa = XCBuildConfiguration;
154+
buildSettings = {
155+
ALWAYS_SEARCH_USER_PATHS = NO;
156+
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
157+
CLANG_ANALYZER_NONNULL = YES;
158+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
159+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
160+
CLANG_ENABLE_MODULES = YES;
161+
CLANG_ENABLE_OBJC_ARC = YES;
162+
CLANG_ENABLE_OBJC_WEAK = YES;
163+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
164+
CLANG_WARN_BOOL_CONVERSION = YES;
165+
CLANG_WARN_COMMA = YES;
166+
CLANG_WARN_CONSTANT_CONVERSION = YES;
167+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
168+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
169+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
170+
CLANG_WARN_EMPTY_BODY = YES;
171+
CLANG_WARN_ENUM_CONVERSION = YES;
172+
CLANG_WARN_INFINITE_RECURSION = YES;
173+
CLANG_WARN_INT_CONVERSION = YES;
174+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
175+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
176+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
177+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
178+
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
179+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
180+
CLANG_WARN_STRICT_PROTOTYPES = YES;
181+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
182+
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
183+
CLANG_WARN_UNREACHABLE_CODE = YES;
184+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
185+
COPY_PHASE_STRIP = NO;
186+
DEBUG_INFORMATION_FORMAT = dwarf;
187+
ENABLE_STRICT_OBJC_MSGSEND = YES;
188+
ENABLE_TESTABILITY = YES;
189+
ENABLE_USER_SCRIPT_SANDBOXING = YES;
190+
GCC_C_LANGUAGE_STANDARD = gnu17;
191+
GCC_DYNAMIC_NO_PIC = NO;
192+
GCC_NO_COMMON_BLOCKS = YES;
193+
GCC_OPTIMIZATION_LEVEL = 0;
194+
GCC_PREPROCESSOR_DEFINITIONS = (
195+
"DEBUG=1",
196+
"$(inherited)",
197+
);
198+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
199+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
200+
GCC_WARN_UNDECLARED_SELECTOR = YES;
201+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
202+
GCC_WARN_UNUSED_FUNCTION = YES;
203+
GCC_WARN_UNUSED_VARIABLE = YES;
204+
IPHONEOS_DEPLOYMENT_TARGET = 17.4;
205+
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
206+
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
207+
MTL_FAST_MATH = YES;
208+
ONLY_ACTIVE_ARCH = YES;
209+
SDKROOT = iphoneos;
210+
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)";
211+
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
212+
};
213+
name = Debug;
214+
};
215+
06FD152D2C8A291300E39DB0 /* Release */ = {
216+
isa = XCBuildConfiguration;
217+
buildSettings = {
218+
ALWAYS_SEARCH_USER_PATHS = NO;
219+
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
220+
CLANG_ANALYZER_NONNULL = YES;
221+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
222+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
223+
CLANG_ENABLE_MODULES = YES;
224+
CLANG_ENABLE_OBJC_ARC = YES;
225+
CLANG_ENABLE_OBJC_WEAK = YES;
226+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
227+
CLANG_WARN_BOOL_CONVERSION = YES;
228+
CLANG_WARN_COMMA = YES;
229+
CLANG_WARN_CONSTANT_CONVERSION = YES;
230+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
231+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
232+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
233+
CLANG_WARN_EMPTY_BODY = YES;
234+
CLANG_WARN_ENUM_CONVERSION = YES;
235+
CLANG_WARN_INFINITE_RECURSION = YES;
236+
CLANG_WARN_INT_CONVERSION = YES;
237+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
238+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
239+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
240+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
241+
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
242+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
243+
CLANG_WARN_STRICT_PROTOTYPES = YES;
244+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
245+
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
246+
CLANG_WARN_UNREACHABLE_CODE = YES;
247+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
248+
COPY_PHASE_STRIP = NO;
249+
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
250+
ENABLE_NS_ASSERTIONS = NO;
251+
ENABLE_STRICT_OBJC_MSGSEND = YES;
252+
ENABLE_USER_SCRIPT_SANDBOXING = YES;
253+
GCC_C_LANGUAGE_STANDARD = gnu17;
254+
GCC_NO_COMMON_BLOCKS = YES;
255+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
256+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
257+
GCC_WARN_UNDECLARED_SELECTOR = YES;
258+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
259+
GCC_WARN_UNUSED_FUNCTION = YES;
260+
GCC_WARN_UNUSED_VARIABLE = YES;
261+
IPHONEOS_DEPLOYMENT_TARGET = 17.4;
262+
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
263+
MTL_ENABLE_DEBUG_INFO = NO;
264+
MTL_FAST_MATH = YES;
265+
SDKROOT = iphoneos;
266+
SWIFT_COMPILATION_MODE = wholemodule;
267+
VALIDATE_PRODUCT = YES;
268+
};
269+
name = Release;
270+
};
271+
06FD152F2C8A291300E39DB0 /* Debug */ = {
272+
isa = XCBuildConfiguration;
273+
buildSettings = {
274+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
275+
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
276+
CODE_SIGN_STYLE = Automatic;
277+
CURRENT_PROJECT_VERSION = 1;
278+
DEVELOPMENT_ASSET_PATHS = "\"GithubContributionGraphExample/Preview Content\"";
279+
DEVELOPMENT_TEAM = 79RZ866842;
280+
ENABLE_PREVIEWS = YES;
281+
GENERATE_INFOPLIST_FILE = YES;
282+
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
283+
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
284+
INFOPLIST_KEY_UILaunchScreen_Generation = YES;
285+
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
286+
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
287+
LD_RUNPATH_SEARCH_PATHS = (
288+
"$(inherited)",
289+
"@executable_path/Frameworks",
290+
);
291+
MARKETING_VERSION = 1.0;
292+
PRODUCT_BUNDLE_IDENTIFIER = com.artemnovichkov.GithubContributionGraphExample;
293+
PRODUCT_NAME = "$(TARGET_NAME)";
294+
SWIFT_EMIT_LOC_STRINGS = YES;
295+
SWIFT_VERSION = 5.0;
296+
TARGETED_DEVICE_FAMILY = "1,2";
297+
};
298+
name = Debug;
299+
};
300+
06FD15302C8A291300E39DB0 /* Release */ = {
301+
isa = XCBuildConfiguration;
302+
buildSettings = {
303+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
304+
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
305+
CODE_SIGN_STYLE = Automatic;
306+
CURRENT_PROJECT_VERSION = 1;
307+
DEVELOPMENT_ASSET_PATHS = "\"GithubContributionGraphExample/Preview Content\"";
308+
DEVELOPMENT_TEAM = 79RZ866842;
309+
ENABLE_PREVIEWS = YES;
310+
GENERATE_INFOPLIST_FILE = YES;
311+
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
312+
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
313+
INFOPLIST_KEY_UILaunchScreen_Generation = YES;
314+
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
315+
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
316+
LD_RUNPATH_SEARCH_PATHS = (
317+
"$(inherited)",
318+
"@executable_path/Frameworks",
319+
);
320+
MARKETING_VERSION = 1.0;
321+
PRODUCT_BUNDLE_IDENTIFIER = com.artemnovichkov.GithubContributionGraphExample;
322+
PRODUCT_NAME = "$(TARGET_NAME)";
323+
SWIFT_EMIT_LOC_STRINGS = YES;
324+
SWIFT_VERSION = 5.0;
325+
TARGETED_DEVICE_FAMILY = "1,2";
326+
};
327+
name = Release;
328+
};
329+
/* End XCBuildConfiguration section */
330+
331+
/* Begin XCConfigurationList section */
332+
06FD151B2C8A291100E39DB0 /* Build configuration list for PBXProject "GithubContributionGraphExample" */ = {
333+
isa = XCConfigurationList;
334+
buildConfigurations = (
335+
06FD152C2C8A291300E39DB0 /* Debug */,
336+
06FD152D2C8A291300E39DB0 /* Release */,
337+
);
338+
defaultConfigurationIsVisible = 0;
339+
defaultConfigurationName = Release;
340+
};
341+
06FD152E2C8A291300E39DB0 /* Build configuration list for PBXNativeTarget "GithubContributionGraphExample" */ = {
342+
isa = XCConfigurationList;
343+
buildConfigurations = (
344+
06FD152F2C8A291300E39DB0 /* Debug */,
345+
06FD15302C8A291300E39DB0 /* Release */,
346+
);
347+
defaultConfigurationIsVisible = 0;
348+
defaultConfigurationName = Release;
349+
};
350+
/* End XCConfigurationList section */
351+
};
352+
rootObject = 06FD15182C8A291100E39DB0 /* Project object */;
353+
}

GithubContributionGraphExample.xcodeproj/project.xcworkspace/contents.xcworkspacedata

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDEDidComputeMac32BitWarning</key>
6+
<true/>
7+
</dict>
8+
</plist>

0 commit comments

Comments
 (0)