Skip to content

Commit 8076bd0

Browse files
committed
Rename demo app, flatten directory structure
1 parent 0fa21a9 commit 8076bd0

File tree

11 files changed

+22
-50
lines changed

11 files changed

+22
-50
lines changed

DemoApp/LayoutInspector/App.swift DemoApp/App.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import SwiftUI
22

33
@main
4-
struct LayoutInspectorApp: App {
4+
struct LayoutInspectorDemoApp: App {
55
var body: some Scene {
66
WindowGroup {
77
ContentView()
File renamed without changes.

DemoApp/LayoutInspector/Preview Content/Preview Assets.xcassets/Contents.json

-6
This file was deleted.

DemoApp/LayoutInspector.xcodeproj/project.pbxproj DemoApp/LayoutInspectorDemo.xcodeproj/project.pbxproj

+20-42
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,15 @@
1010
5D2245F028D8FDB400E84C7D /* App.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5D2245EF28D8FDB400E84C7D /* App.swift */; };
1111
5D2245F228D8FDB400E84C7D /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5D2245F128D8FDB400E84C7D /* ContentView.swift */; };
1212
5D2245F428D8FDB500E84C7D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 5D2245F328D8FDB500E84C7D /* Assets.xcassets */; };
13-
5D2245F828D8FDB500E84C7D /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 5D2245F728D8FDB500E84C7D /* Preview Assets.xcassets */; };
1413
5D5B04922921290F00758B21 /* DebugLayout in Frameworks */ = {isa = PBXBuildFile; productRef = 5D5B04912921290F00758B21 /* DebugLayout */; };
1514
/* End PBXBuildFile section */
1615

