`label.text` is of type `String?`, so the right hand side of assignment needs to be a `String` or `String?` In this line of your code: label.text = Double(number) * Double(tax) You need to learn Swift basics before writing actual code. ![]() It is not a problem of Xcode IDE, so you have posted this in a wrong topic area.Īnyway, Swift is a strongly typed language and Optional is the very basic part of Swift.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |