• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
stringByAppendingBlahBlah woes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

stringByAppendingBlahBlah woes


  • Subject: stringByAppendingBlahBlah woes
  • From: Jérome Foucher <email@hidden>
  • Date: Fri, 26 Sep 2003 10:10:59 +0200

Hi all,

I didn't find the answer in the doc nor in the books I have, so here it is :

if I call :
NSString* path;
path = [NSHomeDirectory() stringByAppendingPathComponent:@"Documents"];
exists = [[NSFileManager defaultManager] fileExistsAtPath:path];

do I have to release path ? or will it be autoreleased ? or do I have to bracket the call by an NSAutoReleasePool ?

Thanks
Jerome
_______________________________________________
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.

  • Follow-Ups:
    • Re: stringByAppendingBlahBlah woes
      • From: "M. Uli Kusterer" <email@hidden>
    • Re: stringByAppendingBlahBlah woes
      • From: j o a r <email@hidden>
  • Prev by Date: Re: Non-View Text Engine
  • Next by Date: Re: Is Cocoa+Java considered relevant to the list?
  • Previous by thread: Re: Non-View Text Engine
  • Next by thread: Re: stringByAppendingBlahBlah woes
  • Index(es):
    • Date
    • Thread