Hey, I am having a difficult time using hittest on a layer containing many sublayers which are moving. The moving sublayers are SCJammerSignal, a subclass of CALayer, and are all in a layer named signalLayer. The layers are moved with an explicit CAKeyframeAnimation which acts on their position. When I use this code
CALayer* clickedOn = [[signalLayer presentationLayer] hitTest:pointInView]; It always returns a pointer to singalLayer, and prints "expecting model layer not copy: <SCJammerSignal: 0x17c00d80>" I haven't made any weird additions to SCJammerSignal, it only has one member variable, a CGColorRef, and a method for drawing itself. Does anybody know what is going on here? Thank You, Bridger Maxwell _______________________________________________ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com