We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed8f828 commit da7313fCopy full SHA for da7313f
objc2_foundation/examples/basic_usage.rs
@@ -14,7 +14,7 @@ fn main() {
14
// Create an NSArray from a Vec
15
let objs = vec![obj, obj2];
16
let array = NSArray::from_vec(objs);
17
- for obj in array.object_enumerator() {
+ for obj in array.iter() {
18
println!("{:?}", obj);
19
}
20
println!("{}", array.len());
0 commit comments