With automatic reference counting (ARC), the compiler inserts retain, release, and autorelease statements where they are needed, so you don't have to write them yourself. It also writes dealloc methods for you.
The sample program from Manual Memory Management looks like this with ARC:
@interface M...