HelpModel
final class HelpModel
The model for HelpView
-
The page to show
Declaration
Swift
var page: Page? = .kodioHelp -
The content of the page
Declaration
Swift
var text: String = "" -
The pages for the Help View
See moreDeclaration
Swift
enum Page: String, CaseIterable -
Get the content of a help page
Declaration
Swift
static func getPage(help: HelpModel.Page) -> StringParameters
helpThe page
Return Value
The content of the page
-
Convert a ‘docc’ link to a SwiftUI
Viewwith a buttonDeclaration
Swift
func doccLink(text: String) -> some ViewParameters
textThe text containing the link
Return Value
A SwiftUI
View
View on GitHub