InitializerInitializerinit(technology:
init(technology:title:contentHTML:estimatedTime:action:imageHTML:volumes:)
Creates the content of a tutorials overview page.
init(
technology: String,
title: String,
contentHTML: String = "",
estimatedTime: String? = nil,
action: (title: String, url: String)? = nil,
imageHTML: String = "",
volumes: [Volume]
)Parameters
technologyThe name of the technology, shown in the navigation bar.
titleThe title of the hero.
contentHTMLThe rendered HTML of the hero’s introduction.
estimatedTimeThe total estimated time of all tutorials, if known.
actionThe title and relative URL of the hero’s call to action, if any.
imageHTMLThe rendered HTML of the hero’s image, if any.
volumesThe volumes, in order.