This repository was archived by the owner on Oct 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
HTML
mattt edited this page Sep 24, 2020
·
4 revisions
An object whose content can be created using string interpolation in a way that interprets values according to the context at which the interpolation occurs.
public struct HTML: LosslessStringConvertible, Equatable, HashableFor more information, see this project's README.
Codable, Comparable, Equatable, ExpressibleByStringInterpolation, ExpressibleByStringLiteral, Hashable, HypertextLiteralConvertible, LosslessStringConvertible
Creates an HTML object with the specified content.
public init(_ description: String)- description: The HTML content.
public init(decoder: Decoder) throwspublic init(stringLiteral value: String)public init(stringInterpolation: StringInterpolation)The HTML content.
var description: StringA representation of this instance in a hypertext literal.
var html: HTMLpublic static func <(lhs: HTML, rhs: HTML) -> Boolpublic func encode(to encoder: Encoder) throwsGenerated at 2020-09-24T18:03:31+0000 using swift-doc 1.0.0-beta.4.