Re: Leaking Memory
Re: Leaking Memory
- Subject: Re: Leaking Memory
- From: Shawn Erickson <email@hidden>
- Date: Mon, 20 Jan 2003 16:51:37 -0800
On Monday, January 20, 2003, at 04:09 PM, John C. Randolph wrote:
On Monday, January 20, 2003, at 03:42 PM, Shawn Erickson wrote:
This is done in Objective-C using a "retain" counting system that
allows an object to delete itself when it is no longer needed. To ask
an object in Objective-C to remain one simply calls retain().
Sorry to be overly pedantic here, but in Objective-C, you send
-retain, you don't call retain(). In Obj-C, we don't call methods, we
send messages. The runtime calls methods after looking up the > message.
Oh, now your really gonna confuse the new folks ;-)
-Shawn
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.