Re: Auto layout without ambiguity

2014-11-01 Thread Gerriet M. Denkmann
> On 2 Nov 2014, at 09:01, Roland King wrote: > > >> On 2 Nov 2014, at 12:17 am, Gerriet M. Denkmann wrote: >> >> 10.10 >> >> From left to right: >> >> fixed distance from super view >> Label >> fixed distance >> TextField (this should be ≥ something, otherwise fitting to content) >> fixed

Re: Auto layout without ambiguity

2014-11-01 Thread Roland King
> On 2 Nov 2014, at 12:17 am, Gerriet M. Denkmann wrote: > > 10.10 > > From left to right: > > fixed distance from super view > Label > fixed distance > TextField (this should be ≥ something, otherwise fitting to content) > fixed distance > Label > variable distance (≥ some minimum) > Button

Re: Auto layout without ambiguity

2014-11-01 Thread Gerriet M. Denkmann
> On 2 Nov 2014, at 00:41, Marco S Hyman wrote: > > On Nov 1, 2014, at 9:17 AM, Gerriet M. Denkmann wrote: >> >> TextField (this should be ≥ something, otherwise fitting to content) >> ... >> variable distance (≥ some minimum) > > Are they the same priorities? I experimented with these: Tex

Re: hueComponent not valid for the NSColor

2014-11-01 Thread Tamas Nagy
> > Guess my real question is: > > Why is "whiteColor" not in RGB while "redColor" is? > Just because is doesn't have to? Exactly. Why to use 3 components when you could use only 1 to describe the same value? ___ Cocoa-dev mailing list (Cocoa-dev

Re: hueComponent not valid for the NSColor

2014-11-01 Thread Torsten Curdt
> It's a color space that only contains a white and alpha component. Hue doesn't make sense in an all white space. It's like if we were talking about a train that only goes between NYC and DC, and you asked "How long does it take for that train to reach London?" You can't ask that question because

Re: hueComponent not valid for the NSColor

2014-11-01 Thread Stephen J. Butler
It's a color space that only contains a white and alpha component. Hue doesn't make sense in an all white space. It's like if we were talking about a train that only goes between NYC and DC, and you asked "How long does it take for that train to reach London?" You can't ask that question because th

Re: hueComponent not valid for the NSColor

2014-11-01 Thread Tamas Nagy
Hi, [NSColor whiteColor] produced a color which using the NSCalibratedWhiteColorSpace, and “hue” component is not exists in a "white-only colorspace”. In other words, that is not an RGB color space, that color space only contains white - but hue cannot be interpreted there. Tamas > On 01 Nov

hueComponent not valid for the NSColor

2014-11-01 Thread Torsten Curdt
I am struggling to understand why this causes an exception NSColor *base = [NSColor whiteColor]; NSColor *stroke = [NSColor colorWithCalibratedHue:base.hueComponent saturation:base.saturationComponent brightness:0.4

Re: Auto layout without ambiguity

2014-11-01 Thread Marco S Hyman
On Nov 1, 2014, at 9:17 AM, Gerriet M. Denkmann wrote: > > TextField (this should be ≥ something, otherwise fitting to content) > ... > variable distance (≥ some minimum) Are they the same priorities? Marc ___ Cocoa-dev mailing list (Cocoa-dev@lists

Auto layout without ambiguity

2014-11-01 Thread Gerriet M. Denkmann
10.10 From left to right: fixed distance from super view Label fixed distance TextField (this should be ≥ something, otherwise fitting to content) fixed distance Label variable distance (≥ some minimum) Button fixed distance to super view When I set the width of TextField to ≥ something, Xcode

Editing NSOutlineView Group Item

2014-11-01 Thread Luther Baker
I've got an NSOutlineView backed by a manually mapped core data based document model of which I can save edits to the persistence store just fine. I have created a detail view which can update the text of the selected item - and for the most part, telling the outline view to reload data for the se

terminationHandler of NSTask delayed

2014-11-01 Thread Gerriet M. Denkmann
App with NSTimer, which periodically starts an NSTask, which has a terminationHandler. Sometimes (no idea how to trigger this) the terminationHandlers do NOT get executed when the task terminates. Only when I make my app active, a whole bunch of them will - but not in the correct order. Is thi