In the docs for NSManagedObjectContext
on the executeFetchRequest:error:
method it says it returns an array, but it doesn't mention whether the array is autoreleased or if it has a retain count = 1.
I'm assuming that it's autoreleased, since it appears to be a convenience method, but wasn't sure.
Edit Again
facepalm
I was checking the retain count before the autorelease pool had... released it.
Thanks for the tip on not calling retainCount
- I'll avoid it in the future. This is a good case in point where it led me astray.