Re: Icon radio buttons

2018-01-24 Thread Steve Christensen
You could manage the button state yourself without a lot of code. @IBOutlet var button1: NSButton// tag = 0 ... @IBOutlet var buttonN: NSButton// tag = N - 1 private var selectedPaletteButtonIndex: Int = 0 private var paletteButtons: [NSButton] override func viewDidLoad() { super.vi

Size of compiled NIBs in Xcode 9 (10.13 SDK)

2018-01-24 Thread Dragan Milić
My question is Xcode/ibtool related and not Cocoa, but since Xcode-users list is decommissioned quite some time ago, and related subtopic in Apple Dev Forum isn't very active, I hope you won't mind me asking here, since I couldn't fine explanation anywhere else. I've finally upgraded to macOS 1

Re: Size of compiled NIBs in Xcode 9 (10.13 SDK)

2018-01-24 Thread Jeremy Hughes
I posted a related question in https://apple-dev.groups.io/g/xcode/ ("Assets.car is much larger for High Sierra builds”) but I didn’t get much in the way of a reply. It seems that Assets.car is much larger when it is built with the 10.13 SDK than when it is built with the 10.12 SDK. I don’t kn

Re: Size of compiled NIBs in Xcode 9 (10.13 SDK)

2018-01-24 Thread Jeremy Hughes
> I posted a related question in https://apple-dev.groups.io/g/xcode/ > ("Assets.car is much larger for High Sierra builds”) but I didn’t get much in > the way of a reply. https://apple-dev.groups.io/g/xcode/message/396 > It seems that Assets.car is much larger when it is built with the 10.13 S

Re: Size of compiled NIBs in Xcode 9 (10.13 SDK)

2018-01-24 Thread Gary L. Wade
I would suggest addressing your concern at https://bugreport.apple.com/ -- Gary L. Wade http://www.garywade.com/ On Jan 24, 2018, at 11:05 AM, Jeremy Hughes wrote: >> I posted a related question in https://apple-dev.groups.io/g/xcode/ >> ("Assets.car is much larger for High Sierra builds”) but

Re: Size of compiled NIBs in Xcode 9 (10.13 SDK)

2018-01-24 Thread Vince DeMarco
Looking at the info. The size is larger because the application icons are now included in the Assets.car file. When you target a newer version of OSX, the icons will NOT be stored as .icns files in the file package but instead they will be in the assets.car file Vince > On Jan 24, 2018, at 1

Re: Size of compiled NIBs in Xcode 9 (10.13 SDK)

2018-01-24 Thread Dragan Milić
On Jan 24, 2018, at 20.03, Jeremy Hughes wrote: > I posted a related question in https://apple-dev.groups.io/g/xcode/ > ("Assets.car is much larger for High Sierra builds”) but I didn’t get much in > the way of a reply. Yeah, my problem is not exactly related. But thanks for the link, I didn't

Re: Size of compiled NIBs in Xcode 9 (10.13 SDK)

2018-01-24 Thread Jeremy Hughes
> On 24 Jan 2018, at 19:46, Dragan Milić wrote: > > BTW, in both cases (Xcode 9 - 10.13 SDK and Xcode 8 - 10.12 SDK) the > deployment target is macOS 10.11, so I don't think that setting matters. Vince has explained why it does matter. If you change the deployment target to 10.13 (which you pr

Re: Re: Icon radio buttons

2018-01-24 Thread Casey McDermott
Thanks for all the helpful replies. Was this list on hiatus for a month? We sent the question Dec 22 and it was just posted yesterday. Fortunately, it was not hard to "roll our own". Probably would have needed that anyhow because the buttons respond differently to double-click. Thanks, Casey

Re: Icon radio buttons

2018-01-24 Thread Alex Zavatone
> On Jan 24, 2018, at 2:25 PM, Casey McDermott wrote: > > Thanks for all the helpful replies. > > Was this list on hiatus for a month? We sent the question Dec 22 and it > was just posted yesterday. I know that I was excessively useless during that time, but I’m not involved with running the

Re: Size of compiled NIBs in Xcode 9 (10.13 SDK)

2018-01-24 Thread Dragan Milić
On Jan 24, 2018, at 20.56, Jeremy Hughes wrote: > Vince has explained why it does matter. > > If you change the deployment target to 10.13 (which you probably don’t want > to do) the application icons should no longer be duplicated. They’re > currently being duplicated for backwards compatibili

Re: Size of compiled NIBs in Xcode 9 (10.13 SDK)

2018-01-24 Thread Alex Zavatone
I think I may have asked this before, but is there a tool or command line available to unpack these assets.car files so that we can inspect what’s inside? Thanks, Alex Zavatone > On Jan 24, 2018, at 1:56 PM, Jeremy Hughes > wrote: > >> On 24 Jan 2018, at 19:46, Dragan Milić wrote: >> >> BTW

Re: Size of compiled NIBs in Xcode 9 (10.13 SDK)

2018-01-24 Thread Alex Zavatone
Dragan, if you are able to make a build where the .nib is not compressed, you could diff them or simply open them in an editor and see the difference between both? Back when I worked at Macromedia on this prehistoric product known as Director and this other thing known as Shockwave, whenever we

Re: Size of compiled NIBs in Xcode 9 (10.13 SDK)

2018-01-24 Thread Vince DeMarco
Please file a bug with apple, and post the radar number here. Please include a simple test project that shows the nib changes. Vince > On Jan 24, 2018, at 1:23 PM, Dragan Milić wrote: > > On Jan 24, 2018, at 20.56, Jeremy Hughes wrote: > >> Vince has explained why it does matter. >> >> If yo

Re: Size of compiled NIBs in Xcode 9 (10.13 SDK)

2018-01-24 Thread Vince DeMarco
There isn't, if you would like one please file a bug with apple requesting this. Vince > On Jan 24, 2018, at 1:24 PM, Alex Zavatone wrote: > > I think I may have asked this before, but is there a tool or command line > available to unpack these assets.car files so that we can inspect what’s >

Re: Size of compiled NIBs in Xcode 9 (10.13 SDK)

2018-01-24 Thread Alex Zavatone
> On Jan 24, 2018, at 3:41 PM, Vince DeMarco wrote: > > There isn't, if you would like one please file a bug with apple requesting > this. > > Vince Done. https://bugreport.apple.com/web/?problemID=36838243 36838243 Please provide a tool or CLI to allow us to unpack an assets.car file. Cre

Re: Size of compiled NIBs in Xcode 9 (10.13 SDK)

2018-01-24 Thread Saagar Jha
Have you tried assetutil? Run it with assetutil —info [Assets.car] Saagar Jha > On Jan 24, 2018, at 13:24, Alex Zavatone wrote: > > I think I may have asked this before, but is there a tool or command line > available to unpack these assets.car files so that we can inspect what’s > inside? >