Search
Rich's Mad Rants
Powered by Squarespace

Creating iOS 5 Apps Discussion > Page 77 - Errata: use of retain

In the code sample on page 77, you call retain on the passed in arguments. Since you previously stated that we will use ARC throughout this book, the retains should be removed.

December 21, 2011 | Unregistered CommenterScott

Good catch. I thought I'd caught all of those when I converted the chapter to ARC.

If you're using ARC, that won't compile.

I'll add a note to the errata page.

December 23, 2011 | Unregistered CommenterRich