When do these objects get released under ARC?
问题 I have a few questions about ARC (automatic reference counting): CFURLRef url = (__bridge CFURLRef)[NSURL fileURLWithPath:appPath]; //Question 1: Here, I would expect the NSURL object to be autoreleased and //therefore the CFURLRef will also be available for “a while.” Is this correct? url = NULL; //Question 2: Will this cause the NSURL to be released immediately? NSURL *url = [NSURL fileURLWithPath:appPath]; url = nil; //Question 3: Does the “url = nil” result in an immediate release of the