Minimizing my app kills timer ?
Minimizing my app kills timer ?
- Subject: Minimizing my app kills timer ?
- From: Gabriel Zachmann via Cocoa-dev <email@hidden>
- Date: Sat, 2 May 2020 16:15:34 +0200
I've got an app that makes heavy use of ScreenSaverView (i.e., creates an
instance of a subclass).
In that view, I am creating some CALayers with animations,
which I exchange occasionally in method
- (void) animateOneFrame
of my class.
All works fine, except when I minimize my app (using the yellow window button).
After un-minimizing the app, the method animateOneFrame never gets called again.
I assume this method gets called by a timer that is set up in the class
ScreenSaverView.
Could it be that minimizing the app somehow kills that timer?
Or can anybody else think of any reason why the method animateOneFrame in my
class would not get called any more after un-minimizing the app?
All hints and suggestions will be highly appreciated.
Best regards, Gabriel
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden