Skip to content

Commit 717954d

Browse files
committed
Add SwiftUI example app and update README
1 parent 36f2acd commit 717954d

File tree

9 files changed

+458
-3
lines changed

9 files changed

+458
-3
lines changed
Lines changed: 373 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,373 @@
1+
// !$*UTF8*$!
2+
{
3+
archiveVersion = 1;
4+
classes = {
5+
};
6+
objectVersion = 56;
7+
objects = {
8+
9+
/* Begin PBXBuildFile section */
10+
8B5501012A00000000000001 /* FisheyeSwiftUIExampleApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8B5501002A00000000000001 /* FisheyeSwiftUIExampleApp.swift */; };
11+
8B5501032A00000000000001 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8B5501022A00000000000001 /* ContentView.swift */; };
12+
8B5501052A00000000000001 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 8B5501042A00000000000001 /* Assets.xcassets */; };
13+
8B5501072A00000000000001 /* demo.m4v in Resources */ = {isa = PBXBuildFile; fileRef = 8B5501062A00000000000001 /* demo.m4v */; };
14+
8B5501092A00000000000001 /* Fisheye in Frameworks */ = {isa = PBXBuildFile; productRef = 8B5501082A00000000000001 /* Fisheye */; };
15+
/* End PBXBuildFile section */
16+
17+
/* Begin PBXFileReference section */
18+
8B55010A2A00000000000001 /* FisheyeSwiftUIExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = FisheyeSwiftUIExample.app; sourceTree = BUILT_PRODUCTS_DIR; };
19+
8B5501002A00000000000001 /* FisheyeSwiftUIExampleApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FisheyeSwiftUIExampleApp.swift; sourceTree = "<group>"; };
20+
8B5501022A00000000000001 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
21+
8B5501042A00000000000001 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
22+
8B5501062A00000000000001 /* demo.m4v */ = {isa = PBXFileReference; lastKnownFileType = file; name = demo.m4v; path = ../FisheyeExample/FisheyeExample/demo.m4v; sourceTree = SOURCE_ROOT; };
23+
/* End PBXFileReference section */
24+
25+
/* Begin PBXFrameworksBuildPhase section */
26+
8B55010B2A00000000000001 /* Frameworks */ = {
27+
isa = PBXFrameworksBuildPhase;
28+
buildActionMask = 2147483647;
29+
files = (
30+
8B5501092A00000000000001 /* Fisheye in Frameworks */,
31+
);
32+
runOnlyForDeploymentPostprocessing = 0;
33+
};
34+
/* End PBXFrameworksBuildPhase section */
35+
36+
/* Begin PBXGroup section */
37+
8B55010C2A00000000000001 = {
38+
isa = PBXGroup;
39+
children = (
40+
8B55010D2A00000000000001 /* FisheyeSwiftUIExample */,
41+
8B55010E2A00000000000001 /* Products */,
42+
8B55010F2A00000000000001 /* Frameworks */,
43+
);
44+
sourceTree = "<group>";
45+
};
46+
8B55010D2A00000000000001 /* FisheyeSwiftUIExample */ = {
47+
isa = PBXGroup;
48+
children = (
49+
8B5501002A00000000000001 /* FisheyeSwiftUIExampleApp.swift */,
50+
8B5501022A00000000000001 /* ContentView.swift */,
51+
8B5501042A00000000000001 /* Assets.xcassets */,
52+
8B5501062A00000000000001 /* demo.m4v */,
53+
);
54+
path = FisheyeSwiftUIExample;
55+
sourceTree = "<group>";
56+
};
57+
8B55010E2A00000000000001 /* Products */ = {
58+
isa = PBXGroup;
59+
children = (
60+
8B55010A2A00000000000001 /* FisheyeSwiftUIExample.app */,
61+
);
62+
name = Products;
63+
sourceTree = "<group>";
64+
};
65+
8B55010F2A00000000000001 /* Frameworks */ = {
66+
isa = PBXGroup;
67+
children = (
68+
);
69+
name = Frameworks;
70+
sourceTree = "<group>";
71+
};
72+
/* End PBXGroup section */
73+
74+
/* Begin PBXNativeTarget section */
75+
8B5501102A00000000000001 /* FisheyeSwiftUIExample */ = {
76+
isa = PBXNativeTarget;
77+
buildConfigurationList = 8B5501112A00000000000001 /* Build configuration list for PBXNativeTarget "FisheyeSwiftUIExample" */;
78+
buildPhases = (
79+
8B5501122A00000000000001 /* Sources */,
80+
8B55010B2A00000000000001 /* Frameworks */,
81+
8B5501132A00000000000001 /* Resources */,
82+
);
83+
buildRules = (
84+
);
85+
dependencies = (
86+
);
87+
name = FisheyeSwiftUIExample;
88+
packageProductDependencies = (
89+
8B5501082A00000000000001 /* Fisheye */,
90+
);
91+
productName = FisheyeSwiftUIExample;
92+
productReference = 8B55010A2A00000000000001 /* FisheyeSwiftUIExample.app */;
93+
productType = "com.apple.product-type.application";
94+
};
95+
/* End PBXNativeTarget section */
96+
97+
/* Begin PBXProject section */
98+
8B5501142A00000000000001 /* Project object */ = {
99+
isa = PBXProject;
100+
attributes = {
101+
BuildIndependentTargetsInParallel = 1;
102+
LastSwiftUpdateCheck = 1540;
103+
LastUpgradeCheck = 1540;
104+
TargetAttributes = {
105+
8B5501102A00000000000001 = {
106+
CreatedOnToolsVersion = 15.4;
107+
};
108+
};
109+
};
110+
buildConfigurationList = 8B5501152A00000000000001 /* Build configuration list for PBXProject "FisheyeSwiftUIExample" */;
111+
compatibilityVersion = "Xcode 14.0";
112+
developmentRegion = en;
113+
hasScannedForEncodings = 0;
114+
knownRegions = (
115+
en,
116+
Base,
117+
);
118+
mainGroup = 8B55010C2A00000000000001;
119+
packageReferences = (
120+
8B5501162A00000000000001 /* XCLocalSwiftPackageReference "../.." */,
121+
);
122+
productRefGroup = 8B55010E2A00000000000001 /* Products */;
123+
projectDirPath = "";
124+
projectRoot = "";
125+
targets = (
126+
8B5501102A00000000000001 /* FisheyeSwiftUIExample */,
127+
);
128+
};
129+
/* End PBXProject section */
130+
131+
/* Begin PBXResourcesBuildPhase section */
132+
8B5501132A00000000000001 /* Resources */ = {
133+
isa = PBXResourcesBuildPhase;
134+
buildActionMask = 2147483647;
135+
files = (
136+
8B5501052A00000000000001 /* Assets.xcassets in Resources */,
137+
8B5501072A00000000000001 /* demo.m4v in Resources */,
138+
);
139+
runOnlyForDeploymentPostprocessing = 0;
140+
};
141+
/* End PBXResourcesBuildPhase section */
142+
143+
/* Begin PBXSourcesBuildPhase section */
144+
8B5501122A00000000000001 /* Sources */ = {
145+
isa = PBXSourcesBuildPhase;
146+
buildActionMask = 2147483647;
147+
files = (
148+
8B5501012A00000000000001 /* FisheyeSwiftUIExampleApp.swift in Sources */,
149+
8B5501032A00000000000001 /* ContentView.swift in Sources */,
150+
);
151+
runOnlyForDeploymentPostprocessing = 0;
152+
};
153+
/* End PBXSourcesBuildPhase section */
154+
155+
/* Begin XCBuildConfiguration section */
156+
8B5501172A00000000000001 /* Debug */ = {
157+
isa = XCBuildConfiguration;
158+
buildSettings = {
159+
ALWAYS_SEARCH_USER_PATHS = NO;
160+
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
161+
CLANG_ANALYZER_NONNULL = YES;
162+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
163+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
164+
CLANG_ENABLE_MODULES = YES;
165+
CLANG_ENABLE_OBJC_ARC = YES;
166+
CLANG_ENABLE_OBJC_WEAK = YES;
167+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
168+
CLANG_WARN_BOOL_CONVERSION = YES;
169+
CLANG_WARN_COMMA = YES;
170+
CLANG_WARN_CONSTANT_CONVERSION = YES;
171+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
172+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
173+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
174+
CLANG_WARN_EMPTY_BODY = YES;
175+
CLANG_WARN_ENUM_CONVERSION = YES;
176+
CLANG_WARN_INFINITE_RECURSION = YES;
177+
CLANG_WARN_INT_CONVERSION = YES;
178+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
179+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
180+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
181+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
182+
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
183+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
184+
CLANG_WARN_STRICT_PROTOTYPES = YES;
185+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
186+
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
187+
CLANG_WARN_UNREACHABLE_CODE = YES;
188+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
189+
COPY_PHASE_STRIP = NO;
190+
DEBUG_INFORMATION_FORMAT = dwarf;
191+
ENABLE_STRICT_OBJC_MSGSEND = YES;
192+
ENABLE_TESTABILITY = YES;
193+
ENABLE_USER_SCRIPT_SANDBOXING = YES;
194+
GCC_C_LANGUAGE_STANDARD = gnu17;
195+
GCC_DYNAMIC_NO_PIC = NO;
196+
GCC_NO_COMMON_BLOCKS = YES;
197+
GCC_OPTIMIZATION_LEVEL = 0;
198+
GCC_PREPROCESSOR_DEFINITIONS = (
199+
"DEBUG=1",
200+
"$(inherited)",
201+
);
202+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
203+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
204+
GCC_WARN_UNDECLARED_SELECTOR = YES;
205+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
206+
GCC_WARN_UNUSED_FUNCTION = YES;
207+
GCC_WARN_UNUSED_VARIABLE = YES;
208+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
209+
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
210+
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
211+
MTL_FAST_MATH = YES;
212+
ONLY_ACTIVE_ARCH = YES;
213+
SDKROOT = iphoneos;
214+
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)";
215+
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
216+
};
217+
name = Debug;
218+
};
219+
8B5501182A00000000000001 /* Release */ = {
220+
isa = XCBuildConfiguration;
221+
buildSettings = {
222+
ALWAYS_SEARCH_USER_PATHS = NO;
223+
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
224+
CLANG_ANALYZER_NONNULL = YES;
225+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
226+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
227+
CLANG_ENABLE_MODULES = YES;
228+
CLANG_ENABLE_OBJC_ARC = YES;
229+
CLANG_ENABLE_OBJC_WEAK = YES;
230+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
231+
CLANG_WARN_BOOL_CONVERSION = YES;
232+
CLANG_WARN_COMMA = YES;
233+
CLANG_WARN_CONSTANT_CONVERSION = YES;
234+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
235+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
236+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
237+
CLANG_WARN_EMPTY_BODY = YES;
238+
CLANG_WARN_ENUM_CONVERSION = YES;
239+
CLANG_WARN_INFINITE_RECURSION = YES;
240+
CLANG_WARN_INT_CONVERSION = YES;
241+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
242+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
243+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
244+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
245+
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
246+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
247+
CLANG_WARN_STRICT_PROTOTYPES = YES;
248+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
249+
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
250+
CLANG_WARN_UNREACHABLE_CODE = YES;
251+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
252+
COPY_PHASE_STRIP = NO;
253+
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
254+
ENABLE_NS_ASSERTIONS = NO;
255+
ENABLE_STRICT_OBJC_MSGSEND = YES;
256+
ENABLE_USER_SCRIPT_SANDBOXING = YES;
257+
GCC_C_LANGUAGE_STANDARD = gnu17;
258+
GCC_NO_COMMON_BLOCKS = YES;
259+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
260+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
261+
GCC_WARN_UNDECLARED_SELECTOR = YES;
262+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
263+
GCC_WARN_UNUSED_FUNCTION = YES;
264+
GCC_WARN_UNUSED_VARIABLE = YES;
265+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
266+
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
267+
MTL_ENABLE_DEBUG_INFO = NO;
268+
MTL_FAST_MATH = YES;
269+
SDKROOT = iphoneos;
270+
SWIFT_COMPILATION_MODE = wholemodule;
271+
VALIDATE_PRODUCT = YES;
272+
};
273+
name = Release;
274+
};
275+
8B5501192A00000000000001 /* Debug */ = {
276+
isa = XCBuildConfiguration;
277+
buildSettings = {
278+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
279+
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
280+
CODE_SIGN_STYLE = Automatic;
281+
CURRENT_PROJECT_VERSION = 1;
282+
DEVELOPMENT_ASSET_PATHS = "";
283+
ENABLE_PREVIEWS = YES;
284+
GENERATE_INFOPLIST_FILE = YES;
285+
INFOPLIST_KEY_CFBundleDisplayName = "Fisheye SwiftUI";
286+
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.video";
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.hanton.FisheyeSwiftUIExample;
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+
8B55011A2A00000000000001 /* 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 = "";
313+
ENABLE_PREVIEWS = YES;
314+
GENERATE_INFOPLIST_FILE = YES;
315+
INFOPLIST_KEY_CFBundleDisplayName = "Fisheye SwiftUI";
316+
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.video";
317+
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
318+
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
319+
INFOPLIST_KEY_UILaunchScreen_Generation = YES;
320+
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
321+
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
322+
LD_RUNPATH_SEARCH_PATHS = (
323+
"$(inherited)",
324+
"@executable_path/Frameworks",
325+
);
326+
MARKETING_VERSION = 1.0;
327+
PRODUCT_BUNDLE_IDENTIFIER = com.hanton.FisheyeSwiftUIExample;
328+
PRODUCT_NAME = "$(TARGET_NAME)";
329+
SWIFT_EMIT_LOC_STRINGS = YES;
330+
SWIFT_VERSION = 5.0;
331+
TARGETED_DEVICE_FAMILY = "1,2";
332+
};
333+
name = Release;
334+
};
335+
/* End XCBuildConfiguration section */
336+
337+
/* Begin XCConfigurationList section */
338+
8B5501152A00000000000001 /* Build configuration list for PBXProject "FisheyeSwiftUIExample" */ = {
339+
isa = XCConfigurationList;
340+
buildConfigurations = (
341+
8B5501172A00000000000001 /* Debug */,
342+
8B5501182A00000000000001 /* Release */,
343+
);
344+
defaultConfigurationIsVisible = 0;
345+
defaultConfigurationName = Release;
346+
};
347+
8B5501112A00000000000001 /* Build configuration list for PBXNativeTarget "FisheyeSwiftUIExample" */ = {
348+
isa = XCConfigurationList;
349+
buildConfigurations = (
350+
8B5501192A00000000000001 /* Debug */,
351+
8B55011A2A00000000000001 /* Release */,
352+
);
353+
defaultConfigurationIsVisible = 0;
354+
defaultConfigurationName = Release;
355+
};
356+
/* End XCConfigurationList section */
357+
358+
/* Begin XCLocalSwiftPackageReference section */
359+
8B5501162A00000000000001 /* XCLocalSwiftPackageReference "../.." */ = {
360+
isa = XCLocalSwiftPackageReference;
361+
relativePath = "../..";
362+
};
363+
/* End XCLocalSwiftPackageReference section */
364+
365+
/* Begin XCSwiftPackageProductDependency section */
366+
8B5501082A00000000000001 /* Fisheye */ = {
367+
isa = XCSwiftPackageProductDependency;
368+
productName = Fisheye;
369+
};
370+
/* End XCSwiftPackageProductDependency section */
371+
};
372+
rootObject = 8B5501142A00000000000001 /* Project object */;
373+
}

Example/FisheyeSwiftUIExample/FisheyeSwiftUIExample.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)