PyFilePicker

@objc public class PyFilePicker: NSObject, UIDocumentPickerDelegate

A class for representing an UIDocumentPickerViewController's settings to be used by the Python API.

@objc public var completion: (() -> Void)? The code to execute when files where picked.

@objc public var fileTypes = [NSString]() Document types that can be opened.

@objc public var allowsMultipleSelection = false Allow multiple selection or not.