Skip to content

Commit d54544c

Browse files
authored
Merge Add SwiftUI Example app #12
2 parents 0b05d8a + a38f647 commit d54544c

File tree

13 files changed

+627
-0
lines changed

13 files changed

+627
-0
lines changed
2.73 MB
Loading
Lines changed: 377 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,377 @@
1+
// !$*UTF8*$!
2+
{
3+
archiveVersion = 1;
4+
classes = {
5+
};
6+
objectVersion = 55;
7+
objects = {
8+
9+
/* Begin PBXBuildFile section */
10+
88E779C627942B7500202A6A /* AlbumSearchSwiftUIApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 88E779C527942B7500202A6A /* AlbumSearchSwiftUIApp.swift */; };
11+
88E779C827942B7500202A6A /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 88E779C727942B7500202A6A /* ContentView.swift */; };
12+
88E779CA27942B7600202A6A /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 88E779C927942B7600202A6A /* Assets.xcassets */; };
13+
88E779CD27942B7600202A6A /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 88E779CC27942B7600202A6A /* Preview Assets.xcassets */; };
14+
88E779D527942BD400202A6A /* Typesense in Frameworks */ = {isa = PBXBuildFile; productRef = 88E779D427942BD400202A6A /* Typesense */; };
15+
88E779D727942BE800202A6A /* Album.swift in Sources */ = {isa = PBXBuildFile; fileRef = 88E779D627942BE800202A6A /* Album.swift */; };
16+
/* End PBXBuildFile section */
17+
18+
/* Begin PBXFileReference section */
19+
88E779C227942B7500202A6A /* AlbumSearchSwiftUI.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = AlbumSearchSwiftUI.app; sourceTree = BUILT_PRODUCTS_DIR; };
20+
88E779C527942B7500202A6A /* AlbumSearchSwiftUIApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AlbumSearchSwiftUIApp.swift; sourceTree = "<group>"; };
21+
88E779C727942B7500202A6A /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
22+
88E779C927942B7600202A6A /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
23+
88E779CC27942B7600202A6A /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = "<group>"; };
24+
88E779D627942BE800202A6A /* Album.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Album.swift; sourceTree = "<group>"; };
25+
/* End PBXFileReference section */
26+
27+
/* Begin PBXFrameworksBuildPhase section */
28+
88E779BF27942B7500202A6A /* Frameworks */ = {
29+
isa = PBXFrameworksBuildPhase;
30+
buildActionMask = 2147483647;
31+
files = (
32+
88E779D527942BD400202A6A /* Typesense in Frameworks */,
33+
);
34+
runOnlyForDeploymentPostprocessing = 0;
35+
};
36+
/* End PBXFrameworksBuildPhase section */
37+
38+
/* Begin PBXGroup section */
39+
88E779B927942B7500202A6A = {
40+
isa = PBXGroup;
41+
children = (
42+
88E779C427942B7500202A6A /* AlbumSearchSwiftUI */,
43+
88E779C327942B7500202A6A /* Products */,
44+
);
45+
sourceTree = "<group>";
46+
};
47+
88E779C327942B7500202A6A /* Products */ = {
48+
isa = PBXGroup;
49+
children = (
50+
88E779C227942B7500202A6A /* AlbumSearchSwiftUI.app */,
51+
);
52+
name = Products;
53+
sourceTree = "<group>";
54+
};
55+
88E779C427942B7500202A6A /* AlbumSearchSwiftUI */ = {
56+
isa = PBXGroup;
57+
children = (
58+
88E779C527942B7500202A6A /* AlbumSearchSwiftUIApp.swift */,
59+
88E779C727942B7500202A6A /* ContentView.swift */,
60+
88E779D627942BE800202A6A /* Album.swift */,
61+
88E779C927942B7600202A6A /* Assets.xcassets */,
62+
88E779CB27942B7600202A6A /* Preview Content */,
63+
);
64+
path = AlbumSearchSwiftUI;
65+
sourceTree = "<group>";
66+
};
67+
88E779CB27942B7600202A6A /* Preview Content */ = {
68+
isa = PBXGroup;
69+
children = (
70+
88E779CC27942B7600202A6A /* Preview Assets.xcassets */,
71+
);
72+
path = "Preview Content";
73+
sourceTree = "<group>";
74+
};
75+
/* End PBXGroup section */
76+
77+
/* Begin PBXNativeTarget section */
78+
88E779C127942B7500202A6A /* AlbumSearchSwiftUI */ = {
79+
isa = PBXNativeTarget;
80+
buildConfigurationList = 88E779D027942B7600202A6A /* Build configuration list for PBXNativeTarget "AlbumSearchSwiftUI" */;
81+
buildPhases = (
82+
88E779BE27942B7500202A6A /* Sources */,
83+
88E779BF27942B7500202A6A /* Frameworks */,
84+
88E779C027942B7500202A6A /* Resources */,
85+
);
86+
buildRules = (
87+
);
88+
dependencies = (
89+
);
90+
name = AlbumSearchSwiftUI;
91+
packageProductDependencies = (
92+
88E779D427942BD400202A6A /* Typesense */,
93+
);
94+
productName = AlbumSearchSwiftUI;
95+
productReference = 88E779C227942B7500202A6A /* AlbumSearchSwiftUI.app */;
96+
productType = "com.apple.product-type.application";
97+
};
98+
/* End PBXNativeTarget section */
99+
100+
/* Begin PBXProject section */
101+
88E779BA27942B7500202A6A /* Project object */ = {
102+
isa = PBXProject;
103+
attributes = {
104+
BuildIndependentTargetsInParallel = 1;
105+
LastSwiftUpdateCheck = 1320;
106+
LastUpgradeCheck = 1320;
107+
TargetAttributes = {
108+
88E779C127942B7500202A6A = {
109+
CreatedOnToolsVersion = 13.2.1;
110+
};
111+
};
112+
};
113+
buildConfigurationList = 88E779BD27942B7500202A6A /* Build configuration list for PBXProject "AlbumSearchSwiftUI" */;
114+
compatibilityVersion = "Xcode 13.0";
115+
developmentRegion = en;
116+
hasScannedForEncodings = 0;
117+
knownRegions = (
118+
en,
119+
Base,
120+
);
121+
mainGroup = 88E779B927942B7500202A6A;
122+
packageReferences = (
123+
88E779D327942BD400202A6A /* XCRemoteSwiftPackageReference "typesense-swift" */,
124+
);
125+
productRefGroup = 88E779C327942B7500202A6A /* Products */;
126+
projectDirPath = "";
127+
projectRoot = "";
128+
targets = (
129+
88E779C127942B7500202A6A /* AlbumSearchSwiftUI */,
130+
);
131+
};
132+
/* End PBXProject section */
133+
134+
/* Begin PBXResourcesBuildPhase section */
135+
88E779C027942B7500202A6A /* Resources */ = {
136+
isa = PBXResourcesBuildPhase;
137+
buildActionMask = 2147483647;
138+
files = (
139+
88E779CD27942B7600202A6A /* Preview Assets.xcassets in Resources */,
140+
88E779CA27942B7600202A6A /* Assets.xcassets in Resources */,
141+
);
142+
runOnlyForDeploymentPostprocessing = 0;
143+
};
144+
/* End PBXResourcesBuildPhase section */
145+
146+
/* Begin PBXSourcesBuildPhase section */
147+
88E779BE27942B7500202A6A /* Sources */ = {
148+
isa = PBXSourcesBuildPhase;
149+
buildActionMask = 2147483647;
150+
files = (
151+
88E779C827942B7500202A6A /* ContentView.swift in Sources */,
152+
88E779C627942B7500202A6A /* AlbumSearchSwiftUIApp.swift in Sources */,
153+
88E779D727942BE800202A6A /* Album.swift in Sources */,
154+
);
155+
runOnlyForDeploymentPostprocessing = 0;
156+
};
157+
/* End PBXSourcesBuildPhase section */
158+
159+
/* Begin XCBuildConfiguration section */
160+
88E779CE27942B7600202A6A /* Debug */ = {
161+
isa = XCBuildConfiguration;
162+
buildSettings = {
163+
ALWAYS_SEARCH_USER_PATHS = NO;
164+
CLANG_ANALYZER_NONNULL = YES;
165+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
166+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++17";
167+
CLANG_CXX_LIBRARY = "libc++";
168+
CLANG_ENABLE_MODULES = YES;
169+
CLANG_ENABLE_OBJC_ARC = YES;
170+
CLANG_ENABLE_OBJC_WEAK = YES;
171+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
172+
CLANG_WARN_BOOL_CONVERSION = YES;
173+
CLANG_WARN_COMMA = YES;
174+
CLANG_WARN_CONSTANT_CONVERSION = YES;
175+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
176+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
177+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
178+
CLANG_WARN_EMPTY_BODY = YES;
179+
CLANG_WARN_ENUM_CONVERSION = YES;
180+
CLANG_WARN_INFINITE_RECURSION = YES;
181+
CLANG_WARN_INT_CONVERSION = YES;
182+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
183+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
184+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
185+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
186+
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
187+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
188+
CLANG_WARN_STRICT_PROTOTYPES = YES;
189+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
190+
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
191+
CLANG_WARN_UNREACHABLE_CODE = YES;
192+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
193+
COPY_PHASE_STRIP = NO;
194+
DEBUG_INFORMATION_FORMAT = dwarf;
195+
ENABLE_STRICT_OBJC_MSGSEND = YES;
196+
ENABLE_TESTABILITY = YES;
197+
GCC_C_LANGUAGE_STANDARD = gnu11;
198+
GCC_DYNAMIC_NO_PIC = NO;
199+
GCC_NO_COMMON_BLOCKS = YES;
200+
GCC_OPTIMIZATION_LEVEL = 0;
201+
GCC_PREPROCESSOR_DEFINITIONS = (
202+
"DEBUG=1",
203+
"$(inherited)",
204+
);
205+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
206+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
207+
GCC_WARN_UNDECLARED_SELECTOR = YES;
208+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
209+
GCC_WARN_UNUSED_FUNCTION = YES;
210+
GCC_WARN_UNUSED_VARIABLE = YES;
211+
IPHONEOS_DEPLOYMENT_TARGET = 15.2;
212+
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
213+
MTL_FAST_MATH = YES;
214+
ONLY_ACTIVE_ARCH = YES;
215+
SDKROOT = iphoneos;
216+
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
217+
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
218+
};
219+
name = Debug;
220+
};
221+
88E779CF27942B7600202A6A /* Release */ = {
222+
isa = XCBuildConfiguration;
223+
buildSettings = {
224+
ALWAYS_SEARCH_USER_PATHS = NO;
225+
CLANG_ANALYZER_NONNULL = YES;
226+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
227+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++17";
228+
CLANG_CXX_LIBRARY = "libc++";
229+
CLANG_ENABLE_MODULES = YES;
230+
CLANG_ENABLE_OBJC_ARC = YES;
231+
CLANG_ENABLE_OBJC_WEAK = YES;
232+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
233+
CLANG_WARN_BOOL_CONVERSION = YES;
234+
CLANG_WARN_COMMA = YES;
235+
CLANG_WARN_CONSTANT_CONVERSION = YES;
236+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
237+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
238+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
239+
CLANG_WARN_EMPTY_BODY = YES;
240+
CLANG_WARN_ENUM_CONVERSION = YES;
241+
CLANG_WARN_INFINITE_RECURSION = YES;
242+
CLANG_WARN_INT_CONVERSION = YES;
243+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
244+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
245+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
246+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
247+
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
248+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
249+
CLANG_WARN_STRICT_PROTOTYPES = YES;
250+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
251+
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
252+
CLANG_WARN_UNREACHABLE_CODE = YES;
253+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
254+
COPY_PHASE_STRIP = NO;
255+
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
256+
ENABLE_NS_ASSERTIONS = NO;
257+
ENABLE_STRICT_OBJC_MSGSEND = YES;
258+
GCC_C_LANGUAGE_STANDARD = gnu11;
259+
GCC_NO_COMMON_BLOCKS = YES;
260+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
261+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
262+
GCC_WARN_UNDECLARED_SELECTOR = YES;
263+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
264+
GCC_WARN_UNUSED_FUNCTION = YES;
265+
GCC_WARN_UNUSED_VARIABLE = YES;
266+
IPHONEOS_DEPLOYMENT_TARGET = 15.2;
267+
MTL_ENABLE_DEBUG_INFO = NO;
268+
MTL_FAST_MATH = YES;
269+
SDKROOT = iphoneos;
270+
SWIFT_COMPILATION_MODE = wholemodule;
271+
SWIFT_OPTIMIZATION_LEVEL = "-O";
272+
VALIDATE_PRODUCT = YES;
273+
};
274+
name = Release;
275+
};
276+
88E779D127942B7600202A6A /* Debug */ = {
277+
isa = XCBuildConfiguration;
278+
buildSettings = {
279+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
280+
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
281+
CODE_SIGN_STYLE = Automatic;
282+
CURRENT_PROJECT_VERSION = 1;
283+
DEVELOPMENT_ASSET_PATHS = "\"AlbumSearchSwiftUI/Preview Content\"";
284+
DEVELOPMENT_TEAM = X6LYJPR437;
285+
ENABLE_PREVIEWS = YES;
286+
GENERATE_INFOPLIST_FILE = YES;
287+
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
288+
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
289+
INFOPLIST_KEY_UILaunchScreen_Generation = YES;
290+
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
291+
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
292+
LD_RUNPATH_SEARCH_PATHS = (
293+
"$(inherited)",
294+
"@executable_path/Frameworks",
295+
);
296+
MARKETING_VERSION = 1.0;
297+
PRODUCT_BUNDLE_IDENTIFIER = com.sabeshbharathi.AlbumSearchSwiftUI;
298+
PRODUCT_NAME = "$(TARGET_NAME)";
299+
SWIFT_EMIT_LOC_STRINGS = YES;
300+
SWIFT_VERSION = 5.0;
301+
TARGETED_DEVICE_FAMILY = "1,2";
302+
};
303+
name = Debug;
304+
};
305+
88E779D227942B7600202A6A /* Release */ = {
306+
isa = XCBuildConfiguration;
307+
buildSettings = {
308+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
309+
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
310+
CODE_SIGN_STYLE = Automatic;
311+
CURRENT_PROJECT_VERSION = 1;
312+
DEVELOPMENT_ASSET_PATHS = "\"AlbumSearchSwiftUI/Preview Content\"";
313+
DEVELOPMENT_TEAM = X6LYJPR437;
314+
ENABLE_PREVIEWS = YES;
315+
GENERATE_INFOPLIST_FILE = YES;
316+
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
317+
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
318+
INFOPLIST_KEY_UILaunchScreen_Generation = YES;
319+
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
320+
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
321+
LD_RUNPATH_SEARCH_PATHS = (
322+
"$(inherited)",
323+
"@executable_path/Frameworks",
324+
);
325+
MARKETING_VERSION = 1.0;
326+
PRODUCT_BUNDLE_IDENTIFIER = com.sabeshbharathi.AlbumSearchSwiftUI;
327+
PRODUCT_NAME = "$(TARGET_NAME)";
328+
SWIFT_EMIT_LOC_STRINGS = YES;
329+
SWIFT_VERSION = 5.0;
330+
TARGETED_DEVICE_FAMILY = "1,2";
331+
};
332+
name = Release;
333+
};
334+
/* End XCBuildConfiguration section */
335+
336+
/* Begin XCConfigurationList section */
337+
88E779BD27942B7500202A6A /* Build configuration list for PBXProject "AlbumSearchSwiftUI" */ = {
338+
isa = XCConfigurationList;
339+
buildConfigurations = (
340+
88E779CE27942B7600202A6A /* Debug */,
341+
88E779CF27942B7600202A6A /* Release */,
342+
);
343+
defaultConfigurationIsVisible = 0;
344+
defaultConfigurationName = Release;
345+
};
346+
88E779D027942B7600202A6A /* Build configuration list for PBXNativeTarget "AlbumSearchSwiftUI" */ = {
347+
isa = XCConfigurationList;
348+
buildConfigurations = (
349+
88E779D127942B7600202A6A /* Debug */,
350+
88E779D227942B7600202A6A /* Release */,
351+
);
352+
defaultConfigurationIsVisible = 0;
353+
defaultConfigurationName = Release;
354+
};
355+
/* End XCConfigurationList section */
356+
357+
/* Begin XCRemoteSwiftPackageReference section */
358+
88E779D327942BD400202A6A /* XCRemoteSwiftPackageReference "typesense-swift" */ = {
359+
isa = XCRemoteSwiftPackageReference;
360+
repositoryURL = "https://github.com/typesense/typesense-swift";
361+
requirement = {
362+
kind = exactVersion;
363+
version = 0.1.0;
364+
};
365+
};
366+
/* End XCRemoteSwiftPackageReference section */
367+
368+
/* Begin XCSwiftPackageProductDependency section */
369+
88E779D427942BD400202A6A /* Typesense */ = {
370+
isa = XCSwiftPackageProductDependency;
371+
package = 88E779D327942BD400202A6A /* XCRemoteSwiftPackageReference "typesense-swift" */;
372+
productName = Typesense;
373+
};
374+
/* End XCSwiftPackageProductDependency section */
375+
};
376+
rootObject = 88E779BA27942B7500202A6A /* Project object */;
377+
}

example/SwiftUI/AlbumSearchSwiftUI/AlbumSearchSwiftUI.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.
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)