Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 458 Bytes

File metadata and controls

24 lines (14 loc) · 458 Bytes

CodeEdit/FontPicker

Overview

Opens a NSFontPanel and binds the fontSize and fontName parameters to the provided variables.

Usage

@State var fontName: String = "SF-Mono"
@State var fontSize: Int = 13

FontPicker("Font Picker", name: $fontName, size: $fontSize)

Preview

FontPicker

Topics

Delegate

  • FontPickerDelegate