1#![no_std]
8#![cfg_attr(feature = "unstable-darwin-objc", feature(darwin_objc))]
9#![cfg_attr(docsrs, feature(doc_cfg))]
10#![doc(html_root_url = "https://docs.rs/objc2-ui-kit/0.3.2")]
12#![recursion_limit = "256"]
13
14#[cfg(feature = "alloc")]
15extern crate alloc;
16
17#[cfg(feature = "std")]
18extern crate std;
19
20#[cfg(feature = "UIApplication")]
21mod application;
22#[cfg(feature = "UIView")]
23mod coordinate_space;
24mod generated;
25#[cfg(feature = "UIGeometry")]
26mod geometry;
27#[cfg(feature = "UIGestureRecognizer")]
28mod gesture_recognizer;
29#[cfg(feature = "UIImage")]
30mod image;
31#[cfg(feature = "UIPasteConfigurationSupporting")]
32mod paste_configuration;
33#[cfg(feature = "UIResponder")]
34mod responder;
35#[cfg(test)]
36mod tests;
37#[cfg(feature = "NSText")]
38mod text;
39
40#[cfg(feature = "UIView")]
41pub use self::coordinate_space::*;
42#[allow(unused_imports, unreachable_pub)]
43pub use self::generated::*;
44#[cfg(feature = "UIGeometry")]
45pub use self::geometry::*;
46#[cfg(feature = "UIResponder")]
47pub use self::responder::*;
48
49#[allow(unused)]
53#[allow(unexpected_cfgs)]
54pub(crate) const TARGET_ABI_USES_IOS_VALUES: bool = !cfg!(target_arch = "x86_64")
55 || (cfg!(all(target_vendor = "apple", not(target_os = "macos")))
56 && !cfg!(target_env = "macabi"));