Re: release and reference counting query

2008-11-07 Thread Calum Robertson
ind for me it's easier to remember that I'm really calling a method on an object. Your mileage may vary. Even if you define things as properties you don't HAVE to use the 'dot' syntax if the other way makes it clearer to you. On Nov 7, 2008, at 7:59 PM, Calu

release and reference counting query

2008-11-07 Thread Calum Robertson
Hi, Below is a snippet of code from the "Creating an iPhone Application" document from the iPhone DevCenter. I'm not clear as to why this works. My understanding is that when [UIViewController alloc] is executed, the retain count is 1 and then when [aViewController release] is called, the retai