Re: Layer-hosting views as superview?

2018-03-21 Thread Markus Spoettl
Hi Matt, On 3/21/18 18:40, Matt Jacobson wrote: Hi Markus, There's really no official distinction these days between a layer-hosting view and a regular view.  A view may have a layer (provided by directly calling -setLayer:), or AppKit may (or may not, depending on the exact circumstances)

Re: Layer-hosting views as superview?

2018-03-21 Thread Matt Jacobson
> On Mar 21, 2018, at 6:36 AM, Markus Spoettl wrote: > > On 3/21/18 14:26, Markus Spoettl wrote: >> It seems the old rule that layer-hosting views must not have sub-views is no >> longer >> valid. I remember in the old days you couldn't have layer-hosting NSViews >>

Re: Layer-hosting views as superview?

2018-03-21 Thread Markus Spoettl
On 3/21/18 14:26, Markus Spoettl wrote: It seems the old rule that layer-hosting views must not have sub-views is no longer valid. I remember in the old days you couldn't have layer-hosting NSViews that have sub-views. I can't find the portion in the documentation that explicitly forbids it

Layer-hosting views as superview?

2018-03-21 Thread Markus Spoettl
It seems the old rule that layer-hosting views must not have sub-views is no longer valid. I remember in the old days you couldn't have layer-hosting NSViews that have sub-views. I can't find the portion in the documentation that explicitly forbids it (I'm sure it was there). Can that be