Xcode – Using print() from static function in Swift
I need to use print() within a static function in Swift. The function needs to be called using an observer pattern as seen below: import Foundation @NSApplicationMain class Application: NSObject, NSApplicationDelegate { static var commandArgsObserver: NSKeyValueObservation? override init() { Application.setObserver()…