├── CHANGELOG.md
├── README.md
├── Lintel Viewer
├── Lintel Viewer
│ ├── Assets.xcassets
│ │ ├── Contents.json
│ │ ├── AccentColor.colorset
│ │ │ └── Contents.json
│ │ └── AppIcon.appiconset
│ │ │ └── Contents.json
│ ├── Lintel_ViewerApp.swift
│ ├── Lintel_Viewer.entitlements
│ ├── Views
│ │ └── AppView.swift
│ └── View Models
│ │ └── AppViewModel.swift
└── Lintel Viewer.xcodeproj
│ ├── project.xcworkspace
│ ├── contents.xcworkspacedata
│ └── xcshareddata
│ │ ├── IDEWorkspaceChecks.plist
│ │ └── swiftpm
│ │ └── Package.resolved
│ └── project.pbxproj
├── Sources
└── Lintel
│ └── Lintel.swift
├── Package.resolved
├── Package.swift
├── .gitignore
└── LICENSE.md
/CHANGELOG.md:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Lintel
2 |
3 | A description of this package.
4 |
--------------------------------------------------------------------------------
/Lintel Viewer/Lintel Viewer/Assets.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "author" : "xcode",
4 | "version" : 1
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/Sources/Lintel/Lintel.swift:
--------------------------------------------------------------------------------
1 | public struct Lintel {
2 | public private(set) var text = "Hello, World!"
3 |
4 | public init() {
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/Lintel Viewer/Lintel Viewer.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Lintel Viewer/Lintel Viewer/Assets.xcassets/AccentColor.colorset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "colors" : [
3 | {
4 | "idiom" : "universal"
5 | }
6 | ],
7 | "info" : {
8 | "author" : "xcode",
9 | "version" : 1
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/Lintel Viewer/Lintel Viewer.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Package.resolved:
--------------------------------------------------------------------------------
1 | {
2 | "pins" : [
3 | {
4 | "identity" : "euclid",
5 | "kind" : "remoteSourceControl",
6 | "location" : "git@github.com:nicklockwood/Euclid.git",
7 | "state" : {
8 | "branch" : "main",
9 | "revision" : "00a39468d274a3081966ed115ef5f18cd28b43ff"
10 | }
11 | }
12 | ],
13 | "version" : 2
14 | }
15 |
--------------------------------------------------------------------------------
/Lintel Viewer/Lintel Viewer/Lintel_ViewerApp.swift:
--------------------------------------------------------------------------------
1 | //
2 | // Lintel_ViewerApp.swift
3 | //
4 | // Created by Zack Brown on 08/09/2023.
5 | //
6 |
7 | import SwiftUI
8 |
9 | @main
10 | struct Lintel_ViewerApp: App {
11 |
12 | var body: some Scene {
13 |
14 | WindowGroup {
15 |
16 | AppView()
17 | }
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/Lintel Viewer/Lintel Viewer/Lintel_Viewer.entitlements:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | com.apple.security.app-sandbox
6 |
7 | com.apple.security.files.user-selected.read-only
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Lintel Viewer/Lintel Viewer.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved:
--------------------------------------------------------------------------------
1 | {
2 | "pins" : [
3 | {
4 | "identity" : "euclid",
5 | "kind" : "remoteSourceControl",
6 | "location" : "git@github.com:nicklockwood/Euclid.git",
7 | "state" : {
8 | "branch" : "main",
9 | "revision" : "00a39468d274a3081966ed115ef5f18cd28b43ff"
10 | }
11 | }
12 | ],
13 | "version" : 2
14 | }
15 |
--------------------------------------------------------------------------------
/Package.swift:
--------------------------------------------------------------------------------
1 | // swift-tools-version: 5.7
2 | // The swift-tools-version declares the minimum version of Swift required to build this package.
3 |
4 | import PackageDescription
5 |
6 | let package = Package(
7 | name: "Lintel",
8 | platforms: [.macOS(.v11),
9 | .iOS(.v13)],
10 | products: [
11 | .library(
12 | name: "Lintel",
13 | targets: ["Lintel"]),
14 | ],
15 | dependencies: [
16 | .package(url: "git@github.com:nicklockwood/Euclid.git", branch: "main"),
17 | .package(path: "../Bivouac"),
18 | ],
19 | targets: [
20 | .target(
21 | name: "Lintel",
22 | dependencies: ["Bivouac", "Euclid"]),
23 | ]
24 | )
25 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Xcode
2 | #
3 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
4 |
5 | .DS_Store
6 |
7 | ## User settings
8 | xcuserdata/
9 |
10 | ## Obj-C/Swift specific
11 | *.hmap
12 |
13 | ## App packaging
14 | *.ipa
15 | *.dSYM.zip
16 | *.dSYM
17 |
18 | ## Playgrounds
19 | timeline.xctimeline
20 | playground.xcworkspace
21 |
22 | # Swift Package Manager
23 | #
24 | # Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
25 | # Packages/
26 | # Package.pins
27 | # Package.resolved
28 | # *.xcodeproj
29 | #
30 | # Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata
31 | # hence it is not needed unless you have added a package configuration file to your project
32 | .swiftpm
33 |
34 | .build/
--------------------------------------------------------------------------------
/LICENSE.md:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2023 Zack Brown
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
--------------------------------------------------------------------------------
/Lintel Viewer/Lintel Viewer/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "platform" : "ios",
6 | "size" : "1024x1024"
7 | },
8 | {
9 | "idiom" : "mac",
10 | "scale" : "1x",
11 | "size" : "16x16"
12 | },
13 | {
14 | "idiom" : "mac",
15 | "scale" : "2x",
16 | "size" : "16x16"
17 | },
18 | {
19 | "idiom" : "mac",
20 | "scale" : "1x",
21 | "size" : "32x32"
22 | },
23 | {
24 | "idiom" : "mac",
25 | "scale" : "2x",
26 | "size" : "32x32"
27 | },
28 | {
29 | "idiom" : "mac",
30 | "scale" : "1x",
31 | "size" : "128x128"
32 | },
33 | {
34 | "idiom" : "mac",
35 | "scale" : "2x",
36 | "size" : "128x128"
37 | },
38 | {
39 | "idiom" : "mac",
40 | "scale" : "1x",
41 | "size" : "256x256"
42 | },
43 | {
44 | "idiom" : "mac",
45 | "scale" : "2x",
46 | "size" : "256x256"
47 | },
48 | {
49 | "idiom" : "mac",
50 | "scale" : "1x",
51 | "size" : "512x512"
52 | },
53 | {
54 | "idiom" : "mac",
55 | "scale" : "2x",
56 | "size" : "512x512"
57 | }
58 | ],
59 | "info" : {
60 | "author" : "xcode",
61 | "version" : 1
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/Lintel Viewer/Lintel Viewer/Views/AppView.swift:
--------------------------------------------------------------------------------
1 | //
2 | // AppView.swift
3 | //
4 | // Created by Zack Brown on 08/09/2023.
5 | //
6 |
7 | import Bivouac
8 | import SceneKit
9 | import SwiftUI
10 |
11 | struct AppView: View {
12 |
13 | @ObservedObject private var viewModel = AppViewModel()
14 |
15 | var body: some View {
16 |
17 | #if os(iOS)
18 | NavigationStack {
19 |
20 | sceneView
21 | }
22 | #else
23 | sceneView
24 | #endif
25 | }
26 |
27 | var sceneView: some View {
28 |
29 | SceneView(scene: viewModel.scene,
30 | pointOfView: viewModel.scene.camera.pov,
31 | options: [.allowsCameraControl,
32 | .autoenablesDefaultLighting])
33 | .toolbar {
34 |
35 | ToolbarItemGroup {
36 |
37 | toolbar
38 | }
39 | }
40 | }
41 |
42 | @ViewBuilder
43 | var toolbar: some View {
44 |
45 | Picker("Architecture",
46 | selection: $viewModel.architectureType) {
47 |
48 | ForEach(ArchitectureType.allCases, id: \.self) { architectureType in
49 |
50 | Text(architectureType.id.capitalized)
51 | .id(architectureType)
52 | }
53 | }
54 | }
55 | }
56 |
--------------------------------------------------------------------------------
/Lintel Viewer/Lintel Viewer/View Models/AppViewModel.swift:
--------------------------------------------------------------------------------
1 | //
2 | // AppViewModel.swift
3 | //
4 | // Created by Zack Brown on 08/09/2023.
5 | //
6 |
7 | import Bivouac
8 | import Euclid
9 | import Foundation
10 | import SceneKit
11 |
12 | class AppViewModel: ObservableObject {
13 |
14 | enum Constant {
15 |
16 | static let cameraY = 1.5
17 | static let cameraZ = 1.5
18 | }
19 |
20 | @Published var architectureType: ArchitectureType = .bernina {
21 |
22 | didSet {
23 |
24 | guard oldValue != architectureType else { return }
25 |
26 | updateScene()
27 | }
28 | }
29 |
30 | let scene = Scene()
31 |
32 | private var footprint: Grid.Footprint { .init(origin: .zero,
33 | area: .rhombus) }
34 |
35 | init() {
36 |
37 | updateScene()
38 | }
39 | }
40 |
41 | extension AppViewModel {
42 |
43 | private func createNode(with mesh: Mesh?) -> SCNNode? {
44 |
45 | guard let mesh else { return nil }
46 |
47 | let node = SCNNode()
48 | let wireframe = SCNNode()
49 | let material = SCNMaterial()
50 |
51 | node.geometry = SCNGeometry(mesh)
52 | node.geometry?.firstMaterial = material
53 |
54 | wireframe.geometry = SCNGeometry(wireframe: mesh)
55 |
56 | node.addChildNode(wireframe)
57 |
58 | return node
59 | }
60 |
61 | private func updateScene() {
62 |
63 | scene.clear()
64 |
65 | var polygons: [Euclid.Polygon] = []
66 |
67 | for coordinate in footprint.coordinates {
68 |
69 | let triangle = Grid.Triangle(coordinate)
70 |
71 | let vertices = triangle.vertices(for: .tile).map { Vertex($0, .up) }
72 |
73 | guard let polygon = Polygon(vertices) else { continue }
74 |
75 | polygons.append(polygon)
76 | }
77 |
78 | let mesh = Mesh(polygons)
79 |
80 | guard let node = createNode(with: mesh) else { return }
81 |
82 | scene.rootNode.addChildNode(node)
83 | }
84 | }
85 |
--------------------------------------------------------------------------------
/Lintel Viewer/Lintel Viewer.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 56;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 18809D9B2AAB1C830098CDD7 /* Lintel_ViewerApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 18809D9A2AAB1C830098CDD7 /* Lintel_ViewerApp.swift */; };
11 | 18809D9D2AAB1C830098CDD7 /* AppView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 18809D9C2AAB1C830098CDD7 /* AppView.swift */; };
12 | 18809D9F2AAB1C840098CDD7 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 18809D9E2AAB1C840098CDD7 /* Assets.xcassets */; };
13 | 18809DAC2AAB1D5E0098CDD7 /* AppViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 18809DAB2AAB1D5E0098CDD7 /* AppViewModel.swift */; };
14 | 18809DB12AAB1DBE0098CDD7 /* Lintel in Frameworks */ = {isa = PBXBuildFile; productRef = 18809DB02AAB1DBE0098CDD7 /* Lintel */; };
15 | /* End PBXBuildFile section */
16 |
17 | /* Begin PBXFileReference section */
18 | 18809D972AAB1C830098CDD7 /* Lintel Viewer.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Lintel Viewer.app"; sourceTree = BUILT_PRODUCTS_DIR; };
19 | 18809D9A2AAB1C830098CDD7 /* Lintel_ViewerApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Lintel_ViewerApp.swift; sourceTree = ""; };
20 | 18809D9C2AAB1C830098CDD7 /* AppView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppView.swift; sourceTree = ""; };
21 | 18809D9E2AAB1C840098CDD7 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
22 | 18809DA02AAB1C840098CDD7 /* Lintel_Viewer.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Lintel_Viewer.entitlements; sourceTree = ""; };
23 | 18809DAB2AAB1D5E0098CDD7 /* AppViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppViewModel.swift; sourceTree = ""; };
24 | 18809DAE2AAB1D8A0098CDD7 /* Lintel */ = {isa = PBXFileReference; lastKnownFileType = wrapper; name = Lintel; path = ..; sourceTree = ""; };
25 | /* End PBXFileReference section */
26 |
27 | /* Begin PBXFrameworksBuildPhase section */
28 | 18809D942AAB1C830098CDD7 /* Frameworks */ = {
29 | isa = PBXFrameworksBuildPhase;
30 | buildActionMask = 2147483647;
31 | files = (
32 | 18809DB12AAB1DBE0098CDD7 /* Lintel in Frameworks */,
33 | );
34 | runOnlyForDeploymentPostprocessing = 0;
35 | };
36 | /* End PBXFrameworksBuildPhase section */
37 |
38 | /* Begin PBXGroup section */
39 | 18809D8E2AAB1C820098CDD7 = {
40 | isa = PBXGroup;
41 | children = (
42 | 18809DAD2AAB1D8A0098CDD7 /* Packages */,
43 | 18809D992AAB1C830098CDD7 /* Lintel Viewer */,
44 | 18809D982AAB1C830098CDD7 /* Products */,
45 | 18809DAF2AAB1DBE0098CDD7 /* Frameworks */,
46 | );
47 | sourceTree = "";
48 | };
49 | 18809D982AAB1C830098CDD7 /* Products */ = {
50 | isa = PBXGroup;
51 | children = (
52 | 18809D972AAB1C830098CDD7 /* Lintel Viewer.app */,
53 | );
54 | name = Products;
55 | sourceTree = "";
56 | };
57 | 18809D992AAB1C830098CDD7 /* Lintel Viewer */ = {
58 | isa = PBXGroup;
59 | children = (
60 | 18809DAA2AAB1CF60098CDD7 /* View Models */,
61 | 18809DA92AAB1CF20098CDD7 /* Views */,
62 | 18809D9A2AAB1C830098CDD7 /* Lintel_ViewerApp.swift */,
63 | 18809D9E2AAB1C840098CDD7 /* Assets.xcassets */,
64 | 18809DA02AAB1C840098CDD7 /* Lintel_Viewer.entitlements */,
65 | );
66 | path = "Lintel Viewer";
67 | sourceTree = "";
68 | };
69 | 18809DA92AAB1CF20098CDD7 /* Views */ = {
70 | isa = PBXGroup;
71 | children = (
72 | 18809D9C2AAB1C830098CDD7 /* AppView.swift */,
73 | );
74 | path = Views;
75 | sourceTree = "";
76 | };
77 | 18809DAA2AAB1CF60098CDD7 /* View Models */ = {
78 | isa = PBXGroup;
79 | children = (
80 | 18809DAB2AAB1D5E0098CDD7 /* AppViewModel.swift */,
81 | );
82 | path = "View Models";
83 | sourceTree = "";
84 | };
85 | 18809DAD2AAB1D8A0098CDD7 /* Packages */ = {
86 | isa = PBXGroup;
87 | children = (
88 | 18809DAE2AAB1D8A0098CDD7 /* Lintel */,
89 | );
90 | name = Packages;
91 | sourceTree = "";
92 | };
93 | 18809DAF2AAB1DBE0098CDD7 /* Frameworks */ = {
94 | isa = PBXGroup;
95 | children = (
96 | );
97 | name = Frameworks;
98 | sourceTree = "";
99 | };
100 | /* End PBXGroup section */
101 |
102 | /* Begin PBXNativeTarget section */
103 | 18809D962AAB1C830098CDD7 /* Lintel Viewer */ = {
104 | isa = PBXNativeTarget;
105 | buildConfigurationList = 18809DA62AAB1C840098CDD7 /* Build configuration list for PBXNativeTarget "Lintel Viewer" */;
106 | buildPhases = (
107 | 18809D932AAB1C830098CDD7 /* Sources */,
108 | 18809D942AAB1C830098CDD7 /* Frameworks */,
109 | 18809D952AAB1C830098CDD7 /* Resources */,
110 | );
111 | buildRules = (
112 | );
113 | dependencies = (
114 | );
115 | name = "Lintel Viewer";
116 | packageProductDependencies = (
117 | 18809DB02AAB1DBE0098CDD7 /* Lintel */,
118 | );
119 | productName = "Lintel Viewer";
120 | productReference = 18809D972AAB1C830098CDD7 /* Lintel Viewer.app */;
121 | productType = "com.apple.product-type.application";
122 | };
123 | /* End PBXNativeTarget section */
124 |
125 | /* Begin PBXProject section */
126 | 18809D8F2AAB1C820098CDD7 /* Project object */ = {
127 | isa = PBXProject;
128 | attributes = {
129 | BuildIndependentTargetsInParallel = 1;
130 | LastSwiftUpdateCheck = 1420;
131 | LastUpgradeCheck = 1420;
132 | TargetAttributes = {
133 | 18809D962AAB1C830098CDD7 = {
134 | CreatedOnToolsVersion = 14.2;
135 | };
136 | };
137 | };
138 | buildConfigurationList = 18809D922AAB1C820098CDD7 /* Build configuration list for PBXProject "Lintel Viewer" */;
139 | compatibilityVersion = "Xcode 14.0";
140 | developmentRegion = en;
141 | hasScannedForEncodings = 0;
142 | knownRegions = (
143 | en,
144 | Base,
145 | );
146 | mainGroup = 18809D8E2AAB1C820098CDD7;
147 | productRefGroup = 18809D982AAB1C830098CDD7 /* Products */;
148 | projectDirPath = "";
149 | projectRoot = "";
150 | targets = (
151 | 18809D962AAB1C830098CDD7 /* Lintel Viewer */,
152 | );
153 | };
154 | /* End PBXProject section */
155 |
156 | /* Begin PBXResourcesBuildPhase section */
157 | 18809D952AAB1C830098CDD7 /* Resources */ = {
158 | isa = PBXResourcesBuildPhase;
159 | buildActionMask = 2147483647;
160 | files = (
161 | 18809D9F2AAB1C840098CDD7 /* Assets.xcassets in Resources */,
162 | );
163 | runOnlyForDeploymentPostprocessing = 0;
164 | };
165 | /* End PBXResourcesBuildPhase section */
166 |
167 | /* Begin PBXSourcesBuildPhase section */
168 | 18809D932AAB1C830098CDD7 /* Sources */ = {
169 | isa = PBXSourcesBuildPhase;
170 | buildActionMask = 2147483647;
171 | files = (
172 | 18809D9D2AAB1C830098CDD7 /* AppView.swift in Sources */,
173 | 18809D9B2AAB1C830098CDD7 /* Lintel_ViewerApp.swift in Sources */,
174 | 18809DAC2AAB1D5E0098CDD7 /* AppViewModel.swift in Sources */,
175 | );
176 | runOnlyForDeploymentPostprocessing = 0;
177 | };
178 | /* End PBXSourcesBuildPhase section */
179 |
180 | /* Begin XCBuildConfiguration section */
181 | 18809DA42AAB1C840098CDD7 /* Debug */ = {
182 | isa = XCBuildConfiguration;
183 | buildSettings = {
184 | ALWAYS_SEARCH_USER_PATHS = NO;
185 | CLANG_ANALYZER_NONNULL = YES;
186 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
187 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
188 | CLANG_ENABLE_MODULES = YES;
189 | CLANG_ENABLE_OBJC_ARC = YES;
190 | CLANG_ENABLE_OBJC_WEAK = YES;
191 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
192 | CLANG_WARN_BOOL_CONVERSION = YES;
193 | CLANG_WARN_COMMA = YES;
194 | CLANG_WARN_CONSTANT_CONVERSION = YES;
195 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
196 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
197 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
198 | CLANG_WARN_EMPTY_BODY = YES;
199 | CLANG_WARN_ENUM_CONVERSION = YES;
200 | CLANG_WARN_INFINITE_RECURSION = YES;
201 | CLANG_WARN_INT_CONVERSION = YES;
202 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
203 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
204 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
205 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
206 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
207 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
208 | CLANG_WARN_STRICT_PROTOTYPES = YES;
209 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
210 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
211 | CLANG_WARN_UNREACHABLE_CODE = YES;
212 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
213 | COPY_PHASE_STRIP = NO;
214 | DEBUG_INFORMATION_FORMAT = dwarf;
215 | ENABLE_STRICT_OBJC_MSGSEND = YES;
216 | ENABLE_TESTABILITY = YES;
217 | GCC_C_LANGUAGE_STANDARD = gnu11;
218 | GCC_DYNAMIC_NO_PIC = NO;
219 | GCC_NO_COMMON_BLOCKS = YES;
220 | GCC_OPTIMIZATION_LEVEL = 0;
221 | GCC_PREPROCESSOR_DEFINITIONS = (
222 | "DEBUG=1",
223 | "$(inherited)",
224 | );
225 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
226 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
227 | GCC_WARN_UNDECLARED_SELECTOR = YES;
228 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
229 | GCC_WARN_UNUSED_FUNCTION = YES;
230 | GCC_WARN_UNUSED_VARIABLE = YES;
231 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
232 | MTL_FAST_MATH = YES;
233 | ONLY_ACTIVE_ARCH = YES;
234 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
235 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
236 | };
237 | name = Debug;
238 | };
239 | 18809DA52AAB1C840098CDD7 /* Release */ = {
240 | isa = XCBuildConfiguration;
241 | buildSettings = {
242 | ALWAYS_SEARCH_USER_PATHS = NO;
243 | CLANG_ANALYZER_NONNULL = YES;
244 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
245 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
246 | CLANG_ENABLE_MODULES = YES;
247 | CLANG_ENABLE_OBJC_ARC = YES;
248 | CLANG_ENABLE_OBJC_WEAK = YES;
249 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
250 | CLANG_WARN_BOOL_CONVERSION = YES;
251 | CLANG_WARN_COMMA = YES;
252 | CLANG_WARN_CONSTANT_CONVERSION = YES;
253 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
254 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
255 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
256 | CLANG_WARN_EMPTY_BODY = YES;
257 | CLANG_WARN_ENUM_CONVERSION = YES;
258 | CLANG_WARN_INFINITE_RECURSION = YES;
259 | CLANG_WARN_INT_CONVERSION = YES;
260 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
261 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
262 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
263 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
264 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
265 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
266 | CLANG_WARN_STRICT_PROTOTYPES = YES;
267 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
268 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
269 | CLANG_WARN_UNREACHABLE_CODE = YES;
270 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
271 | COPY_PHASE_STRIP = NO;
272 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
273 | ENABLE_NS_ASSERTIONS = NO;
274 | ENABLE_STRICT_OBJC_MSGSEND = YES;
275 | GCC_C_LANGUAGE_STANDARD = gnu11;
276 | GCC_NO_COMMON_BLOCKS = YES;
277 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
278 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
279 | GCC_WARN_UNDECLARED_SELECTOR = YES;
280 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
281 | GCC_WARN_UNUSED_FUNCTION = YES;
282 | GCC_WARN_UNUSED_VARIABLE = YES;
283 | MTL_ENABLE_DEBUG_INFO = NO;
284 | MTL_FAST_MATH = YES;
285 | SWIFT_COMPILATION_MODE = wholemodule;
286 | SWIFT_OPTIMIZATION_LEVEL = "-O";
287 | };
288 | name = Release;
289 | };
290 | 18809DA72AAB1C840098CDD7 /* Debug */ = {
291 | isa = XCBuildConfiguration;
292 | buildSettings = {
293 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
294 | ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
295 | CODE_SIGN_ENTITLEMENTS = "Lintel Viewer/Lintel_Viewer.entitlements";
296 | CODE_SIGN_STYLE = Automatic;
297 | CURRENT_PROJECT_VERSION = 1;
298 | ENABLE_PREVIEWS = YES;
299 | GENERATE_INFOPLIST_FILE = YES;
300 | INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.developer-tools";
301 | "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphoneos*]" = YES;
302 | "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphonesimulator*]" = YES;
303 | "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphoneos*]" = YES;
304 | "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphonesimulator*]" = YES;
305 | "INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphoneos*]" = YES;
306 | "INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphonesimulator*]" = YES;
307 | "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphoneos*]" = UIStatusBarStyleDefault;
308 | "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphonesimulator*]" = UIStatusBarStyleDefault;
309 | INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
310 | INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
311 | IPHONEOS_DEPLOYMENT_TARGET = 16.2;
312 | LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks";
313 | "LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks";
314 | MACOSX_DEPLOYMENT_TARGET = 12.6;
315 | MARKETING_VERSION = 1.0;
316 | PRODUCT_BUNDLE_IDENTIFIER = "com.lintel.Lintel-Viewer";
317 | PRODUCT_NAME = "$(TARGET_NAME)";
318 | SDKROOT = auto;
319 | SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx";
320 | SWIFT_EMIT_LOC_STRINGS = YES;
321 | SWIFT_VERSION = 5.0;
322 | TARGETED_DEVICE_FAMILY = "1,2";
323 | };
324 | name = Debug;
325 | };
326 | 18809DA82AAB1C840098CDD7 /* Release */ = {
327 | isa = XCBuildConfiguration;
328 | buildSettings = {
329 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
330 | ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
331 | CODE_SIGN_ENTITLEMENTS = "Lintel Viewer/Lintel_Viewer.entitlements";
332 | CODE_SIGN_STYLE = Automatic;
333 | CURRENT_PROJECT_VERSION = 1;
334 | ENABLE_PREVIEWS = YES;
335 | GENERATE_INFOPLIST_FILE = YES;
336 | INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.developer-tools";
337 | "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphoneos*]" = YES;
338 | "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphonesimulator*]" = YES;
339 | "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphoneos*]" = YES;
340 | "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphonesimulator*]" = YES;
341 | "INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphoneos*]" = YES;
342 | "INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphonesimulator*]" = YES;
343 | "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphoneos*]" = UIStatusBarStyleDefault;
344 | "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphonesimulator*]" = UIStatusBarStyleDefault;
345 | INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
346 | INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
347 | IPHONEOS_DEPLOYMENT_TARGET = 16.2;
348 | LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks";
349 | "LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks";
350 | MACOSX_DEPLOYMENT_TARGET = 12.6;
351 | MARKETING_VERSION = 1.0;
352 | PRODUCT_BUNDLE_IDENTIFIER = "com.lintel.Lintel-Viewer";
353 | PRODUCT_NAME = "$(TARGET_NAME)";
354 | SDKROOT = auto;
355 | SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx";
356 | SWIFT_EMIT_LOC_STRINGS = YES;
357 | SWIFT_VERSION = 5.0;
358 | TARGETED_DEVICE_FAMILY = "1,2";
359 | };
360 | name = Release;
361 | };
362 | /* End XCBuildConfiguration section */
363 |
364 | /* Begin XCConfigurationList section */
365 | 18809D922AAB1C820098CDD7 /* Build configuration list for PBXProject "Lintel Viewer" */ = {
366 | isa = XCConfigurationList;
367 | buildConfigurations = (
368 | 18809DA42AAB1C840098CDD7 /* Debug */,
369 | 18809DA52AAB1C840098CDD7 /* Release */,
370 | );
371 | defaultConfigurationIsVisible = 0;
372 | defaultConfigurationName = Release;
373 | };
374 | 18809DA62AAB1C840098CDD7 /* Build configuration list for PBXNativeTarget "Lintel Viewer" */ = {
375 | isa = XCConfigurationList;
376 | buildConfigurations = (
377 | 18809DA72AAB1C840098CDD7 /* Debug */,
378 | 18809DA82AAB1C840098CDD7 /* Release */,
379 | );
380 | defaultConfigurationIsVisible = 0;
381 | defaultConfigurationName = Release;
382 | };
383 | /* End XCConfigurationList section */
384 |
385 | /* Begin XCSwiftPackageProductDependency section */
386 | 18809DB02AAB1DBE0098CDD7 /* Lintel */ = {
387 | isa = XCSwiftPackageProductDependency;
388 | productName = Lintel;
389 | };
390 | /* End XCSwiftPackageProductDependency section */
391 | };
392 | rootObject = 18809D8F2AAB1C820098CDD7 /* Project object */;
393 | }
394 |
--------------------------------------------------------------------------------