Swift Snippets

Absolutely, this is actually near or at the top of the list for next steps. For sure we will want to be able to directly pick out specific snippets. It will likely be something like the relative path from the snippets directory including the filename (with or without extension), within the “namespace” of the package.

Also considering using an informal naming scheme to order snippets and groups using filenames without the need for explicit curation in an external source. But DocC will still need a way to curate or inline via links as needed. Stay tuned for that.

4 Likes