apple_utils/
lib.rs

1//! # apple-utils
2//!
3//! Provides safe wrappers around Apple platform features using [objc2](https://crates.io/crates/objc2) bindings.
4//!
5//! ## Features
6//!
7//! ### iOS
8//!
9//! - **File Picker**: Access to the native iOS document picker via the [`FilePicker`](ios::file_picker::FilePicker) struct
10//! - **File Type Handling**: Work with different file type specifications using the [`FileType`](file_type::FileType) enum
11//!
12//! ## Safety
13//!
14//! The underlying objc2 bindings are unsafe. While this crate aims to provide safe wrappers,
15//! these wrappers have not been rigorously tested.
16
17#[cfg(target_os = "ios")]
18pub mod ios;
19
20#[cfg(target_os = "ios")]
21pub mod file_type;