[NSButton state] must by used from the main thread

2017-09-26 Thread Tamas Nagy
Hi there, XCode 9’s new main thread checker feature found the possible issue mentioned on the subject line. Indeed there is a background thread that check’s the state of an NSButton subclass, but I’m wondering if this is a real issue - I understand the problems with changing the UI from a backg

Re: [NSButton state] must by used from the main thread

2017-09-26 Thread Quincey Morris
On Sep 26, 2017, at 01:16 , Tamas Nagy wrote: > > but “state” of the NSButton is a NSInteger property, so that should be safe > to read from a background thread, right? Not necessarily. If the setter is thread-unsafe, then it’s possible that the getter may retrieve an incorrect value. It’s no

Re: [NSButton state] must by used from the main thread

2017-09-26 Thread Tamas Nagy
Makes sense, thanks Quincey. Best, Tamas > On 2017. Sep 26., at 10:35, Quincey Morris > wrote: > > On Sep 26, 2017, at 01:16 , Tamas Nagy > wrote: >> >> but “state” of the NSButton is a NSInteger property, so that should be safe >> to read from a background

High Sierra

2017-09-26 Thread Richard Charles
The developer downloads area has a button to download macOS High Sierra 10.13 17A365 Sep 25, 2017. Clicking the button takes me to an App Store macOS High Sierra Beta download. So how do I get the released version and not the beta? --Richard Charles _

Re: High Sierra

2017-09-26 Thread Richard Charles
> On Sep 26, 2017, at 8:50 AM, Richard Charles wrote: > > The developer downloads area has a button to download macOS High Sierra 10.13 > 17A365 Sep 25, 2017. Clicking the button takes me to an App Store macOS High > Sierra Beta download. So how do I get the released version and not the beta?

Re: High Sierra

2017-09-26 Thread sqwarqDev
Likely you have a copy of the beta installer either on your boot drive or an attached periphery. Delete that copy (or move it to another disk and unmount it), then do ‘Command-R’ to refresh the App Store page. Best Phil @sqwarq > On 26 Sep 2017, at 19:50, Richard Charles wrote: > > The

Re: High Sierra

2017-09-26 Thread Richard Charles
> On Sep 26, 2017, at 7:00 AM, sqwarqDev wrote: > > Likely you have a copy of the beta installer either on your boot drive or an > attached periphery. > > Delete that copy (or move it to another disk and unmount it), then do > ‘Command-R’ to refresh the App Store page. Actually I do not have

Re: High Sierra

2017-09-26 Thread sqwarqDev
Fair enough. I’d seen (and had) the issue with an existing installer during the beta updates and figured it was the same. Glad you got it sorted! Best Phil @sqwarq > On 26 Sep 2017, at 20:25, Richard Charles wrote: > > >> On Sep 26, 2017, at 7:00 AM, sqwarqDev wrote: >> >> Likely you ha

Re: [NSButton state] must by used from the main thread

2017-09-26 Thread Gary L. Wade
If you have an issue with one API reporting such an issue, write a radar, as I did for getting the application’s delegate when I encountered it. For a button’s state, however, there may be a better way to pass that value to a background thread, especially if the button should be setting a value

High Sierra Firmware Update

2017-09-26 Thread Richard Charles
I have a 2009 Mac Pro with the firmware upgraded from MacPro4,1 B08 to MacPro5,1 B03. It has been running macOS Sierra flawlessly for 9 months. Now when installing macOS High Sierra I get the following message. "To install macOS High Sierra, a firmware update is required.” So apparently H

Re: [NSButton state] must by used from the main thread

2017-09-26 Thread Jens Alfke
> On Sep 26, 2017, at 1:16 AM, Tamas Nagy wrote: > > “state” of the NSButton is a NSInteger property, so that should be safe to > read from a background thread, right? No. You can’t tell anything about a property’s implementation from its return type. You’re assuming it’s a synthesized gette

Re: [NSButton state] must by used from the main thread

2017-09-26 Thread Quincey Morris
On Sep 26, 2017, at 08:19 , Jens Alfke wrote: > > You’re assuming it’s a synthesized getter, but there’s no reason it couldn’t > be a custom method that does arbitrary computation before returning the > value, and there’s no way to know whether that work is thread-safe or not. It is, in a sens

Re: High Sierra Firmware Update

2017-09-26 Thread Richard Charles
> On Sep 26, 2017, at 8:25 AM, Richard Charles wrote: > > I have a 2009 Mac Pro with the firmware upgraded from MacPro4,1 B08 to > MacPro5,1 B03. It has been running macOS Sierra flawlessly for 9 months. Now > when installing macOS High Sierra I get the following message. > > "To install

Re: High Sierra Firmware Update

2017-09-26 Thread Ben Kennedy
> On Sep 26, 2017, at 7:25 AM, Richard Charles wrote: > > Question: Has anyone successfully upgraded the firmware an older Mac Pro when > installing High Sierra? I upgraded my MacPro5,1 without incident. However, the subsequent installation progress just hung the computer when the progress ba