Skip to content

Commit 648b43c

Browse files
committed
Adds a completely new Xcode project and spring animations for the new Spring APIs
1 parent 40c2167 commit 648b43c

File tree

378 files changed

+4620
-3190
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

378 files changed

+4620
-3190
lines changed

.DS_Store

8 KB
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,324 @@
1+
// !$*UTF8*$!
2+
{
3+
archiveVersion = 1;
4+
classes = {
5+
};
6+
objectVersion = 70;
7+
objects = {
8+
9+
/* Begin PBXFileReference section */
10+
84827BE52C8B85A700713475 /* AnimateWithSprings.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = AnimateWithSprings.app; sourceTree = BUILT_PRODUCTS_DIR; };
11+
/* End PBXFileReference section */
12+
13+
/* Begin PBXFileSystemSynchronizedRootGroup section */
14+
84827BE72C8B85A700713475 /* AnimateWithSprings */ = {isa = PBXFileSystemSynchronizedRootGroup; explicitFileTypes = {}; explicitFolders = (); path = AnimateWithSprings; sourceTree = "<group>"; };
15+
/* End PBXFileSystemSynchronizedRootGroup section */
16+
17+
/* Begin PBXFrameworksBuildPhase section */
18+
84827BE22C8B85A700713475 /* Frameworks */ = {
19+
isa = PBXFrameworksBuildPhase;
20+
buildActionMask = 2147483647;
21+
files = (
22+
);
23+
runOnlyForDeploymentPostprocessing = 0;
24+
};
25+
/* End PBXFrameworksBuildPhase section */
26+
27+
/* Begin PBXGroup section */
28+
84827BDC2C8B85A700713475 = {
29+
isa = PBXGroup;
30+
children = (
31+
84827BE72C8B85A700713475 /* AnimateWithSprings */,
32+
84827BE62C8B85A700713475 /* Products */,
33+
);
34+
sourceTree = "<group>";
35+
};
36+
84827BE62C8B85A700713475 /* Products */ = {
37+
isa = PBXGroup;
38+
children = (
39+
84827BE52C8B85A700713475 /* AnimateWithSprings.app */,
40+
);
41+
name = Products;
42+
sourceTree = "<group>";
43+
};
44+
/* End PBXGroup section */
45+
46+
/* Begin PBXNativeTarget section */
47+
84827BE42C8B85A700713475 /* AnimateWithSprings */ = {
48+
isa = PBXNativeTarget;
49+
buildConfigurationList = 84827BF32C8B85A800713475 /* Build configuration list for PBXNativeTarget "AnimateWithSprings" */;
50+
buildPhases = (
51+
84827BE12C8B85A700713475 /* Sources */,
52+
84827BE22C8B85A700713475 /* Frameworks */,
53+
84827BE32C8B85A700713475 /* Resources */,
54+
);
55+
buildRules = (
56+
);
57+
dependencies = (
58+
);
59+
fileSystemSynchronizedGroups = (
60+
84827BE72C8B85A700713475 /* AnimateWithSprings */,
61+
);
62+
name = AnimateWithSprings;
63+
packageProductDependencies = (
64+
);
65+
productName = AnimateWithSprings;
66+
productReference = 84827BE52C8B85A700713475 /* AnimateWithSprings.app */;
67+
productType = "com.apple.product-type.application";
68+
};
69+
/* End PBXNativeTarget section */
70+
71+
/* Begin PBXProject section */
72+
84827BDD2C8B85A700713475 /* Project object */ = {
73+
isa = PBXProject;
74+
attributes = {
75+
BuildIndependentTargetsInParallel = 1;
76+
LastSwiftUpdateCheck = 1600;
77+
LastUpgradeCheck = 1600;
78+
TargetAttributes = {
79+
84827BE42C8B85A700713475 = {
80+
CreatedOnToolsVersion = 16.0;
81+
};
82+
};
83+
};
84+
buildConfigurationList = 84827BE02C8B85A700713475 /* Build configuration list for PBXProject "AnimateWithSprings" */;
85+
compatibilityVersion = "Xcode 15.0";
86+
developmentRegion = en;
87+
hasScannedForEncodings = 0;
88+
knownRegions = (
89+
en,
90+
Base,
91+
);
92+
mainGroup = 84827BDC2C8B85A700713475;
93+
productRefGroup = 84827BE62C8B85A700713475 /* Products */;
94+
projectDirPath = "";
95+
projectRoot = "";
96+
targets = (
97+
84827BE42C8B85A700713475 /* AnimateWithSprings */,
98+
);
99+
};
100+
/* End PBXProject section */
101+
102+
/* Begin PBXResourcesBuildPhase section */
103+
84827BE32C8B85A700713475 /* Resources */ = {
104+
isa = PBXResourcesBuildPhase;
105+
buildActionMask = 2147483647;
106+
files = (
107+
);
108+
runOnlyForDeploymentPostprocessing = 0;
109+
};
110+
/* End PBXResourcesBuildPhase section */
111+
112+
/* Begin PBXSourcesBuildPhase section */
113+
84827BE12C8B85A700713475 /* Sources */ = {
114+
isa = PBXSourcesBuildPhase;
115+
buildActionMask = 2147483647;
116+
files = (
117+
);
118+
runOnlyForDeploymentPostprocessing = 0;
119+
};
120+
/* End PBXSourcesBuildPhase section */
121+
122+
/* Begin XCBuildConfiguration section */
123+
84827BF12C8B85A800713475 /* Debug */ = {
124+
isa = XCBuildConfiguration;
125+
buildSettings = {
126+
ALWAYS_SEARCH_USER_PATHS = NO;
127+
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
128+
CLANG_ANALYZER_NONNULL = YES;
129+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
130+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
131+
CLANG_ENABLE_MODULES = YES;
132+
CLANG_ENABLE_OBJC_ARC = YES;
133+
CLANG_ENABLE_OBJC_WEAK = YES;
134+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
135+
CLANG_WARN_BOOL_CONVERSION = YES;
136+
CLANG_WARN_COMMA = YES;
137+
CLANG_WARN_CONSTANT_CONVERSION = YES;
138+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
139+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
140+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
141+
CLANG_WARN_EMPTY_BODY = YES;
142+
CLANG_WARN_ENUM_CONVERSION = YES;
143+
CLANG_WARN_INFINITE_RECURSION = YES;
144+
CLANG_WARN_INT_CONVERSION = YES;
145+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
146+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
147+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
148+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
149+
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
150+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
151+
CLANG_WARN_STRICT_PROTOTYPES = YES;
152+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
153+
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
154+
CLANG_WARN_UNREACHABLE_CODE = YES;
155+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
156+
COPY_PHASE_STRIP = NO;
157+
DEBUG_INFORMATION_FORMAT = dwarf;
158+
ENABLE_STRICT_OBJC_MSGSEND = YES;
159+
ENABLE_TESTABILITY = YES;
160+
ENABLE_USER_SCRIPT_SANDBOXING = YES;
161+
GCC_C_LANGUAGE_STANDARD = gnu17;
162+
GCC_DYNAMIC_NO_PIC = NO;
163+
GCC_NO_COMMON_BLOCKS = YES;
164+
GCC_OPTIMIZATION_LEVEL = 0;
165+
GCC_PREPROCESSOR_DEFINITIONS = (
166+
"DEBUG=1",
167+
"$(inherited)",
168+
);
169+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
170+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
171+
GCC_WARN_UNDECLARED_SELECTOR = YES;
172+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
173+
GCC_WARN_UNUSED_FUNCTION = YES;
174+
GCC_WARN_UNUSED_VARIABLE = YES;
175+
IPHONEOS_DEPLOYMENT_TARGET = 18.0;
176+
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
177+
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
178+
MTL_FAST_MATH = YES;
179+
ONLY_ACTIVE_ARCH = YES;
180+
SDKROOT = iphoneos;
181+
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)";
182+
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
183+
};
184+
name = Debug;
185+
};
186+
84827BF22C8B85A800713475 /* Release */ = {
187+
isa = XCBuildConfiguration;
188+
buildSettings = {
189+
ALWAYS_SEARCH_USER_PATHS = NO;
190+
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
191+
CLANG_ANALYZER_NONNULL = YES;
192+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
193+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
194+
CLANG_ENABLE_MODULES = YES;
195+
CLANG_ENABLE_OBJC_ARC = YES;
196+
CLANG_ENABLE_OBJC_WEAK = YES;
197+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
198+
CLANG_WARN_BOOL_CONVERSION = YES;
199+
CLANG_WARN_COMMA = YES;
200+
CLANG_WARN_CONSTANT_CONVERSION = YES;
201+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
202+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
203+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
204+
CLANG_WARN_EMPTY_BODY = YES;
205+
CLANG_WARN_ENUM_CONVERSION = YES;
206+
CLANG_WARN_INFINITE_RECURSION = YES;
207+
CLANG_WARN_INT_CONVERSION = YES;
208+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
209+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
210+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
211+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
212+
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
213+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
214+
CLANG_WARN_STRICT_PROTOTYPES = YES;
215+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
216+
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
217+
CLANG_WARN_UNREACHABLE_CODE = YES;
218+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
219+
COPY_PHASE_STRIP = NO;
220+
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
221+
ENABLE_NS_ASSERTIONS = NO;
222+
ENABLE_STRICT_OBJC_MSGSEND = YES;
223+
ENABLE_USER_SCRIPT_SANDBOXING = YES;
224+
GCC_C_LANGUAGE_STANDARD = gnu17;
225+
GCC_NO_COMMON_BLOCKS = YES;
226+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
227+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
228+
GCC_WARN_UNDECLARED_SELECTOR = YES;
229+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
230+
GCC_WARN_UNUSED_FUNCTION = YES;
231+
GCC_WARN_UNUSED_VARIABLE = YES;
232+
IPHONEOS_DEPLOYMENT_TARGET = 18.0;
233+
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
234+
MTL_ENABLE_DEBUG_INFO = NO;
235+
MTL_FAST_MATH = YES;
236+
SDKROOT = iphoneos;
237+
SWIFT_COMPILATION_MODE = wholemodule;
238+
VALIDATE_PRODUCT = YES;
239+
};
240+
name = Release;
241+
};
242+
84827BF42C8B85A800713475 /* Debug */ = {
243+
isa = XCBuildConfiguration;
244+
buildSettings = {
245+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
246+
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
247+
CODE_SIGN_STYLE = Automatic;
248+
CURRENT_PROJECT_VERSION = 1;
249+
DEVELOPMENT_ASSET_PATHS = "\"AnimateWithSprings/Preview Content\"";
250+
DEVELOPMENT_TEAM = 5BXN67M73D;
251+
ENABLE_PREVIEWS = YES;
252+
GENERATE_INFOPLIST_FILE = YES;
253+
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
254+
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
255+
INFOPLIST_KEY_UILaunchScreen_Generation = YES;
256+
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
257+
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
258+
LD_RUNPATH_SEARCH_PATHS = (
259+
"$(inherited)",
260+
"@executable_path/Frameworks",
261+
);
262+
MARKETING_VERSION = 1.0;
263+
PRODUCT_BUNDLE_IDENTIFIER = com.amosgyamfi.AnimateWithSprings;
264+
PRODUCT_NAME = "$(TARGET_NAME)";
265+
SWIFT_EMIT_LOC_STRINGS = YES;
266+
SWIFT_VERSION = 5.0;
267+
TARGETED_DEVICE_FAMILY = "1,2";
268+
};
269+
name = Debug;
270+
};
271+
84827BF52C8B85A800713475 /* Release */ = {
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 = "\"AnimateWithSprings/Preview Content\"";
279+
DEVELOPMENT_TEAM = 5BXN67M73D;
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.amosgyamfi.AnimateWithSprings;
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 = Release;
299+
};
300+
/* End XCBuildConfiguration section */
301+
302+
/* Begin XCConfigurationList section */
303+
84827BE02C8B85A700713475 /* Build configuration list for PBXProject "AnimateWithSprings" */ = {
304+
isa = XCConfigurationList;
305+
buildConfigurations = (
306+
84827BF12C8B85A800713475 /* Debug */,
307+
84827BF22C8B85A800713475 /* Release */,
308+
);
309+
defaultConfigurationIsVisible = 0;
310+
defaultConfigurationName = Release;
311+
};
312+
84827BF32C8B85A800713475 /* Build configuration list for PBXNativeTarget "AnimateWithSprings" */ = {
313+
isa = XCConfigurationList;
314+
buildConfigurations = (
315+
84827BF42C8B85A800713475 /* Debug */,
316+
84827BF52C8B85A800713475 /* Release */,
317+
);
318+
defaultConfigurationIsVisible = 0;
319+
defaultConfigurationName = Release;
320+
};
321+
/* End XCConfigurationList section */
322+
};
323+
rootObject = 84827BDD2C8B85A700713475 /* Project object */;
324+
}
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<dict>
55
<key>SchemeUserState</key>
66
<dict>
7-
<key>SwiftUISpringAnimations.xcscheme_^#shared#^_</key>
7+
<key>AnimateWithSprings.xcscheme_^#shared#^_</key>
88
<dict>
99
<key>orderHint</key>
1010
<integer>0</integer>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
//
2+
// AnimateWithSpringsApp.swift
3+
// AnimateWithSprings
4+
//
5+
// Created by Amos Gyamfi on 6.9.2024.
6+
//
7+
8+
import SwiftUI
9+
10+
@main
11+
struct AnimateWithSpringsApp: App {
12+
var body: some Scene {
13+
WindowGroup {
14+
WhatIsSpringAnimation()
15+
}
16+
}
17+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"images" : [
3+
{
4+
"idiom" : "universal",
5+
"platform" : "ios",
6+
"size" : "1024x1024"
7+
},
8+
{
9+
"appearances" : [
10+
{
11+
"appearance" : "luminosity",
12+
"value" : "dark"
13+
}
14+
],
15+
"idiom" : "universal",
16+
"platform" : "ios",
17+
"size" : "1024x1024"
18+
},
19+
{
20+
"appearances" : [
21+
{
22+
"appearance" : "luminosity",
23+
"value" : "tinted"
24+
}
25+
],
26+
"idiom" : "universal",
27+
"platform" : "ios",
28+
"size" : "1024x1024"
29+
}
30+
],
31+
"info" : {
32+
"author" : "xcode",
33+
"version" : 1
34+
}
35+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"info" : {
3+
"author" : "xcode",
4+
"version" : 1
5+
}
6+
}

0 commit comments

Comments
 (0)