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/




_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to