When I have a property like this:
@property (nonatomic, readonly, copy) NSURL *sourceURL;
And then I call:
NSURL *url = self.sourceURL;
Assuming that ARC is disabled, to ensure this object does not leak, must I manually release url? If so, how come I don't have to with:
NSURL *url = [NSURL URLWithString:@"http://www.apple.com"];
NSURL *absURL = url.absoluteURL;
Despite the absoluteString property also being readonly and copy:
As per Apple:
@property(nullable, readonly, copy) NSURL *absoluteURL;