├── PaintApp
├── Assets.xcassets
│ ├── Contents.json
│ ├── AccentColor.colorset
│ │ └── Contents.json
│ └── AppIcon.appiconset
│ │ └── Contents.json
├── Preview Content
│ └── Preview Assets.xcassets
│ │ └── Contents.json
├── PaintAppApp.swift
├── PaintApp.entitlements
├── Constants.swift
├── ColorPickerView.swift
└── ContentView.swift
└── PaintApp.xcodeproj
├── project.xcworkspace
├── contents.xcworkspacedata
└── xcshareddata
│ └── IDEWorkspaceChecks.plist
├── xcuserdata
└── azamsharp.xcuserdatad
│ └── xcschemes
│ └── xcschememanagement.plist
└── project.pbxproj
/PaintApp/Assets.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "author" : "xcode",
4 | "version" : 1
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/PaintApp/Preview Content/Preview Assets.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "author" : "xcode",
4 | "version" : 1
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/PaintApp.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/PaintApp/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 |
--------------------------------------------------------------------------------
/PaintApp/PaintAppApp.swift:
--------------------------------------------------------------------------------
1 | //
2 | // PaintAppApp.swift
3 | // PaintApp
4 | //
5 | // Created by Mohammad Azam on 12/7/21.
6 | //
7 |
8 | import SwiftUI
9 |
10 | @main
11 | struct PaintAppApp: App {
12 | var body: some Scene {
13 | WindowGroup {
14 | ContentView()
15 | }
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/PaintApp.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/PaintApp/PaintApp.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 |
--------------------------------------------------------------------------------
/PaintApp.xcodeproj/xcuserdata/azamsharp.xcuserdatad/xcschemes/xcschememanagement.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SchemeUserState
6 |
7 | PaintApp.xcscheme_^#shared#^_
8 |
9 | orderHint
10 | 0
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/PaintApp/Constants.swift:
--------------------------------------------------------------------------------
1 | //
2 | // Constants.swift
3 | // PaintApp
4 | //
5 | // Created by Mohammad Azam on 12/7/21.
6 | //
7 |
8 | import Foundation
9 |
10 | struct Constants {
11 |
12 | struct Icons {
13 | static let plusCircle = "plus.circle"
14 | static let line3HorizontalCircleFill = "line.3.horizontal.circle.fill"
15 | static let circle = "circle"
16 | static let circleInsetFilled = "circle.inset.filled"
17 | static let exclaimationMarkCircle = "exclamationmark.circle"
18 | static let recordCircleFill = "record.circle.fill"
19 | static let trayCircleFill = "tray.circle.fill"
20 | static let circleFill = "circle.fill"
21 | }
22 |
23 | }
24 |
--------------------------------------------------------------------------------
/PaintApp/ColorPickerView.swift:
--------------------------------------------------------------------------------
1 | //
2 | // ColorListView.swift
3 | // Reminders
4 | //
5 | // Created by Mohammad Azam on 12/2/21.
6 | //
7 |
8 | import SwiftUI
9 |
10 | struct ColorPickerView: View {
11 |
12 | let colors = [Color.red, Color.orange, Color.green, Color.blue, Color.purple]
13 | @Binding var selectedColor: Color
14 |
15 | var body: some View {
16 | HStack {
17 | ForEach(colors, id: \.self) { color in
18 |
19 | Image(systemName: selectedColor == color ? Constants.Icons.recordCircleFill : Constants.Icons.circleFill)
20 | .foregroundColor(color)
21 | .font(.system(size: 16))
22 | .clipShape(Circle())
23 | .onTapGesture {
24 | selectedColor = color
25 | }
26 | }
27 | }
28 | }
29 | }
30 |
31 | struct ColorListView_Previews: PreviewProvider {
32 | static var previews: some View {
33 | ColorPickerView(selectedColor: .constant(.blue))
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/PaintApp/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "mac",
5 | "scale" : "1x",
6 | "size" : "16x16"
7 | },
8 | {
9 | "idiom" : "mac",
10 | "scale" : "2x",
11 | "size" : "16x16"
12 | },
13 | {
14 | "idiom" : "mac",
15 | "scale" : "1x",
16 | "size" : "32x32"
17 | },
18 | {
19 | "idiom" : "mac",
20 | "scale" : "2x",
21 | "size" : "32x32"
22 | },
23 | {
24 | "idiom" : "mac",
25 | "scale" : "1x",
26 | "size" : "128x128"
27 | },
28 | {
29 | "idiom" : "mac",
30 | "scale" : "2x",
31 | "size" : "128x128"
32 | },
33 | {
34 | "idiom" : "mac",
35 | "scale" : "1x",
36 | "size" : "256x256"
37 | },
38 | {
39 | "idiom" : "mac",
40 | "scale" : "2x",
41 | "size" : "256x256"
42 | },
43 | {
44 | "idiom" : "mac",
45 | "scale" : "1x",
46 | "size" : "512x512"
47 | },
48 | {
49 | "idiom" : "mac",
50 | "scale" : "2x",
51 | "size" : "512x512"
52 | }
53 | ],
54 | "info" : {
55 | "author" : "xcode",
56 | "version" : 1
57 | }
58 | }
59 |
--------------------------------------------------------------------------------
/PaintApp/ContentView.swift:
--------------------------------------------------------------------------------
1 | //
2 | // ContentView.swift
3 | // PaintApp
4 | //
5 | // Created by Mohammad Azam on 12/7/21.
6 | //
7 |
8 | import SwiftUI
9 |
10 | struct Line {
11 | var points = [CGPoint]()
12 | var color: Color = .red
13 | var lineWidth: Double = 1.0
14 | }
15 |
16 | struct ContentView: View {
17 |
18 | @State private var currentLine = Line()
19 | @State private var lines: [Line] = []
20 | @State private var thickness: Double = 1.0
21 |
22 | var body: some View {
23 | VStack {
24 |
25 | Canvas { context, size in
26 |
27 | for line in lines {
28 | var path = Path()
29 | path.addLines(line.points)
30 | context.stroke(path, with: .color(line.color), lineWidth: line.lineWidth)
31 | }
32 |
33 |
34 | }
35 | .frame(minWidth: 400, minHeight: 400)
36 | .gesture(DragGesture(minimumDistance: 0, coordinateSpace: .local)
37 | .onChanged({ value in
38 | let newPoint = value.location
39 | currentLine.points.append(newPoint)
40 | self.lines.append(currentLine)
41 | })
42 | .onEnded({ value in
43 | self.lines.append(currentLine)
44 | self.currentLine = Line(points: [], color: currentLine.color, lineWidth: thickness)
45 | })
46 | )
47 |
48 | HStack {
49 |
50 | Slider(value: $thickness, in: 1...20) {
51 | Text("Thickness")
52 | }.frame(maxWidth: 200)
53 | .onChange(of: thickness) { newThickness in
54 | currentLine.lineWidth = newThickness
55 | }
56 | Divider()
57 | ColorPickerView(selectedColor: $currentLine.color)
58 | .onChange(of: currentLine.color) { newColor in
59 | print(newColor)
60 | currentLine.color = newColor
61 | }
62 | }
63 |
64 | }.padding()
65 | }
66 | }
67 |
68 | struct ContentView_Previews: PreviewProvider {
69 | static var previews: some View {
70 | ContentView()
71 | }
72 | }
73 |
--------------------------------------------------------------------------------
/PaintApp.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 55;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 8DCF6C57275F9E3F00604D71 /* PaintAppApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8DCF6C56275F9E3F00604D71 /* PaintAppApp.swift */; };
11 | 8DCF6C59275F9E3F00604D71 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8DCF6C58275F9E3F00604D71 /* ContentView.swift */; };
12 | 8DCF6C5B275F9E4000604D71 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 8DCF6C5A275F9E4000604D71 /* Assets.xcassets */; };
13 | 8DCF6C5E275F9E4000604D71 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 8DCF6C5D275F9E4000604D71 /* Preview Assets.xcassets */; };
14 | 8DCF6C66275FA13500604D71 /* Constants.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8DCF6C65275FA13500604D71 /* Constants.swift */; };
15 | 8DCF6C68275FA17700604D71 /* ColorPickerView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8DCF6C67275FA17700604D71 /* ColorPickerView.swift */; };
16 | /* End PBXBuildFile section */
17 |
18 | /* Begin PBXFileReference section */
19 | 8DCF6C53275F9E3F00604D71 /* PaintApp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = PaintApp.app; sourceTree = BUILT_PRODUCTS_DIR; };
20 | 8DCF6C56275F9E3F00604D71 /* PaintAppApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PaintAppApp.swift; sourceTree = ""; };
21 | 8DCF6C58275F9E3F00604D71 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; };
22 | 8DCF6C5A275F9E4000604D71 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
23 | 8DCF6C5D275F9E4000604D71 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; };
24 | 8DCF6C5F275F9E4000604D71 /* PaintApp.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = PaintApp.entitlements; sourceTree = ""; };
25 | 8DCF6C65275FA13500604D71 /* Constants.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Constants.swift; sourceTree = ""; };
26 | 8DCF6C67275FA17700604D71 /* ColorPickerView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ColorPickerView.swift; sourceTree = ""; };
27 | /* End PBXFileReference section */
28 |
29 | /* Begin PBXFrameworksBuildPhase section */
30 | 8DCF6C50275F9E3F00604D71 /* Frameworks */ = {
31 | isa = PBXFrameworksBuildPhase;
32 | buildActionMask = 2147483647;
33 | files = (
34 | );
35 | runOnlyForDeploymentPostprocessing = 0;
36 | };
37 | /* End PBXFrameworksBuildPhase section */
38 |
39 | /* Begin PBXGroup section */
40 | 8DCF6C4A275F9E3F00604D71 = {
41 | isa = PBXGroup;
42 | children = (
43 | 8DCF6C55275F9E3F00604D71 /* PaintApp */,
44 | 8DCF6C54275F9E3F00604D71 /* Products */,
45 | );
46 | sourceTree = "";
47 | };
48 | 8DCF6C54275F9E3F00604D71 /* Products */ = {
49 | isa = PBXGroup;
50 | children = (
51 | 8DCF6C53275F9E3F00604D71 /* PaintApp.app */,
52 | );
53 | name = Products;
54 | sourceTree = "";
55 | };
56 | 8DCF6C55275F9E3F00604D71 /* PaintApp */ = {
57 | isa = PBXGroup;
58 | children = (
59 | 8DCF6C56275F9E3F00604D71 /* PaintAppApp.swift */,
60 | 8DCF6C58275F9E3F00604D71 /* ContentView.swift */,
61 | 8DCF6C5A275F9E4000604D71 /* Assets.xcassets */,
62 | 8DCF6C5F275F9E4000604D71 /* PaintApp.entitlements */,
63 | 8DCF6C5C275F9E4000604D71 /* Preview Content */,
64 | 8DCF6C65275FA13500604D71 /* Constants.swift */,
65 | 8DCF6C67275FA17700604D71 /* ColorPickerView.swift */,
66 | );
67 | path = PaintApp;
68 | sourceTree = "";
69 | };
70 | 8DCF6C5C275F9E4000604D71 /* Preview Content */ = {
71 | isa = PBXGroup;
72 | children = (
73 | 8DCF6C5D275F9E4000604D71 /* Preview Assets.xcassets */,
74 | );
75 | path = "Preview Content";
76 | sourceTree = "";
77 | };
78 | /* End PBXGroup section */
79 |
80 | /* Begin PBXNativeTarget section */
81 | 8DCF6C52275F9E3F00604D71 /* PaintApp */ = {
82 | isa = PBXNativeTarget;
83 | buildConfigurationList = 8DCF6C62275F9E4000604D71 /* Build configuration list for PBXNativeTarget "PaintApp" */;
84 | buildPhases = (
85 | 8DCF6C4F275F9E3F00604D71 /* Sources */,
86 | 8DCF6C50275F9E3F00604D71 /* Frameworks */,
87 | 8DCF6C51275F9E3F00604D71 /* Resources */,
88 | );
89 | buildRules = (
90 | );
91 | dependencies = (
92 | );
93 | name = PaintApp;
94 | productName = PaintApp;
95 | productReference = 8DCF6C53275F9E3F00604D71 /* PaintApp.app */;
96 | productType = "com.apple.product-type.application";
97 | };
98 | /* End PBXNativeTarget section */
99 |
100 | /* Begin PBXProject section */
101 | 8DCF6C4B275F9E3F00604D71 /* Project object */ = {
102 | isa = PBXProject;
103 | attributes = {
104 | BuildIndependentTargetsInParallel = 1;
105 | LastSwiftUpdateCheck = 1310;
106 | LastUpgradeCheck = 1310;
107 | TargetAttributes = {
108 | 8DCF6C52275F9E3F00604D71 = {
109 | CreatedOnToolsVersion = 13.1;
110 | };
111 | };
112 | };
113 | buildConfigurationList = 8DCF6C4E275F9E3F00604D71 /* Build configuration list for PBXProject "PaintApp" */;
114 | compatibilityVersion = "Xcode 13.0";
115 | developmentRegion = en;
116 | hasScannedForEncodings = 0;
117 | knownRegions = (
118 | en,
119 | Base,
120 | );
121 | mainGroup = 8DCF6C4A275F9E3F00604D71;
122 | productRefGroup = 8DCF6C54275F9E3F00604D71 /* Products */;
123 | projectDirPath = "";
124 | projectRoot = "";
125 | targets = (
126 | 8DCF6C52275F9E3F00604D71 /* PaintApp */,
127 | );
128 | };
129 | /* End PBXProject section */
130 |
131 | /* Begin PBXResourcesBuildPhase section */
132 | 8DCF6C51275F9E3F00604D71 /* Resources */ = {
133 | isa = PBXResourcesBuildPhase;
134 | buildActionMask = 2147483647;
135 | files = (
136 | 8DCF6C5E275F9E4000604D71 /* Preview Assets.xcassets in Resources */,
137 | 8DCF6C5B275F9E4000604D71 /* Assets.xcassets in Resources */,
138 | );
139 | runOnlyForDeploymentPostprocessing = 0;
140 | };
141 | /* End PBXResourcesBuildPhase section */
142 |
143 | /* Begin PBXSourcesBuildPhase section */
144 | 8DCF6C4F275F9E3F00604D71 /* Sources */ = {
145 | isa = PBXSourcesBuildPhase;
146 | buildActionMask = 2147483647;
147 | files = (
148 | 8DCF6C68275FA17700604D71 /* ColorPickerView.swift in Sources */,
149 | 8DCF6C59275F9E3F00604D71 /* ContentView.swift in Sources */,
150 | 8DCF6C57275F9E3F00604D71 /* PaintAppApp.swift in Sources */,
151 | 8DCF6C66275FA13500604D71 /* Constants.swift in Sources */,
152 | );
153 | runOnlyForDeploymentPostprocessing = 0;
154 | };
155 | /* End PBXSourcesBuildPhase section */
156 |
157 | /* Begin XCBuildConfiguration section */
158 | 8DCF6C60275F9E4000604D71 /* Debug */ = {
159 | isa = XCBuildConfiguration;
160 | buildSettings = {
161 | ALWAYS_SEARCH_USER_PATHS = NO;
162 | CLANG_ANALYZER_NONNULL = YES;
163 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
164 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++17";
165 | CLANG_CXX_LIBRARY = "libc++";
166 | CLANG_ENABLE_MODULES = YES;
167 | CLANG_ENABLE_OBJC_ARC = YES;
168 | CLANG_ENABLE_OBJC_WEAK = YES;
169 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
170 | CLANG_WARN_BOOL_CONVERSION = YES;
171 | CLANG_WARN_COMMA = YES;
172 | CLANG_WARN_CONSTANT_CONVERSION = YES;
173 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
174 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
175 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
176 | CLANG_WARN_EMPTY_BODY = YES;
177 | CLANG_WARN_ENUM_CONVERSION = YES;
178 | CLANG_WARN_INFINITE_RECURSION = YES;
179 | CLANG_WARN_INT_CONVERSION = YES;
180 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
181 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
182 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
183 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
184 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
185 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
186 | CLANG_WARN_STRICT_PROTOTYPES = YES;
187 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
188 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
189 | CLANG_WARN_UNREACHABLE_CODE = YES;
190 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
191 | COPY_PHASE_STRIP = NO;
192 | DEBUG_INFORMATION_FORMAT = dwarf;
193 | ENABLE_STRICT_OBJC_MSGSEND = YES;
194 | ENABLE_TESTABILITY = YES;
195 | GCC_C_LANGUAGE_STANDARD = gnu11;
196 | GCC_DYNAMIC_NO_PIC = NO;
197 | GCC_NO_COMMON_BLOCKS = YES;
198 | GCC_OPTIMIZATION_LEVEL = 0;
199 | GCC_PREPROCESSOR_DEFINITIONS = (
200 | "DEBUG=1",
201 | "$(inherited)",
202 | );
203 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
204 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
205 | GCC_WARN_UNDECLARED_SELECTOR = YES;
206 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
207 | GCC_WARN_UNUSED_FUNCTION = YES;
208 | GCC_WARN_UNUSED_VARIABLE = YES;
209 | MACOSX_DEPLOYMENT_TARGET = 12.0;
210 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
211 | MTL_FAST_MATH = YES;
212 | ONLY_ACTIVE_ARCH = YES;
213 | SDKROOT = macosx;
214 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
215 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
216 | };
217 | name = Debug;
218 | };
219 | 8DCF6C61275F9E4000604D71 /* Release */ = {
220 | isa = XCBuildConfiguration;
221 | buildSettings = {
222 | ALWAYS_SEARCH_USER_PATHS = NO;
223 | CLANG_ANALYZER_NONNULL = YES;
224 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
225 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++17";
226 | CLANG_CXX_LIBRARY = "libc++";
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 | GCC_C_LANGUAGE_STANDARD = gnu11;
257 | GCC_NO_COMMON_BLOCKS = YES;
258 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
259 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
260 | GCC_WARN_UNDECLARED_SELECTOR = YES;
261 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
262 | GCC_WARN_UNUSED_FUNCTION = YES;
263 | GCC_WARN_UNUSED_VARIABLE = YES;
264 | MACOSX_DEPLOYMENT_TARGET = 12.0;
265 | MTL_ENABLE_DEBUG_INFO = NO;
266 | MTL_FAST_MATH = YES;
267 | SDKROOT = macosx;
268 | SWIFT_COMPILATION_MODE = wholemodule;
269 | SWIFT_OPTIMIZATION_LEVEL = "-O";
270 | };
271 | name = Release;
272 | };
273 | 8DCF6C63275F9E4000604D71 /* Debug */ = {
274 | isa = XCBuildConfiguration;
275 | buildSettings = {
276 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
277 | ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
278 | CODE_SIGN_ENTITLEMENTS = PaintApp/PaintApp.entitlements;
279 | CODE_SIGN_STYLE = Automatic;
280 | COMBINE_HIDPI_IMAGES = YES;
281 | CURRENT_PROJECT_VERSION = 1;
282 | DEVELOPMENT_ASSET_PATHS = "\"PaintApp/Preview Content\"";
283 | DEVELOPMENT_TEAM = B2Q8EGNCQA;
284 | ENABLE_HARDENED_RUNTIME = YES;
285 | ENABLE_PREVIEWS = YES;
286 | GENERATE_INFOPLIST_FILE = YES;
287 | INFOPLIST_KEY_NSHumanReadableCopyright = "";
288 | LD_RUNPATH_SEARCH_PATHS = (
289 | "$(inherited)",
290 | "@executable_path/../Frameworks",
291 | );
292 | MARKETING_VERSION = 1.0;
293 | PRODUCT_BUNDLE_IDENTIFIER = com.azamsharp.PaintApp;
294 | PRODUCT_NAME = "$(TARGET_NAME)";
295 | SWIFT_EMIT_LOC_STRINGS = YES;
296 | SWIFT_VERSION = 5.0;
297 | };
298 | name = Debug;
299 | };
300 | 8DCF6C64275F9E4000604D71 /* Release */ = {
301 | isa = XCBuildConfiguration;
302 | buildSettings = {
303 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
304 | ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
305 | CODE_SIGN_ENTITLEMENTS = PaintApp/PaintApp.entitlements;
306 | CODE_SIGN_STYLE = Automatic;
307 | COMBINE_HIDPI_IMAGES = YES;
308 | CURRENT_PROJECT_VERSION = 1;
309 | DEVELOPMENT_ASSET_PATHS = "\"PaintApp/Preview Content\"";
310 | DEVELOPMENT_TEAM = B2Q8EGNCQA;
311 | ENABLE_HARDENED_RUNTIME = YES;
312 | ENABLE_PREVIEWS = YES;
313 | GENERATE_INFOPLIST_FILE = YES;
314 | INFOPLIST_KEY_NSHumanReadableCopyright = "";
315 | LD_RUNPATH_SEARCH_PATHS = (
316 | "$(inherited)",
317 | "@executable_path/../Frameworks",
318 | );
319 | MARKETING_VERSION = 1.0;
320 | PRODUCT_BUNDLE_IDENTIFIER = com.azamsharp.PaintApp;
321 | PRODUCT_NAME = "$(TARGET_NAME)";
322 | SWIFT_EMIT_LOC_STRINGS = YES;
323 | SWIFT_VERSION = 5.0;
324 | };
325 | name = Release;
326 | };
327 | /* End XCBuildConfiguration section */
328 |
329 | /* Begin XCConfigurationList section */
330 | 8DCF6C4E275F9E3F00604D71 /* Build configuration list for PBXProject "PaintApp" */ = {
331 | isa = XCConfigurationList;
332 | buildConfigurations = (
333 | 8DCF6C60275F9E4000604D71 /* Debug */,
334 | 8DCF6C61275F9E4000604D71 /* Release */,
335 | );
336 | defaultConfigurationIsVisible = 0;
337 | defaultConfigurationName = Release;
338 | };
339 | 8DCF6C62275F9E4000604D71 /* Build configuration list for PBXNativeTarget "PaintApp" */ = {
340 | isa = XCConfigurationList;
341 | buildConfigurations = (
342 | 8DCF6C63275F9E4000604D71 /* Debug */,
343 | 8DCF6C64275F9E4000604D71 /* Release */,
344 | );
345 | defaultConfigurationIsVisible = 0;
346 | defaultConfigurationName = Release;
347 | };
348 | /* End XCConfigurationList section */
349 | };
350 | rootObject = 8DCF6C4B275F9E3F00604D71 /* Project object */;
351 | }
352 |
--------------------------------------------------------------------------------