// not treated as comment line

I am trying to turn some MapKit pins different colors, so I am playing with modifying BusinessMap from M6L12. Using the following code, I am wondering why Xcode is analyzing the instructions after //, I thought they would be treated as comments.
Thanks

I suspect that the compiler has gotten confused. Try cleaning your build folder - Shift + Command + K.

If that does not work then restart Xcode.

Shift + Command + K.
Cleared the error message Thanks