• 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
Re: Temporary files best practice?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Temporary files best practice?


  • Subject: Re: Temporary files best practice?
  • From: "Alan Smith" <email@hidden>
  • Date: Sun, 2 Sep 2007 08:42:32 -0400

Knut,

Try tmpnam(). For example:

- (NSString*)temporaryFilePath
{
  returrn [NSString stringWithUTF8String: tmpnam(nil)];
}

Enjoy!

Peace, Alan

--
My blog: cocoalatte.info

// Things I've said -------------------------
"Maturity resides in the mind."
"Silence is the Universe's greatest gift."
"When the World realizes that personal beliefs are not something to
argue or fight over, it shall evolve."
_______________________________________________

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

  • Follow-Ups:
    • Re: Temporary files best practice?
      • From: Knut Lorenzen <email@hidden>
References: 
 >Temporary files best practice? (From: Knut Lorenzen <email@hidden>)

  • Prev by Date: Re: Are there any generic controller classes?
  • Next by Date: Re: Temporary files best practice?
  • Previous by thread: Temporary files best practice?
  • Next by thread: Re: Temporary files best practice?
  • Index(es):
    • Date
    • Thread