Skip to content

Question: do the 'private let readMe=""" ... """ ' blocks get bundled with an app? #1569

Answered by tgrapperon
andwrobs asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @andwrobs. It this case, they are bundled because they are referenced/used in the View itself to create the AboutView.
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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@andwrobs
Comment options

Answer selected by andwrobs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants