[ad_1]
Use if let to parse the optional value:
if let value = result {
print(value)
}
2
[ad_2]
solved How can I get the string value in Optional() in swift, which is followed by nil? [duplicate]
[ad_1]
Use if let to parse the optional value:
if let value = result {
print(value)
}
2
[ad_2]
solved How can I get the string value in Optional() in swift, which is followed by nil? [duplicate]