enumerateAssets(at:options:using:)
Invokes a given block using each of the assets in the group at specified indexes.
Declaration
func enumerateAssets(at indexSet: IndexSet!, options: NSEnumerationOptions = [], using enumerationBlock: ALAssetsGroupEnumerationResultsBlock!)Parameters
- indexSet:
The indexes of the assets to enumerate.
The index set must not specify any indexes exceeding Numberofassets().
- options:
Options for the enumeration.
- enumerationBlock:
The block to invoke using each of the assets in the group at the indexes in
indexSet.