From: Jeremy Henty Date: 2006-11-20T06:40:07+09:00 Subject: Is there a hook that is called whenever an instance variable is assigned? I'm developing an editing application with full undo/redo, so my objects must log all changes to a history that can be rolled backwards and forwards. This is just crying out for some fancy metaprogramming, and it would be really neat if I could insert some code that is called whenever an object assigns an instance variable. Is there anything like that? Regards, Jeremy Henty