Português (Portuguese)
Appearance
Português (Portuguese)
Appearance
ENUM
FileHeaderTemplate Contents
public enum FileHeaderTemplate: Codable, Equatable, ExpressibleByStringInterpolation, SendableA header template from a file or a string.
Lets you define custom file header template for built-in Xcode templates, e.g. when you create new Swift file you can automatically have your custom define file header.
Tuist automatically performs several template transformations for you
//) we remove them as they are added automatically by Xcodefile(_:) case file(Path)Load template stored in file
string(_:) case string(String)Use inline string as template
init(stringLiteral:) public init(stringLiteral value: String)Creates file template as .string(value)