1716
/* Begin PBXFileReference section */
18-
5D2245EC28D8FDB400E84C7D /* LayoutInspector.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = LayoutInspector.app; sourceTree = BUILT_PRODUCTS_DIR; };
17+
5D2245EC28D8FDB400E84C7D /* LayoutInspectorDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = LayoutInspectorDemo.app; sourceTree = BUILT_PRODUCTS_DIR; };
1918
5D2245EF28D8FDB400E84C7D /* App.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = App.swift; sourceTree = "<group>"; };
2019
5D2245F128D8FDB400E84C7D /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
2120
5D2245F328D8FDB500E84C7D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
22-
5D2245F528D8FDB500E84C7D /* LayoutInspector.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = LayoutInspector.entitlements; sourceTree = "<group>"; };
23-
5D2245F728D8FDB500E84C7D /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = "<group>"; };
21+
5D2245F528D8FDB500E84C7D /* Entitlements.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Entitlements.entitlements; sourceTree = "<group>"; };
2422
5D5B048F2921290A00758B21 /* SwiftUI-LayoutInspector */ = {isa = PBXFileReference; lastKnownFileType = wrapper; name = "SwiftUI-LayoutInspector"; path = ..; sourceTree = "<group>"; };
2523
5DB6BE4F28DE4D4E00280F5E /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };
2624
/* End PBXFileReference section */
@@ -40,9 +38,12 @@
4038
5D2245E328D8FDB400E84C7D = {
4139
isa = PBXGroup;
4240
children = (
43-
5DB6BE4F28DE4D4E00280F5E /* README.md */,
44-
5D2245EE28D8FDB400E84C7D /* LayoutInspector */,
4541
5D5B048F2921290A00758B21 /* SwiftUI-LayoutInspector */,
42+
5DB6BE4F28DE4D4E00280F5E /* README.md */,
43+
5D2245EF28D8FDB400E84C7D /* App.swift */,
44+
5D2245F128D8FDB400E84C7D /* ContentView.swift */,
45+
5D2245F328D8FDB500E84C7D /* Assets.xcassets */,
46+
5D2245F528D8FDB500E84C7D /* Entitlements.entitlements */,
4647
5D2245ED28D8FDB400E84C7D /* Products */,
4748
);
4849
indentWidth = 4;
@@ -52,37 +53,17 @@
5253
5D2245ED28D8FDB400E84C7D /* Products */ = {
5354
isa = PBXGroup;
5455
children = (
55-
5D2245EC28D8FDB400E84C7D /* LayoutInspector.app */,
56+
5D2245EC28D8FDB400E84C7D /* LayoutInspectorDemo.app */,
5657
);
5758
name = Products;
5859
sourceTree = "<group>";
5960
};
60-
5D2245EE28D8FDB400E84C7D /* LayoutInspector */ = {
61-
isa = PBXGroup;
62-
children = (
63-
5D2245EF28D8FDB400E84C7D /* App.swift */,
64-
5D2245F128D8FDB400E84C7D /* ContentView.swift */,
65-
5D2245F328D8FDB500E84C7D /* Assets.xcassets */,
66-
5D2245F528D8FDB500E84C7D /* LayoutInspector.entitlements */,
67-
5D2245F628D8FDB500E84C7D /* Preview Content */,
68-
);
69-
path = LayoutInspector;
70-
sourceTree = "<group>";
71-
};
72-
5D2245F628D8FDB500E84C7D /* Preview Content */ = {
73-
isa = PBXGroup;
74-
children = (
75-
5D2245F728D8FDB500E84C7D /* Preview Assets.xcassets */,
76-
);
77-
path = "Preview Content";
78-
sourceTree = "<group>";
79-
};
8061
/* End PBXGroup section */
8162

8263
/* Begin PBXNativeTarget section */
83-
5D2245EB28D8FDB400E84C7D /* LayoutInspector */ = {
64+
5D2245EB28D8FDB400E84C7D /* LayoutInspectorDemo */ = {
8465
isa = PBXNativeTarget;
85-
buildConfigurationList = 5D2245FB28D8FDB500E84C7D /* Build configuration list for PBXNativeTarget "LayoutInspector" */;
66+
buildConfigurationList = 5D2245FB28D8FDB500E84C7D /* Build configuration list for PBXNativeTarget "LayoutInspectorDemo" */;
8667
buildPhases = (
8768
5D2245E828D8FDB400E84C7D /* Sources */,
8869
5D2245E928D8FDB400E84C7D /* Frameworks */,
@@ -92,12 +73,12 @@
9273
);
9374
dependencies = (
9475
);
95-
name = LayoutInspector;
76+
name = LayoutInspectorDemo;
9677
packageProductDependencies = (
9778
5D5B04912921290F00758B21 /* DebugLayout */,
9879
);
9980
productName = LayoutInspector;
100-
productReference = 5D2245EC28D8FDB400E84C7D /* LayoutInspector.app */;
81+
productReference = 5D2245EC28D8FDB400E84C7D /* LayoutInspectorDemo.app */;
10182
productType = "com.apple.product-type.application";
10283
};
10384
/* End PBXNativeTarget section */
@@ -115,7 +96,7 @@
11596
};
11697
};
11798
};
118-
buildConfigurationList = 5D2245E728D8FDB400E84C7D /* Build configuration list for PBXProject "LayoutInspector" */;
99+
buildConfigurationList = 5D2245E728D8FDB400E84C7D /* Build configuration list for PBXProject "LayoutInspectorDemo" */;
119100
compatibilityVersion = "Xcode 14.0";
120101
developmentRegion = en;
121102
hasScannedForEncodings = 0;
@@ -128,7 +109,7 @@
128109
projectDirPath = "";
129110
projectRoot = "";
130111
targets = (
131-
5D2245EB28D8FDB400E84C7D /* LayoutInspector */,
112+
5D2245EB28D8FDB400E84C7D /* LayoutInspectorDemo */,
132113
);
133114
};
134115
/* End PBXProject section */
@@ -138,7 +119,6 @@
138119
isa = PBXResourcesBuildPhase;
139120
buildActionMask = 2147483647;
140121
files = (
141-
5D2245F828D8FDB500E84C7D /* Preview Assets.xcassets in Resources */,
142122
5D2245F428D8FDB500E84C7D /* Assets.xcassets in Resources */,
143123
);
144124
runOnlyForDeploymentPostprocessing = 0;
@@ -274,11 +254,10 @@
274254
buildSettings = {
275255
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
276256
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
277-
CODE_SIGN_ENTITLEMENTS = LayoutInspector/LayoutInspector.entitlements;
257+
CODE_SIGN_ENTITLEMENTS = Entitlements.entitlements;
278258
CODE_SIGN_STYLE = Automatic;
279259
CURRENT_PROJECT_VERSION = 1;
280260
DEAD_CODE_STRIPPING = YES;
281-
DEVELOPMENT_ASSET_PATHS = "\"LayoutInspector/Preview Content\"";
282261
DEVELOPMENT_TEAM = "";
283262
ENABLE_HARDENED_RUNTIME = YES;
284263
ENABLE_PREVIEWS = YES;
@@ -298,7 +277,7 @@
298277
"LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks";
299278
MACOSX_DEPLOYMENT_TARGET = 13.0;
300279
MARKETING_VERSION = 1.0;
301-
PRODUCT_BUNDLE_IDENTIFIER = net.oleb.LayoutInspector;
280+
PRODUCT_BUNDLE_IDENTIFIER = net.oleb.LayoutInspectorDemo;
302281
PRODUCT_NAME = "$(TARGET_NAME)";
303282
SDKROOT = auto;
304283
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx";
@@ -313,11 +292,10 @@
313292
buildSettings = {
314293
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
315294
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
316-
CODE_SIGN_ENTITLEMENTS = LayoutInspector/LayoutInspector.entitlements;
295+
CODE_SIGN_ENTITLEMENTS = Entitlements.entitlements;
317296
CODE_SIGN_STYLE = Automatic;
318297
CURRENT_PROJECT_VERSION = 1;
319298
DEAD_CODE_STRIPPING = YES;
320-
DEVELOPMENT_ASSET_PATHS = "\"LayoutInspector/Preview Content\"";
321299
DEVELOPMENT_TEAM = "";
322300
ENABLE_HARDENED_RUNTIME = YES;
323301
ENABLE_PREVIEWS = YES;
@@ -337,7 +315,7 @@
337315
"LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks";
338316
MACOSX_DEPLOYMENT_TARGET = 13.0;
339317
MARKETING_VERSION = 1.0;
340-
PRODUCT_BUNDLE_IDENTIFIER = net.oleb.LayoutInspector;
318+
PRODUCT_BUNDLE_IDENTIFIER = net.oleb.LayoutInspectorDemo;
341319
PRODUCT_NAME = "$(TARGET_NAME)";
342320
SDKROOT = auto;
343321
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx";
@@ -350,7 +328,7 @@
350328
/* End XCBuildConfiguration section */
351329

352330
/* Begin XCConfigurationList section */
353-
5D2245E728D8FDB400E84C7D /* Build configuration list for PBXProject "LayoutInspector" */ = {
331+
5D2245E728D8FDB400E84C7D /* Build configuration list for PBXProject "LayoutInspectorDemo" */ = {
354332
isa = XCConfigurationList;
355333
buildConfigurations = (
356334
5D2245F928D8FDB500E84C7D /* Debug */,
@@ -359,7 +337,7 @@
359337
defaultConfigurationIsVisible = 0;
360338
defaultConfigurationName = Release;
361339
};
362-
5D2245FB28D8FDB500E84C7D /* Build configuration list for PBXNativeTarget "LayoutInspector" */ = {
340+
5D2245FB28D8FDB500E84C7D /* Build configuration list for PBXNativeTarget "LayoutInspectorDemo" */ = {
363341
isa = XCConfigurationList;
364342
buildConfigurations = (
365343
5D2245FC28D8FDB500E84C7D /* Debug */,

LayoutInspector.xcworkspace/contents.xcworkspacedata

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)