Re: Memory Management question

2008-12-25 Thread Scott Wilson
released when it is no longer of any relevance in this particular context. Therefor, I think you'll find that your findings are indeed the expected behavior - if it's worked in the past it's due more to luck than to anything else. -rob. On Dec 25, 2008, at 2:30 PM, Scot

Memory Management question

2008-12-25 Thread Scott Wilson
I have an odd case. I've got a NSTextView delegate method which looks like this: - (BOOL) textView: (NSTextView *) textView clickedOnLink: (id) link atIndex: (unsigned) charIndex { ... NSURL *desiredURL; // is it a NSURL link or a NSString