I find myself, over and over, creating a & storing q new object in an instVar, then storing (my)self on that object - so I can have easy access to the 'object that created me.'
<what I do now...> self instVar := NewClass new. self instVar callingObject: self. "where these call the same messages" self myMessage. self instVar callingObject myMessage. <is there a way to...> self instVar := NewClass new. self instVar objectWhoCreatedMe myMessage. "I know there is a 'thisContext sender' - but is there a 'who created me' concept?" Ultimately, there is no real overhead to storing (my)self on a new object, I guess, but as I'm developing and testing, I tend to have a whole lot of 'stranded objects' I have to remove manually. Thoughts? Thanks! -- Russ Whaley [email protected]
