mirror of
https://github.com/bitwarden/ios.git
synced 2025-12-12 07:43:01 -06:00
17 lines
432 B
Swift
17 lines
432 B
Swift
import Foundation
|
|
|
|
// MARK: - FileSelectionDelegate
|
|
|
|
/// A delegate object that responds to file selection events.
|
|
///
|
|
@MainActor
|
|
protocol FileSelectionDelegate: AnyObject {
|
|
/// A file was chosen by the user.
|
|
///
|
|
/// - Parameters:
|
|
/// - fileName: The name of the selected file.
|
|
/// - data: The data representation of the selected file.
|
|
///
|
|
func fileSelectionCompleted(fileName: String, data: Data)
|
|
}
|