Balisage de la documentation Swift

★ 4.2 moy. 25 votes

About this book

No matter how clear and well written, naked code is never quite self-documenting. There is always a role for comments, whether the in-line narration of key design points or the formal annotation of public declarations. Nearly every modern language, including Swift, offers some kind of structured comment system that documents APIs for developers that consume them. The Swift structured documentation uses a mix of custom keywords and Markdown syntax to create a simple, easy-to-apply annotation tool. By leveraging this industry-standard tech, Apple opens up its structured documentation system to an entirely new generation with an absolute minimum of training needed to get up to speed. This short book introduces Swift's documentation markup system using simple, illustrated examples, with plenty of discussion of best practices. You'll discover the components that make up Swift's structured comment system and learn how to best integrate them into your own code. For the most part, I've built this material out of examples from Swift's standard library, from release notes, and by reverse-engineering extensible style-sheet specifications. While I've tried to include a thorough list of legal tokens, I've focused on supplementing core details with a thoughtful discussion of best practices that will stand the test of time as Apple updates this system. I hope you find this book to be a useful and worthy addition to your development library. I've had a great time writing it. Hopefully you'll have a great time reading it. Thank you for purchasing a copy! -- Erica Sadun What people are saying: "I wish every line of #swiftlang I read in the future will be written by someone who reads the awesome [book] by @ericasadun" -- Mark Engle, @_markengle "Just bought @ericasadun's #swiftlang Docs Markup Book. It's great for Swift devs" -- @Kametrixom "Erica Sadun's new book, Swift Documentation Markup, an Illustrated Tour, not only explains the importance of documentation, it also comprehe

4.2 ★★★★☆ moyenne de 1 sources · 25 votes

Quel est le genre de Swift Documentation Markup ?

Il se trouve dans les rayons Science.

Qui a écrit Swift Documentation Markup ?

Erica Sadun.