Releases: Mx-Iris/SystemSettingsNavigator
Releases · Mx-Iris/SystemSettingsNavigator
v1.1
New version adds convenient access to SwiftUI and includes entry points for all extension settings modules.
struct ContentView: View {
    
    @Environment(\.openSystemSettings)
    private var openSystemSettings
    
    var body: some View {
        VStack {
            Button {
                openSystemSettings(.accessibility(.audio))
            } label: {
                Text("Open System Settings")
            }
        }
        .padding()
    }
}public enum ExtensionSettingsTab {
    case primary
    // System(OS) Extensions
    case camera
    case driver
    case network
    case endpointSecurity
    // FSKit(FS) Extensions
    case fileSystem
    // App(NS) Extensions
    case action
    case fileProviders
    case finder
    case touchBar
    case photoProjects
    case photosEditing
    case quickLook
    case sharing
    case spotlight
    case spotlightImporters
    case xcodeSourceEditor
    // Legacy Plugins
    // These extension points are standins for non AppExtension plugins that need to show in Settings
    case inputMethods
    case colorPanels
    case dockTiles
    case smartCardReaders
 ///...
}v1.0
What's changed
Deprecated SystemSettingsNavigator.navigate(to:) throws method
The new open method (no try throws):
AppKit
NSWorkspace.openSystemSettings(_:)
UIKit
UIApplication.openSystemSettings(_:completion:)
New
AccessibilitySettingsTab add hoverText, vocalShortcuts for macOS Sequoia