I am writing a simple Obj-c app. So far I've never had to alloc
anything and I gave for granted that ARC would take care of memory management.
But now I have to call:
NSImage *myImage = [[NSImage alloc] initByReferencingFile: pathToMyImg];
After I'm done with myImage
should I manually dealloc
it?