Skip to content

Commit a56e331

Browse files
committed
init WidgetKit lab with Timeline provider
1 parent e3254dc commit a56e331

File tree

30 files changed

+1337
-0
lines changed

30 files changed

+1337
-0
lines changed
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+
DCBF28282B74913500D25667 /* LiveActivityPandaApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = DCBF28272B74913500D25667 /* LiveActivityPandaApp.swift */; };
11+
DCBF282A2B74913500D25667 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = DCBF28292B74913500D25667 /* ContentView.swift */; };
12+
DCBF282C2B74913600D25667 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = DCBF282B2B74913600D25667 /* Assets.xcassets */; };
13+
DCBF282F2B74913600D25667 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = DCBF282E2B74913600D25667 /* Preview Assets.xcassets */; };
14+
DCBF28382B7492CA00D25667 /* LiveActivityPandaViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = DCBF28372B7492CA00D25667 /* LiveActivityPandaViewModel.swift */; };
15+
/* End PBXBuildFile section */
16+
17+
/* Begin PBXFileReference section */
18+
DCBF28242B74913500D25667 /* LiveActivityPanda.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = LiveActivityPanda.app; sourceTree = BUILT_PRODUCTS_DIR; };
19+
DCBF28272B74913500D25667 /* LiveActivityPandaApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LiveActivityPandaApp.swift; sourceTree = "<group>"; };
20+
DCBF28292B74913500D25667 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
21+
DCBF282B2B74913600D25667 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
22+
DCBF282E2B74913600D25667 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = "<group>"; };
23+
DCBF28372B7492CA00D25667 /* LiveActivityPandaViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LiveActivityPandaViewModel.swift; sourceTree = "<group>"; };
24+
/* End PBXFileReference section */
25+
26+
/* Begin PBXFrameworksBuildPhase section */
27+
DCBF28212B74913500D25667 /* Frameworks */ = {
28+
isa = PBXFrameworksBuildPhase;
29+
buildActionMask = 2147483647;
30+
files = (
31+
);
32+
runOnlyForDeploymentPostprocessing = 0;
33+
};
34+
/* End PBXFrameworksBuildPhase section */
35+
36+
/* Begin PBXGroup section */
37+
DCBF281B2B74913500D25667 = {
38+
isa = PBXGroup;
39+
children = (
40+
DCBF28262B74913500D25667 /* LiveActivityPanda */,
41+
DCBF28252B74913500D25667 /* Products */,
42+
);
43+
sourceTree = "<group>";
44+
};
45+
DCBF28252B74913500D25667 /* Products */ = {
46+
isa = PBXGroup;
47+
children = (
48+
DCBF28242B74913500D25667 /* LiveActivityPanda.app */,
49+
);
50+
name = Products;
51+
sourceTree = "<group>";
52+
};
53+
DCBF28262B74913500D25667 /* LiveActivityPanda */ = {
54+
isa = PBXGroup;
55+
children = (
56+
DCBF28272B74913500D25667 /* LiveActivityPandaApp.swift */,
57+
DCBF28292B74913500D25667 /* ContentView.swift */,
58+
DCBF282B2B74913600D25667 /* Assets.xcassets */,
59+
DCBF282D2B74913600D25667 /* Preview Content */,
60+
DCBF28372B7492CA00D25667 /* LiveActivityPandaViewModel.swift */,
61+
);
62+
path = LiveActivityPanda;
63+
sourceTree = "<group>";
64+
};
65+
DCBF282D2B74913600D25667 /* Preview Content */ = {
66+
isa = PBXGroup;
67+
children = (
68+
DCBF282E2B74913600D25667 /* Preview Assets.xcassets */,
69+
);
70+
path = "Preview Content";
71+
sourceTree = "<group>";
72+
};
73+
/* End PBXGroup section */
74+
75+
/* Begin PBXNativeTarget section */
76+
DCBF28232B74913500D25667 /* LiveActivityPanda */ = {
77+
isa = PBXNativeTarget;
78+
buildConfigurationList = DCBF28322B74913600D25667 /* Build configuration list for PBXNativeTarget "LiveActivityPanda" */;
79+
buildPhases = (
80+
DCBF28202B74913500D25667 /* Sources */,
81+
DCBF28212B74913500D25667 /* Frameworks */,
82+
DCBF28222B74913500D25667 /* Resources */,
83+
);
84+
buildRules = (
85+
);
86+
dependencies = (
87+
);
88+
name = LiveActivityPanda;
89+
productName = LiveActivityPanda;
90+
productReference = DCBF28242B74913500D25667 /* LiveActivityPanda.app */;
91+
productType = "com.apple.product-type.application";
92+
};
93+
/* End PBXNativeTarget section */
94+
95+
/* Begin PBXProject section */
96+
DCBF281C2B74913500D25667 /* Project object */ = {
97+
isa = PBXProject;
98+
attributes = {
99+
BuildIndependentTargetsInParallel = 1;
100+
LastSwiftUpdateCheck = 1520;
101+
LastUpgradeCheck = 1520;
102+
TargetAttributes = {
103+
DCBF28232B74913500D25667 = {
104+
CreatedOnToolsVersion = 15.2;
105+
};
106+
};
107+
};
108+
buildConfigurationList = DCBF281F2B74913500D25667 /* Build configuration list for PBXProject "LiveActivityPanda" */;
109+
compatibilityVersion = "Xcode 14.0";
110+
developmentRegion = en;
111+
hasScannedForEncodings = 0;
112+
knownRegions = (
113+
en,
114+
Base,
115+
);
116+
mainGroup = DCBF281B2B74913500D25667;
117+
productRefGroup = DCBF28252B74913500D25667 /* Products */;
118+
projectDirPath = "";
119+
projectRoot = "";
120+
targets = (
121+
DCBF28232B74913500D25667 /* LiveActivityPanda */,
122+
);
123+
};
124+
/* End PBXProject section */
125+
126+
/* Begin PBXResourcesBuildPhase section */
127+
DCBF28222B74913500D25667 /* Resources */ = {
128+
isa = PBXResourcesBuildPhase;
129+
buildActionMask = 2147483647;
130+
files = (
131+
DCBF282F2B74913600D25667 /* Preview Assets.xcassets in Resources */,
132+
DCBF282C2B74913600D25667 /* Assets.xcassets in Resources */,
133+
);
134+
runOnlyForDeploymentPostprocessing = 0;
135+
};
136+
/* End PBXResourcesBuildPhase section */
137+
138+
/* Begin PBXSourcesBuildPhase section */
139+
DCBF28202B74913500D25667 /* Sources */ = {
140+
isa = PBXSourcesBuildPhase;
141+
buildActionMask = 2147483647;
142+
files = (
143+
DCBF28382B7492CA00D25667 /* LiveActivityPandaViewModel.swift in Sources */,
144+
DCBF282A2B74913500D25667 /* ContentView.swift in Sources */,
145+
DCBF28282B74913500D25667 /* LiveActivityPandaApp.swift in Sources */,
146+
);
147+
runOnlyForDeploymentPostprocessing = 0;
148+
};
149+
/* End PBXSourcesBuildPhase section */
150+
151+
/* Begin XCBuildConfiguration section */
152+
DCBF28302B74913600D25667 /* 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.2;
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+
DCBF28312B74913600D25667 /* 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.2;
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+
DCBF28332B74913600D25667 /* 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 = "\"LiveActivityPanda/Preview Content\"";
279+
DEVELOPMENT_TEAM = 4T9AZS63Q3;
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 = souplab.LiveActivityPanda;
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+
DCBF28342B74913600D25667 /* 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 = "\"LiveActivityPanda/Preview Content\"";
308+
DEVELOPMENT_TEAM = 4T9AZS63Q3;
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 = souplab.LiveActivityPanda;
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+
DCBF281F2B74913500D25667 /* Build configuration list for PBXProject "LiveActivityPanda" */ = {
333+
isa = XCConfigurationList;
334+
buildConfigurations = (
335+
DCBF28302B74913600D25667 /* Debug */,
336+
DCBF28312B74913600D25667 /* Release */,
337+
);
338+
defaultConfigurationIsVisible = 0;
339+
defaultConfigurationName = Release;
340+
};
341+
DCBF28322B74913600D25667 /* Build configuration list for PBXNativeTarget "LiveActivityPanda" */ = {
342+
isa = XCConfigurationList;
343+
buildConfigurations = (
344+
DCBF28332B74913600D25667 /* Debug */,
345+
DCBF28342B74913600D25667 /* Release */,
346+
);
347+
defaultConfigurationIsVisible = 0;
348+
defaultConfigurationName = Release;
349+
};
350+
/* End XCConfigurationList section */
351+
};
352+
rootObject = DCBF281C2B74913500D25667 /* Project object */;
353+
}

LiveActivityPanda/LiveActivityPanda.xcodeproj/project.xcworkspace/contents.xcworkspacedata

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
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>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
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>SchemeUserState</key>
6+
<dict>
7+
<key>LiveActivityPanda.xcscheme_^#shared#^_</key>
8+
<dict>
9+
<key>orderHint</key>
10+
<integer>0</integer>
11+
</dict>
12+
</dict>
13+
</dict>
14+
</plist>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"colors" : [
3+
{
4+
"idiom" : "universal"
5+
}
6+
],
7+
"info" : {
8+
"author" : "xcode",
9+
"version" : 1
10+
}
11+
}

0 commit comments

Comments
 (0)