mirror of
https://github.com/bitwarden/ios.git
synced 2026-04-13 10:54:06 -05: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)
|
|
}
|