I have a problem.  I need to know when an NSApplicationDefined NSEvent is 
deallocated, because it contains a reference to an object in data1 and I want 
to release that object at that time.  Problem is, you can't subclass NSEvent 
because there are no public initialisers.  Short of swizzling [NSEvent dealloc] 
(erk!) does anyone have an idea about how I might be able to catch an NSEvent 
object at the point of deallocation?

Many thanks,

Paul Sanders.
_______________________________________________

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

Reply via email to