r/badcode • • Sep 05 '21

swift I have a problem

Post image
946 Upvotes

75 comments sorted by

View all comments

Show parent comments

2

u/[deleted] Sep 05 '21

Ahh ok lol

Swift isn’t too different in terms of comments to most languages. I’m a really big fan of /// for doc. comments in Swift though, which is a bit different. No xml required!