[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: coding for standard in
From: |
Graham J Lee |
Subject: |
Re: coding for standard in |
Date: |
Tue, 12 Dec 2006 10:14:09 +0000 |
On 12 Dec 2006, at 09:49, Marc Brünink wrote:
Hi,
please do not be offended, but you did not understand memory
management in Obj-C.
[...]
but you do not have to alloc-init them. fileHandleForReadingAtPath:
and readDataToEndOfFile]; both return autoreleased objects, which
means all the alloc-init stuff is done for you. Please re-read your
favorite Obj-C manual. Espacially the sections about memory
management.
Favourite paste at about this point in a thread: http://
www.stepwise.com/Articles/Technical/HoldMe.html
:-)
--
Graham J Lee
http://www.thaesofereode.info/