Re: UIDocumentBrowserViewController and file package documents

2017-06-21 Thread davelist
I submitted a bug report: rdar://32912183 Based on the WWDC video, it appears Apple is recommending you put an empty document as a resource in your app and then choose the option to copy it. The other option would be to make a new document in a temporary directory your app can write to and the

Re: UIDocumentBrowserViewController and file package documents

2017-06-21 Thread Jonathan Hull
That part is really confusing me as well (I am also using a package document). I started by using the documents directory, but I keep getting an error that the browser doesn’t have access. Then I switched to the temp directory, and now it works part of the time, and the other times I still get

Re: How to create an animated gif?

2017-06-21 Thread Alex Zavatone
Here’s one option. Imagemagick. https://www.imagemagick.org/Usage/anim_basics/ > On Jun 21, 2017, at 1:17 AM, Gerriet M. Denkmann wrote: > > macOS 12.5 > > Assume that I have two NSImages, both with the same size, how can I create an > animated gif which alternates between these two images

Re: How to create an animated gif?

2017-06-21 Thread Alastair Houghton
On 21 Jun 2017, at 16:09, Jens Alfke wrote: > > On Jun 20, 2017, at 11:17 PM, Gerriet M. Denkmann wrote: >> >> Assume that I have two NSImages, both with the same size, how can I create >> an animated gif which alternates between these two images? > > You might have to use a 3rd party image l

Re: How to create an animated gif?

2017-06-21 Thread Jens Alfke
> On Jun 20, 2017, at 11:17 PM, Gerriet M. Denkmann wrote: > > Assume that I have two NSImages, both with the same size, how can I create an > animated gif which alternates between these two images? You might have to use a 3rd party image library to do that; I’ve never heard of animated-GIF (

Re: UIDocumentBrowserViewController and file package documents

2017-06-21 Thread davelist
> On Jun 20, 2017, at 5:29 PM, Kyle Sluder wrote: > > On Tue, Jun 20, 2017, at 03:40 PM, davel...@mac.com wrote: >> I'm trying out the new UIDocumentBrowserViewController in iOS 11 (using >> the iPad simulator). I can get it to create a new document (which is a >> file package) for my app, but t

Re: Writing NSImage

2017-06-21 Thread Graham Cox
Drop down one level - create a bitmap image rep of the type you want, make a context for it, draw the image into that, then (if necessary) add it to a NSImage with addRepresentation: Working at this level you have total control, and rarely need an NSImage at all. —Graham > On 21 Jun 2017, a