Fix Compound Inspector and run SwiftFormat.

This commit is contained in:
Doug
2025-09-28 15:39:20 +01:00
committed by Doug
parent c6b6c13533
commit e881ce56a8
14 changed files with 33 additions and 27 deletions
@@ -256,10 +256,14 @@
inputFileListPaths = ( inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Compound Inspector/Pods-Compound Inspector-frameworks-${CONFIGURATION}-input-files.xcfilelist", "${PODS_ROOT}/Target Support Files/Pods-Compound Inspector/Pods-Compound Inspector-frameworks-${CONFIGURATION}-input-files.xcfilelist",
); );
inputPaths = (
);
name = "[CP] Embed Pods Frameworks"; name = "[CP] Embed Pods Frameworks";
outputFileListPaths = ( outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Compound Inspector/Pods-Compound Inspector-frameworks-${CONFIGURATION}-output-files.xcfilelist", "${PODS_ROOT}/Target Support Files/Pods-Compound Inspector/Pods-Compound Inspector-frameworks-${CONFIGURATION}-output-files.xcfilelist",
); );
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh; shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Compound Inspector/Pods-Compound Inspector-frameworks.sh\"\n"; shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Compound Inspector/Pods-Compound Inspector-frameworks.sh\"\n";
@@ -450,6 +454,7 @@
INFOPLIST_KEY_UILaunchScreen_Generation = YES; INFOPLIST_KEY_UILaunchScreen_Generation = YES;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
IPHONEOS_DEPLOYMENT_TARGET = 17.0;
LD_RUNPATH_SEARCH_PATHS = ( LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)", "$(inherited)",
"@executable_path/Frameworks", "@executable_path/Frameworks",
@@ -485,6 +490,7 @@
INFOPLIST_KEY_UILaunchScreen_Generation = YES; INFOPLIST_KEY_UILaunchScreen_Generation = YES;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
IPHONEOS_DEPLOYMENT_TARGET = 17.0;
LD_RUNPATH_SEARCH_PATHS = ( LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)", "$(inherited)",
"@executable_path/Frameworks", "@executable_path/Frameworks",
@@ -5,9 +5,9 @@
// Please see LICENSE files in the repository root for full details. // Please see LICENSE files in the repository root for full details.
// //
import SwiftUI
import Compound import Compound
import HyperionCore import HyperionCore
import SwiftUI
struct ListScreen: View { struct ListScreen: View {
var body: some View { var body: some View {
@@ -5,8 +5,8 @@
// Please see LICENSE files in the repository root for full details. // Please see LICENSE files in the repository root for full details.
// //
import SwiftUI
import DesignKit import DesignKit
import SwiftUI
struct TextFieldsScreen: View { struct TextFieldsScreen: View {
var body: some View { var body: some View {
@@ -5,9 +5,9 @@
// Please see LICENSE files in the repository root for full details. // Please see LICENSE files in the repository root for full details.
// //
import SwiftUI
import Compound import Compound
import HyperionCore import HyperionCore
import SwiftUI
@main @main
struct CompoundInspectorApp: App { struct CompoundInspectorApp: App {
@@ -5,8 +5,8 @@
// Please see LICENSE files in the repository root for full details. // Please see LICENSE files in the repository root for full details.
// //
import SwiftUI
import Compound import Compound
import SwiftUI
struct ActionSheetScreen: View { struct ActionSheetScreen: View {
@State private var isPresentingConfirmationDialog = true @State private var isPresentingConfirmationDialog = true
@@ -5,8 +5,8 @@
// Please see LICENSE files in the repository root for full details. // Please see LICENSE files in the repository root for full details.
// //
import SwiftUI
import Compound import Compound
import SwiftUI
struct AlertScreen: View { struct AlertScreen: View {
@State private var isPresentingActionAlert = false @State private var isPresentingActionAlert = false
@@ -5,8 +5,8 @@
// Please see LICENSE files in the repository root for full details. // Please see LICENSE files in the repository root for full details.
// //
import SwiftUI
import Compound import Compound
import SwiftUI
struct ContextMenuScreen: View { struct ContextMenuScreen: View {
var body: some View { var body: some View {
@@ -5,8 +5,8 @@
// Please see LICENSE files in the repository root for full details. // Please see LICENSE files in the repository root for full details.
// //
import SwiftUI
import Compound import Compound
import SwiftUI
struct NavigationBarScreen: View { struct NavigationBarScreen: View {
enum TitleMode { enum TitleMode {
@@ -5,8 +5,8 @@
// Please see LICENSE files in the repository root for full details. // Please see LICENSE files in the repository root for full details.
// //
import SwiftUI
import Compound import Compound
import SwiftUI
struct ShareSheetScreen: View { struct ShareSheetScreen: View {
var body: some View { var body: some View {
@@ -61,6 +61,6 @@ extension CompoundIcons {
} }
private subscript(checkedMirrorDescendant key: String) -> Any { private subscript(checkedMirrorDescendant key: String) -> Any {
return Mirror(reflecting: self).descendant(key)! Mirror(reflecting: self).descendant(key)!
} }
} }
@@ -5,8 +5,8 @@
// Please see LICENSE files in the repository root for full details. // Please see LICENSE files in the repository root for full details.
// //
import SwiftUI
import Compound import Compound
import SwiftUI
struct ColorsScreen: View { struct ColorsScreen: View {
var body: some View { var body: some View {
@@ -71,7 +71,7 @@ private extension Color {
private extension CGFloat { private extension CGFloat {
var asHex: String { var asHex: String {
String(format:"%02X", Int((self * 255).rounded())) String(format: "%02X", Int((self * 255).rounded()))
} }
} }
@@ -5,8 +5,8 @@
// Please see LICENSE files in the repository root for full details. // Please see LICENSE files in the repository root for full details.
// //
import SwiftUI
import Compound import Compound
import SwiftUI
struct FontsScreen: View { struct FontsScreen: View {
var body: some View { var body: some View {
@@ -5,8 +5,8 @@
// Please see LICENSE files in the repository root for full details. // Please see LICENSE files in the repository root for full details.
// //
import SwiftUI
import Compound import Compound
import SwiftUI
struct GradientsScreen: View { struct GradientsScreen: View {
var body: some View { var body: some View {
@@ -5,8 +5,8 @@
// Please see LICENSE files in the repository root for full details. // Please see LICENSE files in the repository root for full details.
// //
import SwiftUI
import Compound import Compound
import SwiftUI
struct IconsScreen: View { struct IconsScreen: View {
let icons = Image.compound.allValues.sorted(by: { $0.name < $1.name }) let icons = Image.compound.allValues.sorted(by: { $0.name < $1.name })