SaveDialogOptions.swift 398 B

123456789
  1. /// Options for 'save file' dialogs.
  2. public struct SaveDialogOptions {
  3. /// The placeholder label for the file name field. If `nil`, the label is
  4. /// set to a backend-specific value.
  5. public var nameFieldLabel: String?
  6. /// The default file name. If `nil`, the file name will typically be empty,
  7. /// but can be any backend-specific value.
  8. public var defaultFileName: String?
  9. }