Re: Why is [NSArray arrayWithObjects:] failing for me?
Re: Why is [NSArray arrayWithObjects:] failing for me?
- Subject: Re: Why is [NSArray arrayWithObjects:] failing for me?
- From: "Paul Sanders" <email@hidden>
- Date: Mon, 4 Jan 2010 12:57:31 -0000
Essential reading:
http://developer.apple.com/mac/library/documentation/cocoa/Conceptual/MemoryMgmt/MemoryMgmt.html
The 'memory management rules' are not complex. A much bigger
problem is avoiding memory leaks.
Paul Sanders.
----- Original Message -----
From: "Charles Jenkins" <email@hidden>
To: "Cocoa-Dev List" <email@hidden>
Sent: Monday, January 04, 2010 12:44 PM
Subject: Re: Why is [NSArray arrayWithObjects:] failing for me?
Thank you to all who offered your expertise!
Whatta dumb mistake! I thought all objects were retained once
when
created, not auto-released. Gah!
I've been programming for 20+ years--mostly with C++ and C#.
Cocoa-ObjC
has the steepest learning curve of any programming I have ever
done. It
makes me feel like an idiot, so you can certainly expect to see
more of
these noobish questions from me... Thanks in advance for your
help and
patience!
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden