Re: Questions about sandboxing under Catalina

2020-01-10 Thread Steve Mills via Cocoa-dev
On Jan 10, 2020, at 08:41, Gabriel Zachmann via Cocoa-dev wrote: > > > Follow-up question: is there a way to do that for screensavers? That’s what happens when you go through NSOpenPanel and the user chooses a folder. Read that document that 2 of us have suggested. Steve via iPad

Re: Questions about sandboxing under Catalina

2020-01-10 Thread Gabriel Zachmann via Cocoa-dev
>> >> So, is .../Containers/.../Data/Pictures linked to ~/Pictures automatically? > No. The user has to give your app permission to see the contents of > ~/Pictures. > >

Re: Questions about sandboxing under Catalina

2020-01-10 Thread Steve Mills via Cocoa-dev
On Jan 10, 2020, at 07:36:03, Gabriel Zachmann via Cocoa-dev wrote: > > So, is .../Containers/.../Data/Pictures linked to ~/Pictures automatically? Yes. That's under-the-hood stuff that you should mostly ignore. Pretend it doesn't exist. The OS will do what it needs to do. > I am searching

Re: Questions about sandboxing under Catalina

2020-01-10 Thread Rob Petrovec via Cocoa-dev
> On Jan 10, 2020, at 6:36 AM, Gabriel Zachmann via Cocoa-dev > wrote: > > Steve, thanks a lot for your response! > >>> >>> In my screensaver, I try to search the Pictures directory in the user's >>> home. >>> It is OK - for now - if my app cannot access any .photoslibrary, but I'd >>>

Re: Questions about sandboxing under Catalina

2020-01-10 Thread Gabriel Zachmann via Cocoa-dev
Steve, thanks a lot for your response! >> >> In my screensaver, I try to search the Pictures directory in the user's home. >> It is OK - for now - if my app cannot access any .photoslibrary, but I'd >> like to pick up >> any other images in ~/Pictures. >> >> I get the path using this line of

Re: Questions about sandboxing under Catalina

2020-01-08 Thread Steve Mills via Cocoa-dev
On Jan 8, 2020, at 15:29:47, Gabriel Zachmann via Cocoa-dev wrote: > > In my screensaver, I try to search the Pictures directory in the user's home. > It is OK - for now - if my app cannot access any .photoslibrary, but I'd like > to pick up > any other images in ~/Pictures. > > I get the

Questions about sandboxing under Catalina

2020-01-08 Thread Gabriel Zachmann via Cocoa-dev
I have two questions regarding sandboxing. 1. In my screensaver, I try to search the Pictures directory in the user's home. It is OK - for now - if my app cannot access any .photoslibrary, but I'd like to pick up any other images in ~/Pictures. I get the path using this line of code: