[F-Script-talk] Re: embedded question
Brought to you by:
pmougin
From: ackerman <rd...@pa...> - 2005-05-05 15:59:35
|
On May 4, 2005, at 2:14 PM, Nathan Strange wrote: > I'm no expert on ObjC or F-script so I'm not sure if this would work... > > But how about using a category to override NSObject's retain method > (or maybe > alloc or init) that would send a message to some sort of tracker object > while also doing the work of retain (which is hopefully well understood > by someone outside of Apple) > > sorry that I don't have anything more than a vague notion... > > -Nathan vague notions are better than none. couldn't the override just call NSObject's 'retain' method (or 'alloc' or 'init') - we wouldn't have to know its details. does anyone know of any code/plugin that does browse objects? that might give us a clue. is crawling the heap looking for objects out of the question? (not that i know how) |