Re: NSTableView and crashes, what am I doing wrong?
Re: NSTableView and crashes, what am I doing wrong?
- Subject: Re: NSTableView and crashes, what am I doing wrong?
- From: j o a r <email@hidden>
- Date: Wed, 9 Apr 2003 02:40:28 +0200
Hej,
When you create objects using the convenience method below, they are
"autoreleased" and will be deallocated at the end of the current event
loop:
On Tuesday, Apr 8, 2003, at 21:50 Europe/Stockholm, Henrik Eliasson
wrote:
glassDict = [NSMutableDictionary dictionary];
glassArray = [NSMutableArray array];
Replace with:
glassDict = [[NSMutableDictionary alloc] init];
glassArray = [[NSMutableArray alloc] init];
...and read memory management articles online to boost your
understanding of this topic.
j o a r
_______________________________________________
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.