rust_macios/
foundation.rs

1//! Access essential data types, collections, and operating-system services to define the base layer of functionality for your app.
2
3mod enums;
4mod globals;
5mod type_defs;
6
7/// Macros for working with the Foundation framework.
8pub mod macros;
9
10pub use enums::*;
11pub use globals::*;
12pub use type_defs::*;
13
14/*
15Fundamentals
16*/
17
18/// A type that represents a pointer to an Objective-C object.
19pub mod ns_array;
20
21pub use ns_array::NSArray;
22
23mod ns_attributed_string;
24mod ns_bundle;
25mod ns_character_set;
26mod ns_coder;
27mod ns_data;
28mod ns_date;
29mod ns_date_components;
30mod ns_decimal;
31mod ns_decimal_number_behaviors;
32mod ns_decimal_number_handler;
33mod ns_dictionary;
34mod ns_edge_insets;
35mod ns_enumerator;
36mod ns_error;
37mod ns_file_wrapper;
38mod ns_formatter;
39mod ns_index_set;
40mod ns_locale;
41mod ns_mutable_array;
42mod ns_mutable_dictionary;
43mod ns_mutable_string;
44mod ns_notification;
45mod ns_null;
46mod ns_number;
47mod ns_number_formatter;
48mod ns_orthography;
49mod ns_predicate;
50mod ns_process_info;
51mod ns_range;
52mod ns_set;
53mod ns_spell_server;
54mod ns_spell_server_delegate;
55mod ns_string;
56mod ns_text_checking_result;
57mod ns_url;
58mod ns_uuid;
59
60mod string_transform;
61
62pub use ns_attributed_string::*;
63pub use ns_bundle::*;
64pub use ns_character_set::*;
65pub use ns_coder::*;
66pub use ns_data::*;
67pub use ns_date::*;
68pub use ns_date_components::*;
69pub use ns_decimal::*;
70pub use ns_decimal_number_handler::*;
71pub use ns_dictionary::*;
72pub use ns_edge_insets::*;
73pub use ns_enumerator::*;
74pub use ns_error::*;
75pub use ns_file_wrapper::*;
76pub use ns_formatter::*;
77pub use ns_index_set::*;
78pub use ns_locale::*;
79pub use ns_mutable_array::NSMutableArray;
80pub use ns_mutable_dictionary::*;
81pub use ns_mutable_string::*;
82pub use ns_notification::*;
83pub use ns_null::*;
84pub use ns_number::*;
85pub use ns_number_formatter::*;
86pub use ns_orthography::*;
87pub use ns_predicate::*;
88pub use ns_process_info::*;
89pub use ns_range::*;
90pub use ns_set::*;
91pub use ns_spell_server::*;
92pub use ns_spell_server_delegate::*;
93pub use ns_string::*;
94pub use ns_text_checking_result::*;
95pub use ns_url::*;
96pub use ns_uuid::*;
97pub use string_transform::*;
98
99/* App Support
100*/
101
102#[allow(improper_ctypes)]
103extern "C" {
104    /// Respond to problem situations in your interactions with APIs, and fine-tune your app for better debugging.
105    pub fn NSLog(format: NSString, ...);
106
107}
108
109/*Low-Level Utilities
110*/
111
112mod ns_autoreleasepool;
113
114pub use ns_autoreleasepool::*;