Re: memory (de)allocation in a command line Cocoa application
by "Aaron Gray" <ang.usenet@[EMAIL PROTECTED]
>
May 18, 2008 at 12:23 AM
"Aaron Gray" <ang.usenet@[EMAIL PROTECTED]
> wrote in message
news:69948pF2vhk3oU1@[EMAIL PROTECTED]
> "Aaron Gray" <ang.usenet@[EMAIL PROTECTED]
> wrote in message
> news:6991f3F30747bU1@[EMAIL PROTECTED]
>> Hi,
>>
>> I am trying to learn to program in Objective-C and Cocoa, still getting
>> the basics though.
>>
>> What I want to know about is memory management.
>>
>> I am getting messages saying "autoreleased with no pool in place".
>>
>> How do I go about creating a pool if thats what I need to do ?
>
> Okay I have found NSAutoreleasePool and how to use it but cannot find
the
> include/im****t file path to use ?
Okay <Foundation/Foundation.h>
Aaron