Swift Documentation Markup Swift Documentation Markup
Swift. Slowly.

Swift Documentation Markup

An Illustrated Tour

    • ¥850
    • ¥850

発行者による作品情報

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 comprehensively details the breadth of Xcode’s markup support...Until I read the book, I had no real idea of just how powerful this support was. In a series of clearly written sections, Erica explains how to implement features such as text formatting, category keywords and even embedded images with real world demonstrations, examples of how Apple use them and recommendations on whether they should actually be used.


The ability to add rich content to documentation means that creating code comments now feels more of a creative process and there’s a certain satisfaction to option-clicking your carefully crafted function to see a beautifully formatted comment appear. This in itself is a incentive to start documenting properly...So, thanks to Erica, expect to see a massive improvement in my own code documentation from now on." -- Simon Gladman, @FlexMonkey


"instapurchase!"  -- James O'Leary, @jpohh


"Cool book on Xcode quick help comments by @ericasadun...Oh, and did I mention the book's cover is gorgeous?" -- @blessing_Lopes


"Every dev should have this!!!" -- Vic Hudson, @vichudson1


"Thanks for this!" -- Nick Kohrn, @bnkohrn

  • ジャンル
    コンピュータ/インターネット
    発売日
    2015年
    10月15日
    言語
    EN
    英語
    ページ数
    96
    ページ
    発行者
    Erica Sadun
    販売元
    Erica Sadun
    サイズ
    5.4
    MB
    Swift For Dummies Swift For Dummies
    2015年
    Coding All-in-One For Dummies Coding All-in-One For Dummies
    2022年
    Objective-C Programming For Dummies Objective-C Programming For Dummies
    2012年
    C# 2010 All-in-One For Dummies C# 2010 All-in-One For Dummies
    2010年
    Web Development with the Mac Web Development with the Mac
    2010年
    Introduction to Programming with Xojo Introduction to Programming with Xojo
    2020年
    Playground Secrets and Power Tips Playground Secrets and Power Tips
    2015年
    Swift From Two to Three Swift From Two to Three
    2016年
    Paradox Paradox
    2015年
    Numerical Brain Teasers Numerical Brain Teasers
    2022年
    Swift Style Swift Style
    2017年
    Develop in Swift AP CS Principles Develop in Swift AP CS Principles
    2021年
    Develop in Swift Explorations Develop in Swift Explorations
    2021年
    Develop in Swift Explorations Develop in Swift Explorations
    2020年
    Develop in Swift Fundamentals Develop in Swift Fundamentals
    2021年
    Develop in Swift Fundamentals Develop in Swift Fundamentals
    2021年
    Develop in Swift Fundamentals Develop in Swift Fundamentals
    2020年
    Playground Secrets and Power Tips Playground Secrets and Power Tips
    2015年
    Swift From Two to Three Swift From Two to Three
    2016年