swift

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 19, 2026 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package swift provides iOS Swift constant formatting for design tokens.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Formatter

type Formatter struct{}

Formatter outputs iOS Swift constants.

func New

func New() *Formatter

New creates a new Swift formatter.

func (*Formatter) Format

func (f *Formatter) Format(tokens []*token.Token, opts formatter.Options) ([]byte, error)

Format converts tokens to Swift constants.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL