Re: Cocoa-dev Digest, Vol 16, Issue 87

2019-09-17 Thread Mike Abdullah via Cocoa-dev
> On 17 Sep 2019, at 09:04, Gabriel Zachmann via Cocoa-dev > wrote: > >> >> The bounds origin is the origin of the coordinate system for sublayers of >> that layer, and thus changing the bounds origin moves sublayers around. > > Thanks a lot for the insight. > > Just out of curiosity (or

Re: Screensaver icon ?

2019-09-17 Thread Felix Franz via Cocoa-dev
Hi Gabriel,  looks like the file Contents/Resources/thumbnail.png (or .tiff) in the bundle is used. If I replace this file it simply shows up.  Cheers,  Felix From: Gabriel Zachmann via Cocoa-dev To: Sent: 9/17/2019 9:26 AM Subject: Screensaver icon ? Does anybody know

Re: Cocoa-dev Digest, Vol 16, Issue 87

2019-09-17 Thread Gabriel Zachmann via Cocoa-dev
> > The bounds origin is the origin of the coordinate system for sublayers of > that layer, and thus changing the bounds origin moves sublayers around. Thanks a lot for the insight. Just out of curiosity (or for fellow developers): I have just read up about the bounds property in the NSView

Screensaver icon ?

2019-09-17 Thread Gabriel Zachmann via Cocoa-dev
Does anybody know how I can define/set the icon for my screensaver that appears in the left hand sidebar of System Preferences / Desktop & Screensaver / Screensaver ? More specifically: I am writing a screensaver, it works and appears in the sidebar in the System Preferences Screensavers pane.

Re: Screensaver icon ?

2019-09-17 Thread Gabriel Zachmann via Cocoa-dev
Cool! Thanks a million, that did the trick. Best regards, Gabriel > On 17. Sep 2019, at 19:35, Alex Zavatone wrote: > > Add it in the build phases copy files phase or use the environment variables > to build the path in a shell script and run that as part of your runtime > build scripts. >

Re: Screensaver icon ?

2019-09-17 Thread Carl Hoefs via Cocoa-dev
Ah, so is this the reason Quartz Composer compositions (*.qtz) won't run as screen savers in Mojave? -Carl ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the

Re: Pausing an animation

2019-09-17 Thread David Duncan via Cocoa-dev
> On Sep 17, 2019, at 1:19 PM, Gabriel Zachmann via Cocoa-dev > wrote: > > I have a layer with two animations. > > I would like to pause this animation occasionally . > To do so, I set layer.speed = 0.0; > > In the past, this has worked (with slightly different animations). > However, in

Re: Screensaver icon ?

2019-09-17 Thread Steve Mills via Cocoa-dev
> On Sep 17, 2019, at 10:20, Gabriel Zachmann via Cocoa-dev > wrote: > > How can I make Xcode to put an image into the Resources bundle of my screen > saver? Just add the png or tiff directly to the project like any other file, and turn on the checkbox for your target when it asks which

Re: Screensaver icon ?

2019-09-17 Thread Alex Zavatone via Cocoa-dev
Add it in the build phases copy files phase or use the environment variables to build the path in a shell script and run that as part of your runtime build scripts. Sent from my iPhone > On Sep 17, 2019, at 10:20 AM, Gabriel Zachmann via Cocoa-dev > wrote: > > Thanks a lot for the response.

Pausing an animation

2019-09-17 Thread Gabriel Zachmann via Cocoa-dev
I have a layer with two animations. I would like to pause this animation occasionally . To do so, I set layer.speed = 0.0; In the past, this has worked (with slightly different animations). However, in this case, the layer seems to just disappear. (the layer occupies the whole screen, and when

Re: Screensaver icon ?

2019-09-17 Thread Gabriel Zachmann via Cocoa-dev
___ 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:

Re: Screensaver icon ?

2019-09-17 Thread Stephane Sudre via Cocoa-dev
For the record, due to Apple's inability to support 3rd party screen saver seriously, the custom icons for 3rd party screen savers are displayed incorrectly and differently depending on the OS versions. So don't spend too much time on getting your screen saver icon to be pixel perfect. The