chore(ios): consolidate optional argument standard (#1738)

* chore(ios): consolidate optional argument standard

mark all optional iOS arguments as `var <name>: Type?`, following the pattern described in the documentation: https://v2.tauri.app/develop/plugins/develop-mobile/#ios

* chore: add missing Info.plist to example
This commit is contained in:
Lucas Fernandes Nogueira authored and GitHub committed 2024-09-10 08:31:39 -03:00
1 parent 713c54ef83
commit a34fade500
9 files changed
+68 -60

No files matched your search

@@ -9,8 +9,8 @@ import WebKit
struct ScanOptions: Decodable {
var formats: [SupportedFormat]?
let windowed: Bool?
let cameraDirection: String?
var windowed: Bool?
var cameraDirection: String?
}
enum SupportedFormat: String, CaseIterable, Decodable {