Hello!
I will show what is going on here with a very simple example:
var str: String
str = "Test"
func test(param: String) {
print(param)
}
What is happening is:
running this in my computer it shows: Test
running in another Mac it shows: Optional("Test")
This is a simple code, but because of that "optional" the real code will give an error because of "Invalid character"
I tried wrap with String() String(describing: ) and I can't fix that. Any help on this?
Thanks
12
0
1.4k