Type Alias

ALAssetsLibraryGroupsEnumerationResultsBlock

Signature for the block executed when a match is found during enumeration using enumerateGroups(withTypes:using:failureBlock:).

Declaration

typealias ALAssetsLibraryGroupsEnumerationResultsBlock = (ALAssetsGroup?, UnsafeMutablePointer<ObjCBool>?) -> Void

Discussion

The block parameters are defined as follows:

group

The current asset group in the enumeration.

stop

A pointer to a boolean value; set the value to true to stop enumeration.