Question: do the 'private let readMe=""" ... """ ' blocks get bundled with an app? #1569
-
Hi all, Quick question on some iOS/Swift fundamentals related to something in this repo: Would the I really like how clear the developer experience is of reading these blocks, and I've been using them to include links to API references, Apple documentation, etc.—but I'm wondering if I need to write a cleanup script before archiving for a build. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @andwrobs. It this case, they are bundled because they are referenced/used in the If you want to add API reference, documentation and links, the best solution is probably to harness DocC annotations though. It was made exactly for this purpose. |
Beta Was this translation helpful? Give feedback.
Hey @andwrobs. It this case, they are bundled because they are referenced/used in the
View
itself to create theAboutView
.If it wasn't the case, they would likely be pruned by Swift during the optimization phase.
If you want to add API reference, documentation and links, the best solution is probably to harness DocC annotations though. It was made exactly for this purpose.