InitializerInitializerinit(title:
init(title:url:estimatedTime:isArticle:abstract:)
Creates a topic.
init(
title: String,
url: String,
estimatedTime: String? = nil,
isArticle: Bool = false,
abstract: String? = nil
)Parameters
titleThe title of the topic.
urlThe relative URL of the topic’s page.
estimatedTimeThe estimated time to complete the topic, if known.
isArticleWhether the topic is an article rather than a tutorial.
abstractThe abstract of the topic as plain text, if known.