Re: Not seeing rightMouseDown: - what are the docs actually saying ?

2019-10-21 Thread Aandi Inston via Cocoa-dev
Thank you very much for taking the time to build a test and make a reply. I don't (in general) actually have custom subviews. The clicks were tested (among other places) in parts of the NSWindow to which I have not explicitly added content, as well as standard classes like NSBox. I was suggesting

Re: Not seeing rightMouseDown: - what are the docs actually saying ?

2019-10-21 Thread Richard Charles via Cocoa-dev
> On Oct 20, 2019, at 8:27 AM, Aandi Inston wrote: > > We have a workaround, which is to move our right click processing onto > MouseUp, which is passed up the responder chain as we wish in both 32 and 64 > bit systems. But I remain curious as to what the docs are actually telling me. From

Re: Subclassing NSCollectionViewFlowLayout

2019-10-21 Thread David Duncan via Cocoa-dev
> On Oct 21, 2019, at 3:26 AM, Arved von Brasch via Cocoa-dev > wrote: > > Hello list, > > Thanks to someone on the list who provided me with a clue, I found that if I > add this to my NSCollectionViewItem subclass: > > override func viewWillAppear() { >super.viewWillAppear() >

Re: Subclassing NSCollectionViewFlowLayout

2019-10-21 Thread Arved von Brasch via Cocoa-dev
Hello list, Thanks to someone on the list who provided me with a clue, I found that if I add this to my NSCollectionViewItem subclass: override func viewWillAppear() { super.viewWillAppear() view.removeConstraints(view.constraints)