Thanks Kyle,
This is almost perfectly what I need!
However, one problem I've found is with custom layer-hosting controls.
Suppose my control consists of two segments. Each segment is
represented with a child CALayer. Now I want the focus ring to contour
only one segment. In this case, the ring ap
On Mar 1, 2013, at 1:26 AM, Oleg Krupnov wrote:
>
> It seems like a known problem. Is there some workaround?
This is why Apple added the -drawFocusRingMask API. Try using that instead of
drawing the focus ring manually.
--Kyle Sluder
___
Cocoa-dev
I have two custom views in a container view. The first view is a
custom layer-hosting view, the second one is an ordinary custom view
without layers.
Both views can have keyboard focus and draw focus rings around
themselves. As usual, the focus ring is drawn partially on the
superview.
In the fir