objc2_ui_kit/
lib.rs

1//! # Bindings to the `UIKit` framework
2//!
3//! See [Apple's docs][apple-doc] and [the general docs on framework crates][framework-crates] for more information.
4//!
5//! [apple-doc]: https://developer.apple.com/documentation/uikit/
6//! [framework-crates]: https://docs.rs/objc2/latest/objc2/topics/about_generated/index.html
7#![no_std]
8#![cfg_attr(docsrs, feature(doc_auto_cfg))]
9// Update in Cargo.toml as well.
10#![doc(html_root_url = "https://docs.rs/objc2-ui-kit/0.3.1")]
11#![recursion_limit = "256"]
12
13#[cfg(feature = "alloc")]
14extern crate alloc;
15
16#[cfg(feature = "std")]
17extern crate std;
18
19#[cfg(feature = "UIApplication")]
20mod application;
21mod generated;
22#[cfg(feature = "UIGestureRecognizer")]
23mod gesture_recognizer;
24#[cfg(feature = "UIPasteConfigurationSupporting")]
25mod paste_configuration;
26#[cfg(feature = "UIResponder")]
27mod responder;
28#[cfg(test)]
29mod tests;
30#[cfg(feature = "NSText")]
31mod text;
32
33#[allow(unused_imports, unreachable_pub)]
34pub use self::generated::*;
35#[cfg(feature = "UIResponder")]
36pub use self::responder::*;
37#[cfg(feature = "NSText")]
38pub use self::text::*;