Re: MLMediaLibrary sometimes does not call my KVO

2016-10-06 Thread Gabriel Zachmann
___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.co

Re: MLMediaLibrary sometimes does not call my KVO

2016-10-04 Thread Gabriel Zachmann
> It’s very hard for a sandboxed app to get access to the internals of Photos > without using MLMediaLibrary, though not too difficult for non-sandboxed. > MLMediaLibrary was added because of this need. I was wondering whether this API (Photos Framework aka PhotoKit) would be better suited :

Re: MLMediaLibrary sometimes does not call my KVO

2016-09-22 Thread Graham Cox
> On 22 Sep 2016, at 10:45 PM, Gabriel Zachmann wrote: > >> I’ve run into some unreliability in MLMediaLibrary. It appears to be a bug >> because it sometimes can be seen in places that use MLMediaLibrary within >> general standard components, such as NSOpenPanel (this adds a media browsing >

Re: MLMediaLibrary sometimes does not call my KVO

2016-09-22 Thread Gabriel Zachmann
> I’ve run into some unreliability in MLMediaLibrary. It appears to be a bug > because it sometimes can be seen in places that use MLMediaLibrary within > general standard components, such as NSOpenPanel (this adds a media browsing > section if it is set up to allow image types, for example).

Re: MLMediaLibrary sometimes does not call my KVO

2016-09-21 Thread Graham Cox
> On 22 Sep 2016, at 8:59 AM, Gabriel Zachmann wrote: > > I am a bit at a loss about the MLMediaLibrary API. > Maybe, I haven't quite understood it yet, maybe something else is wrong. > > I am writing a screen saver that accesses Photos' albums and the images > referenced by them. > (Code exce

MLMediaLibrary sometimes does not call my KVO

2016-09-21 Thread Gabriel Zachmann
I am a bit at a loss about the MLMediaLibrary API. Maybe, I haven't quite understood it yet, maybe something else is wrong. I am writing a screen saver that accesses Photos' albums and the images referenced by them. (Code excerpts follow at the end of this email.) I create an array of the top le