Please continue to reply to the list.  That way: a) others can jump in to help, 
too; and b) others can see whatever advice I give to you (whether it turns out 
to be good or bad).

On Jun 24, 2015, at 9:56 PM, Thomas Wetmore <t...@verizon.net> wrote:

> Thanks.

You're welcome.

> I must admit that I will have to work for awhile to figure out what your 
> answer means. …
> 
> I don’t yet know what call through to super means in this context. Do you 
> mean to try calling hitTest on the superview?

No, I mean calling the method on the superclass.

var hit = super.hitTest(aPoint)
if hit == nil {
    // … check if you want to set hit to self …
}
return hit


> I did just override opaque in the custom view to be true (yes, I’m doing it 
> all in Swift) , but it didn’t change the behavior. I was hoping for an easy 
> fix!

Oh, well.

Regards,
Ken


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to