init(DelegateType .Type)
Creates an AppKit app delegate adaptor using a delegate that’s an observable object.
Available when
DelegateType
inherits NSObject
, DelegateType
conforms to NSApplicationDelegate
, and DelegateType
conforms to ObservableObject
.