In my method

   - (void) viewDidMoveToWindow

I have these lines of code:

    window_ = [self window];
    NSUInteger idx_of_screen = [NSScreen.screens indexOfObject: window_.screen];

My question is: will this always produce the same results, whether or not the 
user has switched "Displays have separate Spaces" on or off (under Desktop & 
Dock).


Best regards, Gabriel

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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