Re: Can I show different content in different screens? (screensaver)
Re: Can I show different content in different screens? (screensaver)
- Subject: Re: Can I show different content in different screens? (screensaver)
- From: Steve Mills <email@hidden>
- Date: Wed, 22 Jul 2015 19:09:53 +0000 (GMT)
On Jul 22, 2015, at 02:01 PM, Juanjo Conti <email@hidden> wrote:
So, from the code, I can tell in which screen my code is running?
If you use the standard Xcode template for making your screen saver project, then your class is a subclass of ScreenSaverView, which is a subclass of NSView, from which you can get its NSWindow, from which you can get its NSScreen. So as long as all of those return valid objects, there ya go. I don't have my code in front of me to jog my memory any further.
Sent from iCloud absurdly horrible UI
_______________________________________________
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