Documentation Archive Developer
Search

ServiceManagement Changes for Swift

ServiceManagement

Declaration
From
func SMJobBless(_ domain: CFString!, _ executableLabel: CFString, _ auth: AuthorizationRef, _ outError: UnsafeMutablePointer<Unmanaged<CFError>?>) -> Boolean
To
func SMJobBless(_ domain: CFString!, _ executableLabel: CFString, _ auth: AuthorizationRef, _ outError: UnsafeMutablePointer<Unmanaged<CFError>?>) -> UInt8

Declaration
From
func SMJobRemove(_ domain: CFString!, _ jobLabel: CFString, _ auth: AuthorizationRef, _ wait: Boolean, _ outError: UnsafeMutablePointer<Unmanaged<CFError>?>) -> Boolean
To
func SMJobRemove(_ domain: CFString!, _ jobLabel: CFString, _ auth: AuthorizationRef, _ wait: UInt8, _ outError: UnsafeMutablePointer<Unmanaged<CFError>?>) -> UInt8

Declaration
From
func SMJobSubmit(_ domain: CFString!, _ job: CFDictionary, _ auth: AuthorizationRef, _ outError: UnsafeMutablePointer<Unmanaged<CFError>?>) -> Boolean
To
func SMJobSubmit(_ domain: CFString!, _ job: CFDictionary, _ auth: AuthorizationRef, _ outError: UnsafeMutablePointer<Unmanaged<CFError>?>) -> UInt8

Declaration
From
func SMLoginItemSetEnabled(_ identifier: CFString, _ enabled: Boolean) -> Boolean
To
func SMLoginItemSetEnabled(_ identifier: CFString, _ enabled: UInt8) -> UInt8