November 2013
Intermediate to advanced
576 pages
19h 3m
English
There are four ARC qualifiers for object ownership that tell the compiler how to handle each object. The qualifiers are specified either implicitly (__strong is the default) or explicitly when declaring an object.
__autoreleasing: autoreleasing is not the same as autorelease; rather, it is used for passing an object by reference, as in this example:
__autoreleasing NSError *error = nil;self.listArray = [moc executeFetchRequest:fetchReq error:&error];
__strong: strong ...
Read now
Unlock full access