I am getting the error:
"-[CFString retain]: message sent to deallocated instance"
when returning [NSString stringWithFormat:@"%d is reserved for future use",reportID]; to objectValueForTableColumn in an NSOutlineController.
But when the literal [@"This is a test" copy] is used all is well.
I thought that stringWithFormat would return a pointer that would be retained by the receiver just like [@"This is a test" copy] does but I seem to be misunderstanding stringWithFormat.