1#![allow(clippy::self_named_constructors)]
3#![allow(clippy::not_unsafe_ptr_arg_deref)]
4#![allow(clippy::should_implement_trait)]
5#![allow(clippy::new_without_default)]
6
7pub mod array;
54pub mod autorelease;
55pub mod bundle;
56pub mod data;
57pub mod date;
58pub mod dictionary;
59pub mod enumerator;
60pub mod error;
61pub mod lock;
62pub mod notification;
63pub mod number;
64pub mod objc_runtime;
65pub mod object;
66pub mod process_info;
67pub mod range;
68pub mod set;
69pub mod shared_ptr;
70pub mod string;
71pub mod types;
72pub mod url;
73
74pub use types::{INTEGER_MAX, INTEGER_MIN, UINTEGER_MAX};
78pub use types::{Integer, OperatingSystemVersion, TimeInterval, UInteger};
79
80pub use objc_runtime::{ComparisonResult, NOT_FOUND};
82
83pub use range::Range;
85
86pub use object::{Copying, Object, Referencing, SecureCoding};
88
89pub use shared_ptr::{SharedPtr, retain_ptr, transfer_ptr};
91
92pub use string::{String, StringCompareOptions, StringEncoding, Unichar};
94
95pub use array::Array;
97
98pub use dictionary::Dictionary;
100
101pub use set::Set;
103
104pub use data::Data;
106
107pub use number::{Number, Value};
109
110pub use date::Date;
112
113pub use error::{Error, ErrorDomain, ErrorUserInfoKey};
115pub use error::{
116 cocoa_error_domain, debug_description_error_key, file_path_error_key, help_anchor_error_key,
117 localized_description_key, localized_failure_error_key, localized_failure_reason_error_key,
118 localized_recovery_options_error_key, localized_recovery_suggestion_error_key,
119 mach_error_domain, os_status_error_domain, posix_error_domain, recovery_attempter_error_key,
120 string_encoding_error_key, underlying_error_key, url_error_key,
121};
122
123pub use enumerator::{Enumerator, FastEnumeration, FastEnumerationState};
125
126pub use url::Url;
128
129pub use autorelease::{AutoreleasePool, AutoreleasePoolScope};
131
132pub use notification::{Notification, NotificationCenter, NotificationName};
134
135pub use lock::{Condition, Locking};
137
138pub use bundle::Bundle;
140pub use bundle::{
141 localized_string, localized_string_from_table, localized_string_from_table_in_bundle,
142 localized_string_with_default_value,
143};
144
145pub use process_info::{
147 ActivityOptions, DeviceCertification, ProcessInfo, ProcessInfoThermalState,
148 ProcessPerformanceProfile,
149};
150
151#[cfg(test)]
152mod tests {
153 use super::*;
154
155 #[test]
156 fn test_module_imports() {
157 let _: Integer = 0;
159 let _: UInteger = 0;
160 let _ = ComparisonResult::ORDERED_SAME;
161 let _ = Range::new(0, 10);
162 }
163}