Skip to content

번역

이 페이지를 번역하거나 기존 번역을 개선할 수 있습니다.

기여

STRUCT

Template

Contents

swift
public struct Template: Codable, Equatable, Sendable

A scaffold template model.

Properties

description

swift
public let description: String

Description of template

attributes

swift
public let attributes: [Attribute]

Attributes to be passed to template

items

swift
public let items: [Item]

Items to generate

Methods

init(description:attributes:items:)

swift
public init(
    description: String,
    attributes: [Attribute] = [],
    items: [Item] = []
)

Released under the MIT License.