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 = (
"${PODS_ROOT}/Target Support Files/Pods-Compound Inspector/Pods-Compound Inspector-frameworks-${CONFIGURATION}-input-files.xcfilelist",
);
inputPaths = (
);
name = "[CP] Embed Pods Frameworks";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Compound Inspector/Pods-Compound Inspector-frameworks-${CONFIGURATION}-output-files.xcfilelist",
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
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_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
IPHONEOS_DEPLOYMENT_TARGET = 17.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
@@ -485,6 +490,7 @@
INFOPLIST_KEY_UILaunchScreen_Generation = YES;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
IPHONEOS_DEPLOYMENT_TARGET = 17.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
@@ -5,9 +5,9 @@
// Please see LICENSE files in the repository root for full details.
//
import SwiftUI
import Compound
import HyperionCore
import SwiftUI
struct ListScreen: View {
var body: some View {
@@ -5,8 +5,8 @@
// Please see LICENSE files in the repository root for full details.
//
import SwiftUI
import DesignKit
import SwiftUI
struct TextFieldsScreen: View {
var body: some View {
@@ -5,9 +5,9 @@
// Please see LICENSE files in the repository root for full details.
//
import SwiftUI
import Compound
import HyperionCore
import SwiftUI
@main
struct CompoundInspectorApp: App {
@@ -5,8 +5,8 @@
// Please see LICENSE files in the repository root for full details.
//
import SwiftUI
import Compound
import SwiftUI
struct ActionSheetScreen: View {
@State private var isPresentingConfirmationDialog = true
@@ -5,8 +5,8 @@
// Please see LICENSE files in the repository root for full details.
//
import SwiftUI
import Compound
import SwiftUI
struct AlertScreen: View {
@State private var isPresentingActionAlert = false
@@ -5,8 +5,8 @@
// Please see LICENSE files in the repository root for full details.
//
import SwiftUI
import Compound
import SwiftUI
struct ContextMenuScreen: View {
var body: some View {
@@ -5,8 +5,8 @@
// Please see LICENSE files in the repository root for full details.
//
import SwiftUI
import Compound
import SwiftUI
struct NavigationBarScreen: View {
enum TitleMode {
@@ -5,8 +5,8 @@
// Please see LICENSE files in the repository root for full details.
//
import SwiftUI
import Compound
import SwiftUI
struct ShareSheetScreen: View {
var body: some View {
@@ -61,6 +61,6 @@ extension CompoundIcons {
}
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.
//
import SwiftUI
import Compound
import SwiftUI
struct ColorsScreen: View {
var body: some View {
@@ -71,7 +71,7 @@ private extension Color {
private extension CGFloat {
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.
//
import SwiftUI
import Compound
import SwiftUI
struct FontsScreen: View {
var body: some View {
@@ -5,8 +5,8 @@
// Please see LICENSE files in the repository root for full details.
//
import SwiftUI
import Compound
import SwiftUI
struct GradientsScreen: View {
var body: some View {
@@ -5,8 +5,8 @@
// Please see LICENSE files in the repository root for full details.
//
import SwiftUI
import Compound
import SwiftUI
struct IconsScreen: View {
let icons = Image.compound.allValues.sorted(by: { $0.name < $1.name })