iOS 12 and Swift