Answers

Question and Answer:

  Home  Swift Developer

⟩ Do you know how Multiple Line Comment Can Be Written In Swift?

The Nested multiline comments enable you to comment out large blocks of code quickly and easily.

Use an opening (/*: ) and closing ( */) comment and it looks like -

/*:

The above forward slash (/) and an asterisk (*) then a colon (:) is opening comment - (/*:)

The below an asterisk (*) and forward slash is closing comment – (*))

*/

 213 views

More Questions for you: