From brandonhamilton/image-capture-core-rs
's ICCameraDevice.mediaFiles()
I can get the NSArray::count()
let cam_media_files = camera_device.mediaFiles();
println!(
NSArray::count(cam_media_files) // 123
);
But how can you iterate this Object
?
I've tried a couple things:
// for media_file in NSArray::array(nil, cam_media_files) {
// for media_file in NSArray::arrayWithObject(nil, cam_media_files) {
for media_file in cam_media_files {
println!("