|
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
·
|
|
Re: NSAlert runModal black window
Good thought, but I don’t think that is the problem this time. The alert is created in a function diretly called called from
func tableView(_ tableView: NSTableView,
acceptDrop
Good thought, but I don’t think that is the problem this time. The alert is created in a function diretly called called from
func tableView(_ tableView: NSTableView,
acceptDrop
|
By
Marco S Hyman
·
#847
·
|
|
Re: NSAlert runModal black window
My first assumption with symptoms like this is that there’s something trying to do UI from a background thread.
-- Chris
My first assumption with symptoms like this is that there’s something trying to do UI from a background thread.
-- Chris
|
By
Chris Hanson
·
#846
·
|
|
NSAlert runModal black window
Has NSAlert changed recently? Looking at the documentation I see that the only initializer (swift) is `init(error: Error)` yet my code never passes an error. Is the Error argument new?
But my issue
Has NSAlert changed recently? Looking at the documentation I see that the only initializer (swift) is `init(error: Error)` yet my code never passes an error. Is the Error argument new?
But my issue
|
By
Marco S Hyman
·
#845
·
|
|
Which NSColorSpace to convert NSColor for OpenGL use?
Hi all,
Given an arbitrary NSColor, how does one get the rgb components to pass to OpenGL APIs?
I know the getRed:green:blue:alpha: API, and I know I need to first use colorUsingColorSpace: to get a
Hi all,
Given an arbitrary NSColor, how does one get the rgb components to pass to OpenGL APIs?
I know the getRed:green:blue:alpha: API, and I know I need to first use colorUsingColorSpace: to get a
|
By
Sean McBride
·
#844
·
|
|
Re: Segue
Please pardon this little sidetrack from this storyboard discussion.
One thing I absolutely love (read the view controller header, folks - line 100 to 102) is simply using a storyboard as a skeleton
Please pardon this little sidetrack from this storyboard discussion.
One thing I absolutely love (read the view controller header, folks - line 100 to 102) is simply using a storyboard as a skeleton
|
By
Alex Zavatone
·
#843
·
|
|
Re: Rendering control images in Dark Mode
Thanks for that - that’s quite a nice effect.
I realised after posting and doing a bit more Googling that I have to apply the tint colours myself. It makes sense. I think I only need to colourise
Thanks for that - that’s quite a nice effect.
I realised after posting and doing a bit more Googling that I have to apply the tint colours myself. It makes sense. I think I only need to colourise
|
By
Graham Cox
·
#842
·
|
|
Re: Rendering control images in Dark Mode
[NSImage drawInRect:...] won't do it. NSImageView will render template images correctly, if you can somehow add one to your control, or you can use one of the methods discussed
[NSImage drawInRect:...] won't do it. NSImageView will render template images correctly, if you can somehow add one to your control, or you can use one of the methods discussed
|
By
Jon Gotow
·
#841
·
|
|
Rendering control images in Dark Mode
Hi all,
I have some custom controls (views) that I’m updating to be Dark Mode aware.
The view’s background is filled using the relevant semantic colour (controlBackgroundColor), and the icon is
Hi all,
I have some custom controls (views) that I’m updating to be Dark Mode aware.
The view’s background is filled using the relevant semantic colour (controlBackgroundColor), and the icon is
|
By
Graham Cox
·
#840
·
|
|
Default Groups
iOS app + Watch App + Watch App Extension all have Capabilities → App Groups → ON
selected: group.de.mdenkmann.BikeIosLogger
The iOS app has a Settings-Watch.bundle.
The Watch.app has:
Watch App
iOS app + Watch App + Watch App Extension all have Capabilities → App Groups → ON
selected: group.de.mdenkmann.BikeIosLogger
The iOS app has a Settings-Watch.bundle.
The Watch.app has:
Watch App
|
By
Gerriet M. Denkmann
·
#839
·
|
|
No Icon in Watch.app
iOS 12.0.1; watchOS 5.01; Xcode Version 10.0 (10A255)
MyWatchApp has all 11 png in Assets.xcassets/AppIcon set.
On the watch it’s icon is visible.
MyIosApp has all 8 png in
iOS 12.0.1; watchOS 5.01; Xcode Version 10.0 (10A255)
MyWatchApp has all 11 png in Assets.xcassets/AppIcon set.
On the watch it’s icon is visible.
MyIosApp has all 8 png in
|
By
Gerriet M. Denkmann
·
#838
·
|