OpenDialogOptions.swift 407 B

12345678910
  1. /// Options for 'open file' dialogs.
  2. public struct OpenDialogOptions {
  3. /// Whether to allow selecting files.
  4. public var allowSelectingFiles: Bool
  5. /// Whether to allow selecting directories (folders).
  6. public var allowSelectingDirectories: Bool
  7. /// Whether to allow multiple selections. If `false`, the user can only
  8. /// select one item.
  9. public var allowMultipleSelections: Bool
  10. }