Re: newbie: question: i have a memory leak: obj-c 2.0: modification of program in "Cocoa with Objective-C"
Re: newbie: question: i have a memory leak: obj-c 2.0: modification of program in "Cocoa with Objective-C"
- Subject: Re: newbie: question: i have a memory leak: obj-c 2.0: modification of program in "Cocoa with Objective-C"
- From: George Greene <email@hidden>
- Date: Sun, 3 Feb 2008 17:14:30 -0500
thanks, scott had told me this as well, but i thought it was still
enabled from the last program i had done, the Cocoa Application
Tutorial. (i forgot it was a project setting. i, for some reason, was
thinking it was an XCode preferences setting.
ok, it works perfectly now that i've enable garbage collection for the
project.
for those who want to know:
Project > Edit Project Settings
then
Section GCC 4.0-Code generation
Objective-C Garbage collection supported [-fobjc-
gc]
thanks Kyle,
george.
p.s. don't go far as i am new to this keep an eye out. :-)
thanks again, everyone.
On Feb 3, 2008, at 4:41 PM, Kyle Sluder wrote:
On Feb 3, 2008 3:45 PM, George Greene <email@hidden> wrote:
when i run the code as listed below i get a leaking message.
Have you actually enabled garbage collection in the target properties?
--Kyle Sluder
_______________________________________________
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