Post

Replies

Boosts

Views

Activity

Binary operator '==' cannot be applied to operands of type 'Int' and 'Bool'
Greetings. I am learning to program in Swift, working through the Develop in Swift Fundamentals Getting Started with App Development electronic book. Within the Lab — Control Flow.playground 5. App Exercise — Target Heart Rate, I am presented with two identical errors. I do not understand why the errors are being generated. Any explanatory response would be appreciated. See attached screenshot.
1
0
1.3k
Mar ’22