Re: Thunderbolt port audio programmability

2020-03-12 Thread Carl Hoefs via Cocoa-dev
> On Mar 12, 2020, at 11:13 AM, Jens Alfke wrote: > > >> On Mar 12, 2020, at 10:27 AM, Carl Hoefs via Cocoa-dev >> mailto:cocoa-dev@lists.apple.com>> wrote: >> >> I'm looking at creating an iPhone/iPad app that acts as a dual-channel >> waveform generator. >> >> I see two options for the o

Re: Can't delete file on external disk

2020-03-12 Thread Gabriel Zachmann via Cocoa-dev
> > Are you using startAccessingSecurityScopedResource? Sorry I forgot to mention: yes, I do startAccessingSecurityScopedResource. Also, reading the files works just fine. (Haven't tried writing on them, because that is of no concern in my app. Just reading or deleting.) Best regards, Gabri

Re: Thunderbolt port audio programmability

2020-03-12 Thread Jens Alfke via Cocoa-dev
> On Mar 12, 2020, at 10:27 AM, Carl Hoefs via Cocoa-dev > wrote: > > I'm looking at creating an iPhone/iPad app that acts as a dual-channel > waveform generator. > > I see two options for the output signal medium: > (a) using the audio jack (on suitable devices), or > (b) using the Thund

Re: Can't delete file on external disk

2020-03-12 Thread James Walker via Cocoa-dev
On 3/12/20 9:55 AM, Gabriel Zachmann via Cocoa-dev wrote: In my app, I collect lists of files that reside on an external disk. When the user opens the directory of the files, I create a security-scoped bookmark like this: directoryBookmark_ = [dir bookmarkDataWithOptions: NSURLBookmarkCre

Thunderbolt port audio programmability

2020-03-12 Thread Carl Hoefs via Cocoa-dev
I'm looking at creating an iPhone/iPad app that acts as a dual-channel waveform generator. I see two options for the output signal medium: (a) using the audio jack (on suitable devices), or (b) using the Thunderbolt port Q: Is there a Cocoa framework for programming the Thunderbolt port? Ca

Can't delete file on external disk

2020-03-12 Thread Gabriel Zachmann via Cocoa-dev
In my app, I collect lists of files that reside on an external disk. When the user opens the directory of the files, I create a security-scoped bookmark like this: directoryBookmark_ = [dir bookmarkDataWithOptions: NSURLBookmarkCreationWithSecurityScope includingResour