|
Re: Autolayout(?) question
I will file a bug. The reason for using Xcode 9 is that there's a library that depends on the GNU stdc++ library, and the effort to bring that into Xcode 10 is too much to bother at this point.
I
I will file a bug. The reason for using Xcode 9 is that there's a library that depends on the GNU stdc++ library, and the effort to bring that into Xcode 10 is too much to bother at this point.
I
|
By
John Brownie
·
#867
·
|
|
Re: Autolayout(?) question
It could only be an issue while using the debugger; is there a reason for not using a more modern Xcode? Regardless, you should definitely file a bug report, including a sysdiagnose, your log from
It could only be an issue while using the debugger; is there a reason for not using a more modern Xcode? Regardless, you should definitely file a bug report, including a sysdiagnose, your log from
|
By
Gary L. Wade
·
#866
·
|
|
Re: Autolayout(?) question
I should add that it's a window in my app, not in Xcode. Running outside the debugger, it appears to be fine, but the exception stops me being able to check on some other issues related to the
I should add that it's a window in my app, not in Xcode. Running outside the debugger, it appears to be fine, but the exception stops me being able to check on some other issues related to the
|
By
John Brownie
·
#865
·
|
|
Re: Autolayout(?) question
Nobody? Here's the backtrace, if it helps:
0 AppKit 0x00007fff29b3657e -[NSWindow(NSDisplayCycle) _postWindowNeedsDisplayUnlessPostingDisabled] + 1964
1 AppKit
Nobody? Here's the backtrace, if it helps:
0 AppKit 0x00007fff29b3657e -[NSWindow(NSDisplayCycle) _postWindowNeedsDisplayUnlessPostingDisabled] + 1964
1 AppKit
|
By
John Brownie
·
#864
·
|
|
Re: Need help understanding a threading issue
Okay, I've got it.
The problem was that I was calling OperationQueue.main.addOperation(..) from an Operation. And that call was both capturing "self" and was the last piece of work in the Operation's
Okay, I've got it.
The problem was that I was calling OperationQueue.main.addOperation(..) from an Operation. And that call was both capturing "self" and was the last piece of work in the Operation's
|
By
Rick Aurbach
·
#863
·
|
|
Re: Need help understanding a threading issue
Yes, that was my thinking as well. But, the UI was not frozen. (And, indeed, if it had been frozen, I wouldn't have expected the Notification approach to work either.)
One additional piece of
Yes, that was my thinking as well. But, the UI was not frozen. (And, indeed, if it had been frozen, I wouldn't have expected the Notification approach to work either.)
One additional piece of
|
By
Rick Aurbach
·
#862
·
|
|
Autolayout(?) question
Running Xcode 9.4.1 on macOS 10.4.2, when I click on a combo box in a window, in the debugger I get an exception:
Nothing appears to be complaining about ambiguous constraints, and searching for that
Running Xcode 9.4.1 on macOS 10.4.2, when I click on a combo box in a window, in the debugger I get an exception:
Nothing appears to be complaining about ambiguous constraints, and searching for that
|
By
John Brownie
·
#861
·
|
|
Re: Need help understanding a threading issue
The only reason I can think of that the first two attempts wouldn’t work is that the main thread’s runloop is blocked, so it can’t process queued blocks. Are you by chance doing something on the
The only reason I can think of that the first two attempts wouldn’t work is that the main thread’s runloop is blocked, so it can’t process queued blocks. Are you by chance doing something on the
|
By
Jens Alfke
·
#860
·
|
|
Need help understanding a threading issue
Let me start by saying I have a solution to my problem, but would like to know why some of the other things I tried didn't work...
I have some procedures which are performed on background queues
Let me start by saying I have a solution to my problem, but would like to know why some of the other things I tried didn't work...
I have some procedures which are performed on background queues
|
By
Rick Aurbach
·
#859
·
|
|
Re: Creating a .icns file again
I can't seem to find a way to handle the dark/light versions. Trying iconutil with a system .icns file just gives me the regular ones. So, to make life simpler, I'll just ignore the dark versions and
I can't seem to find a way to handle the dark/light versions. Trying iconutil with a system .icns file just gives me the regular ones. So, to make life simpler, I'll just ignore the dark versions and
|
By
John Brownie
·
#858
·
|
|
Re: Creating a .icns file again
Why no alpha?
Also, just enter man iconutil.
More details.
https://stackoverflow.com/questions/46428673/iconutil-not-working-on-macos-high-sierra?rq=1
Lots
Why no alpha?
Also, just enter man iconutil.
More details.
https://stackoverflow.com/questions/46428673/iconutil-not-working-on-macos-high-sierra?rq=1
Lots
|
By
Alex Zavatone
·
#857
·
|
|
Re: Creating a .icns file again
OK, now I need to know how to use iconutil, since it's probably changed with Mojave by adding dark mode variants. I get the following icons:
NSISIconImageRep 0x600001873180 Size={128, 128}
OK, now I need to know how to use iconutil, since it's probably changed with Mojave by adding dark mode variants. I get the following icons:
NSISIconImageRep 0x600001873180 Size={128, 128}
|
By
John Brownie
·
#856
·
|
|
Re: Creating a .icns file again
OK, that looks hopeful. I'll have to dig a bit further to find out all I need, but this seems to get me in a better direction.
John
Alex Zavatone via Groups.Io wrote on 17/11/18 12:11:
--
John
OK, that looks hopeful. I'll have to dig a bit further to find out all I need, but this seems to get me in a better direction.
John
Alex Zavatone via Groups.Io wrote on 17/11/18 12:11:
--
John
|
By
John Brownie
·
#855
·
|
|
Re: Creating a .icns file again
Apple recommends using the command-line utility iconutil, which ships with
Apple recommends using the command-line utility iconutil, which ships with
|
By
Alex Zavatone
·
#854
·
|
|
Re: Creating a .icns file again
Do you just need to do this once, or is this a reoccurring thing you need to do while your app is running?
Hmm. I just did this converting PNG images. I’ll take a look.
There also are online
Do you just need to do this once, or is this a reoccurring thing you need to do while your app is running?
Hmm. I just did this converting PNG images. I’ll take a look.
There also are online
|
By
Alex Zavatone
·
#853
·
|
|
Creating a .icns file again
I solved this problem in 2012, and then again in 2014, when a change disrupted things. Now Mojave is changing the playing field once more...
The problem:
I need to get the icon for the current
I solved this problem in 2012, and then again in 2014, when a change disrupted things. Now Mojave is changing the playing field once more...
The problem:
I need to get the icon for the current
|
By
John Brownie
·
#852
·
|
|
Re: Run-time test for 10.14 when using 10.13 SDK
Thanks, that's what I needed.
John
Chris Hanson wrote on 7/11/18 22:18:
--
John Brownie
Mussau-Emira language, New Ireland Province, Papua New Guinea
Kouvola, Finland
Thanks, that's what I needed.
John
Chris Hanson wrote on 7/11/18 22:18:
--
John Brownie
Mussau-Emira language, New Ireland Province, Papua New Guinea
Kouvola, Finland
|
By
John Brownie
·
#851
·
|
|
Re: Run-time test for 10.14 when using 10.13 SDK
There should be a macro defined for the OS version. Apple uses these a lot in their headers. Look at a few class headers and you should see enough examples.
Cheers from Chennai,
Alex Zavatone.
There should be a macro defined for the OS version. Apple uses these a lot in their headers. Look at a few class headers and you should see enough examples.
Cheers from Chennai,
Alex Zavatone.
|
By
Alex Zavatone
·
#850
·
|
|
Re: Run-time test for 10.14 when using 10.13 SDK
There’s always the NSProcessInfo.operatingSystemVersion property.
-- Chris
There’s always the NSProcessInfo.operatingSystemVersion property.
-- Chris
|
By
Chris Hanson
·
#849
·
|
|
Run-time test for 10.14 when using 10.13 SDK
Because of other issues, I am having to use Xcode 9.4.1 for my app. However, there is one function that depends on a third-party tool which fails on macOS 10.14. I'd like to disable the command that
Because of other issues, I am having to use Xcode 9.4.1 for my app. However, there is one function that depends on a third-party tool which fails on macOS 10.14. I'd like to disable the command that
|
By
John Brownie
·
#848
·
|