Categories
|
Test: Swift - Comments and Header Docs 2. Which of the following are true for writing structured comments in Swift (those that can be used to generate documentation)?
Results Congratulations! Correct Answer. You Answered: None. If you took the test, your answer will show up here. Correct Answer: Precede them with ///; Embed them in /** and */; Explanation In order to generate Quick Help within Xcode and Playgrounds and generate documentation with other programs, single line structured comments are preceded by /// and multi-line comments are inside /** and */Take the Test Take the complete test on this topic. You will be able to review answers to questions and get a test score.
Take the Test
Question 2 of 5
Test is Based on this Article
This article discusses code commenting for various purposes, including generating documentation.
|
Test on comments, structured comments, and markup in Swift
|
|
More Articles With Similar Tags
|
Test on comments, structured comments, and markup in Swift
|
This article discusses the boolean types in Swift and contrasts with how these types are used in C and Objective-C.
|
Test on Boolean Types in Swift.
|
This article talks about unwrapping the optionals in Swift implicitly and the circumstances where you would use this functionality.
|
This article discusses the safer ways of unwrapping an optional in Swift that includes Optional Binding.
|
|
|
|
|