You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Initializes the property wrapper using the given sort descriptors
47
+
/// to define the `PHFetchOptions`.
48
+
///
49
+
/// - Parameters:
50
+
/// - assetCollection: limits the fetch to a specific asset collection, by default all assets in the library are taken into account.
51
+
/// - sort: a set of `Sort<MediaSortKey>` for sorting the assets
52
+
/// - fetchLimit: a maximum number of results to fetch, defaults to 0 (no limit)
53
+
/// - includeAllBurstAssets: a Boolean value that determines whether the fetch result includes all assets from burst photo sequences, defaults to false
54
+
/// - includeHiddenAssets: a Boolean value that determines whether the fetch result includes assets marked as hidden, defaults to false
/// Initializes the property wrapper using a default sort descriptor
23
30
/// (sort by `creationDate descending`)
@@ -31,17 +38,23 @@ public struct FetchAssets<T: MediaProtocol> {
31
38
/// to define the `PHFetchOptions`
32
39
///
33
40
/// - Parameters:
41
+
/// - assetCollection: limits the fetch to a specific asset collection, by default all assets in the library are taken into account.
34
42
/// - filter: a set of `MediaFilter` for filtering the assets
35
43
/// - sort: a set of `Sort<MediaSortKey>` for sorting the assets
36
44
/// - fetchLimit: a maximum number of results to fetch, defaults to 0 (no limit)
37
45
/// - includeAllBurstAssets: a Boolean value that determines whether the fetch result includes all assets from burst photo sequences, defaults to false
38
46
/// - includeHiddenAssets: a Boolean value that determines whether the fetch result includes assets marked as hidden, defaults to false
0 commit comments