You can check all my post playground here.
Check my medium article here Codable enuams at Medium.com
Simple project presenting how to run the CBCentralManager on the MacOS Playground. Display found peripherals in the NSTableView.
Check my article here: Swift playground: Bluetooth Low Energy