Get CALayers view

Posted by eaigner on Stack Overflow See other posts from Stack Overflow or by eaigner
Published on 2010-06-05T11:27:19Z Indexed on 2010/06/05 11:32 UTC
Read the original article Hit count: 320

Filed under:
|
|

Hi,

is it somehow possible to get the nearest "container" NSView of a CALayer? My problem is I'm managing tracking areas in my "container" NSView, and those need to be updated if a layer is moved/added etc. and i would like to automate that somehow instead of calling my -updateTrackingAreas function manually.

Regards, Erik

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about cocoa