Sure:
if let driverId = defaults.string(forKey: "driverId") {
// use driverId
}
solved swift syntax, check for nil before unwrapping [duplicate]
Sure:
if let driverId = defaults.string(forKey: "driverId") {
// use driverId
}
solved swift syntax, check for nil before unwrapping [duplicate]