On Fri, Apr 4, 2008 at 1:03 AM, Dmitry Markman <[EMAIL PROTECTED]> wrote:

>  but from other hand in the complex Carbon application, where I never
> explicitly created NSAutoreleasePool object
>  I can call
>             NSString *textString = [NSString stringWithCString:"Hello From
> Cocoa" encoding:NSMacOSRomanStringEncoding];
>  without any warnings about _NSAutoreleaseNoPool

You are quite sure this code is being executed?

>  so I suppose default NSAutoreleasePool was created for me

I don't think it ever gets created for you; XCode can generate code
that creates it; if so, you should be able to find "NSAutoreleasePool"
with a project-wide search.

Hamish
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to