Re: Minimizing my app kills timer ?

2020-05-04 Thread Steve Mills via Cocoa-dev
On May 4, 2020, at 15:33:28, Gabriel Zachmann via Cocoa-dev wrote: > >> run in a normal app that can deactivate, hide, minimize, etc, you're >> throwing it all kinds of things it isn't designed to handle. >> >> If you really want to run your screensaver animation in a non-screensaver >> app,

Re: Minimizing my app kills timer ?

2020-05-04 Thread Gabriel Zachmann via Cocoa-dev
> The screensaver animation in macOS is reliant on the engine that drives it. > Recently that changed from an older engine to what we can only guess is a > newer one, but some of them still run in what is known as a newly named > legacyScreenSaver, yet ScreenSaverEngine still fits in there someh

Re: [OT] NSTimer +timerWithTimeInterval:

2020-05-04 Thread Glenn L. Austin via Cocoa-dev
ARC uses the analyzers rules. I was told that if you trust the analyzer (and follow it's rules), ARC will be fine. I have a few pieces of code that the analyzer was unhappy with, bugs had been submitted, but they were primarily with C++ code wrapping CF objects. -- Glenn L. Austin, Computer Wi

Re: Minimizing my app kills timer ?

2020-05-04 Thread Steve Mills via Cocoa-dev
On May 4, 2020, at 03:28:23, Gabriel Zachmann wrote: > > You mean, it could happen that Apple decides to make ScreenSaverView a > subclass of some class other than NSView ? > (currently, it is a subclass of NSView) No, I mean just what I said. It's not guaranteed or even suggested that Screen

Re: Customizing the Notarization Workflow fails

2020-05-04 Thread St John, David R via Cocoa-dev
Setting automatic code signing to Off and "Code Sign style" = Manual just means you have control over the certificate, developer team, etc. not that Xcode won't sign your product. There used to be a "Don't Code Sign" option which did as advertised but it hasn't been an option in a Xcode release

Re: NSTimer +timerWithTimeInterval:

2020-05-04 Thread Dave via Cocoa-dev
Hi, I’d try this: Make a method called setupTimer with the code below. Then in applicationDidFinishLaunching call performSelector: setupTimer with a delay of (say 5 seconds). Just to see if it changes anything…. Cheers Dave > On 29 Apr 2020, at 23:35, Carl Hoefs via Cocoa-dev > wrote: >

Re: Minimizing my app kills timer ?

2020-05-04 Thread Gabriel Zachmann via Cocoa-dev
> >> On May 2, 2020, at 09:15, Gabriel Zachmann via Cocoa-dev >> wrote: >> >> ?I've got an app that makes heavy use of ScreenSaverView (i.e., creates an >> instance of a subclass). > > ScreenSaverView is for screensavers, not apps. It?s behavior in an app is not > guaranteed to work. > Y