Re: NSScreen.screens under multiple displays

2023-06-08 Thread Jeff Szuhay via Cocoa-dev
>resending from correct email address<


You may have to go to the Quartz level to get the active display list with

CGError 
 
CGGetOnlineDisplayList( uint32_t  maxDisplays, 
CGDirectDisplayID 

 *onlineDisplays, 
uint32_t *displayCount);

see 
>

I have been meaning to do this when I get around to updating my app but I have 
not not played with this yet.
Sample code? Sample code? Anyone?


> On Jun 8, 2023, at 12:06 PM, Alex Zavatone via Cocoa-dev 
> mailto:cocoa-dev@lists.apple.com>> wrote:
> 
> I have a 2 screen system running Ventura and another 3 screen system but not 
> under Ventura.  
> 
> I could build and test for you if you wish.
> 
>> On Jun 8, 2023, at 11:53 AM, Gabriel Zachmann via Cocoa-dev 
>> mailto:cocoa-dev@lists.apple.com>> wrote:
>> 
>> 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
>> 
>> ___
>> 
>> 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/zav%40mac.com 
>> 
>> 
>> This email sent to z...@mac.com
> 
> ___
> 
> 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/jeff%40szuhay.org 
> 
> 
> This email sent to j...@szuhay.org

___

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


Re: Thoughts on Objective-C++

2019-11-13 Thread Jeff Szuhay via Cocoa-dev
You made a business decision and now you must live with that decision.

Otherwise, this thread is really getting tiresome.


> On Nov 13, 2019, at 4:28 PM, Turtle Creek Software via Cocoa-dev 
>  wrote:
> 
> blah blah blah



___

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


Re: Best Xcode machine mid-2019?

2019-06-28 Thread Jeff Szuhay via Cocoa-dev
Compilation is largely an i/o-bound problem. Unless the projects you work on 
are hideously
large and would benefit from parallel processing (splitting the i/o among 
several processors), 
your current machine is quite satisfactory. 

Try this: using your current system, create a 4GB disk partition in memory. 
Then make that
partition the “Derived Data” location. 

You can see how here: 
[http://www.blinddogsoftware.com/goodies/#CacheInYourPocket]

If you notice an improvement in stability and decreased build time, great. If 
not, just keep
on building great apps.


> On Jun 28, 2019, at 11:02 AM, Steve Mykytyn via Cocoa-dev 
>  wrote:
> 
> My main Xcode machine is a late 2013 27-inch iMac, 24GB RAM, 3.5 GHz Core
> i7 with 500GB SSD.
> 
> It works fine, but I'm wondering if an iMac Pro or a top-of-the-line 2019
> iMac would be a life-changing experience.  Or just, "that's nice."
> 
> The Geekbench numbers are somewhat informative, but hoping for commentary
> based on personal, direct experience.

___

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