-
-
Save tbatsuur/099c807cf3fb9445d0b3171fd93dacd2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private func fetchOptions() -> PHFetchOptions { | |
// 1 | |
let fetchOptions = PHFetchOptions() | |
// 2 | |
fetchOptions.sortDescriptors = [NSSortDescriptor(key: "creationDate", ascending: false)] | |
return fetchOptions | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment