On Jul 22, 2015, at 02:01 PM, Juanjo Conti <jjco...@carouselapps.com> 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 (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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to