Quote:
Originally Posted by Kalimba
Hopefully this helps. Let us know how things progress.
|
That is a marvelous reply. Many, many thanks. And it all makes perfect sense.
I didn't want to release the array before I sent it back but it makes sense that the return is the last thing it does. Thanks for autorelease. That does the trick splendidly
It occurred to me that the way the array is filled with allocated arrays was causing the problem but when I ran the test code from the book it worked fine with no leaks.
I suspect that's because it was such a simple program the view was never switched out and I didn't notice. There's a better implementation of this automatic creation of indexes based on first letter in the apple table examples that I may try as well.
Again thanks.