DAY #27

Xcode documentation is really fun! You can tag functions with comments, which are then presented nicely when you OPT+Click the function in context. Here is an example on a data structure. There are tons of tags you can use, see more at https://nshipster.com/swift-documentation/

Code example

Xcode example

Other tips:

Pressing CMD+OPT+"/" will auto generate a skeleton.

Josh Jaslow

Originally published 09/12/2021 @ https://pittcsc.org/ Discord

Published here on 09/09/2022. Blog published date reflects the original date of publication.