斯威夫特3,你会这样做吗?
let changeRequest = PHAssetCollectionChangeRequest(...) let fastEnumeration = NSArray(array: [PHObjectPlaceholder]) albumChangeRequest?.addAssets(fastEnumeration)
或这个?
let changeRequest = PHAssetCollectionChangeRequest(...) albumChangeRequest?.addAssets([PHObjectPlaceholder] as NSFastEnumeration)
有什么区别?