SwiftstructUserNotificationsKit
struct UserNotificationsKit.SourceList
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwiftUI.View
Members 6
- field
var _iconCache: SwiftUI.StateObject<UserNotificationsKit.NotificationSourceIconCache> - field
var _viewModel: SwiftUI.State<UserNotificationsKit.ToggleListViewModel> - field
let footerText: String? - field
let headerText: String? - field
let supportsGranularSyncing: Bool - typealias
typealias Body = SwiftUI.Section<Swift.Optional<SwiftUI.Text>, SwiftUI.ModifiedContent<SwiftUI.ForEach<Swift.Array<__C.UNNotificationSource>, Swift.String, SwiftUI._ConditionalContent<UserNotificationsKit.SourceList.NotificationSourceIconToggle, UserNotificationsKit.SourceList.NotificationSourceIconLabel>>, SwiftUI._EnvironmentKeyWritingModifier<Swift.Optional<UserNotificationsKit.NotificationSourceIconCache>>>, Swift.Optional<SwiftUI.Text>>
Header
struct SourceList { struct NotificationSourceIconLabel { let source: __C.UNNotificationSource let isEnabled: Swift.Bool var _iconCache: SwiftUI.EnvironmentObject<UserNotificationsKit.NotificationSourceIconCache> } struct NotificationSourceIconToggle { let source: __C.UNNotificationSource let isEnabled: Swift.Bool let onEnablementChange: (_: Swift.Bool) -> () var _iconCache: SwiftUI.EnvironmentObject<UserNotificationsKit.NotificationSourceIconCache> } var _viewModel: SwiftUI.State<UserNotificationsKit.ToggleListViewModel> var _iconCache: SwiftUI.StateObject<UserNotificationsKit.NotificationSourceIconCache> let headerText: Swift.String? let footerText: Swift.String? let supportsGranularSyncing: Swift.Bool }