Answer by Damiaan Dufaux for Programmatic access to the Photos Library on Mac...
Although this is not an officially documented API, w0lfschild published the headers of Apple's PhotoKit framework for macOS. The API looks very similar to the iOS one, so maybe you can figure it out...
View ArticleAnswer by vtukhtarov for Programmatic access to the Photos Library on Mac OS...
Based on Pierre F answer I extend code for displaying url's for all photos:- (void)applicationDidFinishLaunching:(NSNotification *)aNotification { NSDictionary *options = @{ MLMediaLoadSourceTypesKey:...
View ArticleAnswer by Pierre F for Programmatic access to the Photos Library on Mac OS X:...
The Media Library Framework is the place to go.Usage:@import MediaLibrary;- (void) awakeFromNib{ NSDictionary *options = @{ MLMediaLoadSourceTypesKey: @(MLMediaSourceTypeImage),...
View ArticleProgrammatic access to the Photos Library on Mac OS X: PhotoKit / Photos...
In Objective-C, there's a Photos Framework a.k.a. PhotoKit which enables iOS developers to access the photos library on iPhone and iPad and to retrieve the pictures/videos along with their metadata.How...
View Article