Can Markup documentation be added to Swift modules?

Xcode allows you to display Swift / Obj-C markup documentation in an editor, for example:

/// A function
func foo() {}

leads to documentation

I noticed that Apple-supplied frameworks have module-level documentation. For example. Fund: documentation Is there a way to add this documentation at the module level to user frameworks?

+6
source share

Source: https://habr.com/ru/post/1016802/


All Articles