Am 31.07.2013 um 07:39 schrieb livinginlosange...@mac.com:
> [_playLayer setAutoresizingMask:kCALayerMinXMargin | kCALayerMaxXMargin |
> kCALayerMinYMargin | kCALayerMaxYMargin];
> According to this code, the CALayer should be centered, and as the NSView's
> bounds change, the CALayer's frame
I am adding a special CALayer to the layer of my NSView. I can create my
special CALayer, configure it, and add it the center of my NSView layer's
heir-achy perfectly fine. However, as soon as I resize my main view, the
special CALayer's bounds change. I specified the following autoresizing mask