Skip to content
This repository has been archived by the owner on Oct 17, 2021. It is now read-only.

Callout_Delimiter

mattt edited this page Jun 10, 2021 · 5 revisions

Callout.Delimiter

A label that marks the beginning of a callout.

public enum Delimiter: Hashable 

Inheritance

Codable, Hashable, RawRepresentable

Initializers

init?(rawValue:)

public init?(rawValue: String) 

init(from:)

public init(from decoder: Decoder) throws 

Enumeration Cases

attention

Highlighted information for the user of the symbol.

case attention

An example of using the Attention callout:

author

The author of the code for a symbol.

case author

An example of using the Author callout:

authors

The authors of the code for a symbol.

case authors

An example of using the Authors callout:

Aristotle

Other amazing classical folk

bug

A bug for a symbol.

case bug

An example of using the Bug callout:

complexity

The algorithmic complexity of a method or function.

case complexity

An example of using the Complexity callout:

copyright

Copyright information for a symbol.

case copyright

An example of using the Copyright callout:

date

A date associated with a symbol.

case date

An example of using the Date callout:

Last date this example was changed

Days the method produces special results

experiment

A suggestion to the user for usage of a method or function.

case experiment

An example of using the Experiment callout:

important

Information that can have adverse effects on the tasks a user is trying to accomplish

case important

An example of using the Important callout:

invariant

A condition that is guaranteed to be true during the execution of the documented symbol.

case invariant

An example of using the Invariant callout:

note

A note to the user of the symbol.

case note

An example of using the Note callout:

precondition

A condition that must hold for the symbol to work.

case precondition

An example of using the Precondition callout:

postcondition

A condition of guaranteed values upon completion of the execution of the symbol.

case postcondition

An example of using the Postcondition callout:

remark

A remark to the user of the symbol.

case remark

An example of using the Remark callout:

requires

A requirement for the symbol to work.

case requires

An example of using the Requires callout:

seealso

A references to other information.

case seealso

An example of using the SeeAlso callout:

since

Information about when the symbol became available, which may include dates, framework versions, and operating system versions.

case since

An example of using the Since callout:

todo

A task required to complete or update the functionality of the symbol.

case todo

An example of using the ToDo callout:

version

Version information for the symbol.

case version

An example of using the Version callout:

warning

A warning for the user of the symbol.

case warning

An example of using the Warning callout:

custom

A callout with a custom title.

case custom(String)

An example of using a custom callout:

  • Callout(Llama Spotting Tips): Pack warm clothes with your binoculars.

Properties

rawValue

public var rawValue: String 

Methods

encode(to:)

public func encode(to encoder: Encoder) throws