Skip to content

Commit b4c7c69

Browse files
authored
Merge pull request #249 from zatchl/nsmutabledict
Add `NSMutableDictionary`
2 parents c0f5a90 + 2a5d64b commit b4c7c69

File tree

4 files changed

+407
-5
lines changed

4 files changed

+407
-5
lines changed

objc2/src/foundation/mod.rs

+3
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ pub use self::geometry::{CGFloat, NSPoint, NSRect, NSSize};
6464
pub use self::mutable_array::NSMutableArray;
6565
pub use self::mutable_attributed_string::NSMutableAttributedString;
6666
pub use self::mutable_data::NSMutableData;
67+
pub use self::mutable_dictionary::NSMutableDictionary;
6768
pub use self::mutable_set::NSMutableSet;
6869
pub use self::mutable_string::NSMutableString;
6970
pub use self::number::NSNumber;
@@ -106,6 +107,7 @@ mod geometry;
106107
mod mutable_array;
107108
mod mutable_attributed_string;
108109
mod mutable_data;
110+
mod mutable_dictionary;
109111
mod mutable_set;
110112
mod mutable_string;
111113
mod number;
@@ -180,6 +182,7 @@ mod tests {
180182
assert_auto_traits::<NSMutableArray<NSString, Shared>>();
181183
assert_auto_traits::<NSMutableAttributedString>();
182184
assert_auto_traits::<NSMutableData>();
185+
assert_auto_traits::<NSMutableDictionary<NSString, NSString>>();
183186
assert_auto_traits::<NSMutableSet<NSString, Shared>>();
184187
assert_auto_traits::<NSMutableString>();
185188
assert_auto_traits::<NSNumber>();

0 commit comments

Comments
 (0)