pub mod app;
pub mod assets;
pub mod event_loop;
pub mod input;
pub mod native_bridge;
pub mod window;
pub use app::{
get_display_scale, get_safe_area_insets, is_dark_mode, system_font_paths, IOSPlatform,
};
pub use assets::IOSAssetLoader;
pub use event_loop::{IOSEventLoop, IOSWakeProxy};
pub use input::{convert_touch, convert_touches, Gesture, GestureDetector, Touch, TouchPhase};
pub use native_bridge::{
blinc_native_bridge_is_ready, blinc_set_native_call_fn, IOSNativeBridgeAdapter,
};
pub use window::IOSWindow;
#[cfg(target_os = "ios")]
pub use app::ios_main;
#[cfg(not(target_os = "ios"))]
use blinc_platform::PlatformError;
#[cfg(not(target_os = "ios"))]
impl IOSPlatform {
pub fn with_placeholder() -> Result<Self, PlatformError> {
Err(PlatformError::Unsupported(
"iOS platform only available on iOS".to_string(),
))
}
}