Re: Help: How do you start debugging this crashlog?
Re: Help: How do you start debugging this crashlog?
- Subject: Re: Help: How do you start debugging this crashlog?
- From: David P Henderson <email@hidden>
- Date: Mon, 21 Jul 2003 07:10:52 -0400
On Monday, 21 July 2003, at 4:35AM, Troy Dawson wrote:
A rather poor choice of words sows the seeds of confusion. How
exactly does one "allocate an autoreleased object" in Cocoa?
[[MyClass new] autorelease];
You still haven't allocated an autoreleased object. You have allocated
an object then autoreleased it.
Dave
--
Chaos Assembly Werks
"The difference between Objective-C and Java is: in Java , you only get
a shoe string with which to hang yourself, but in Objective-C, you get
as much rope as you want."
_______________________________________________
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.