Re: Implementing an import command in NSDocument-based app

2018-05-16 Thread Alastair Houghton
On 16 May 2018, at 08:55, Pascal Bourguignon wrote: >> Le 16 mai 2018 à 09:26, Rick Mann a écrit : >> >> I'm working on a little NSDocument-based app. The documents are packages (a >> directory containing multiple files). One of the operations is

Re: Implementing an import command in NSDocument-based app

2018-05-16 Thread Rick Mann
Thank you, that's all good advice. > On May 16, 2018, at 00:26 , Rick Mann wrote: > > I'm working on a little NSDocument-based app. The documents are packages (a > directory containing multiple files). One of the operations is to import a > music file into the

Re: Implementing an import command in NSDocument-based app

2018-05-16 Thread Pascal Bourguignon
> Le 16 mai 2018 à 09:26, Rick Mann a écrit : > > I'm working on a little NSDocument-based app. The documents are packages (a > directory containing multiple files). One of the operations is to import a > music file into the document, which should copy the music file

Implementing an import command in NSDocument-based app

2018-05-16 Thread Rick Mann
I'm working on a little NSDocument-based app. The documents are packages (a directory containing multiple files). One of the operations is to import a music file into the document, which should copy the music file into the package, and set it as the track for the document. Undoing this