On Thu, Mar 5, 2009 at 3:45 PM, Steve Shepard wrote:
> On Thu, Feb 19, 2009 at 7:36 AM, Michael Ash wrote:
>>
>> If you're looking for more information, note that NSTemporaryDirectory
>> is essentially equivalent to /tmp on a normal UNIX system
>
> This is not quite true.
>
> On Leopard, the dirh
On Thu, Mar 5, 2009 at 1:06 PM, Bill Bumgarner wrote:
> Then touch the files every 24 hours or so?
That would work. Of course you'd also have to register for sleep
notifications in case your user closed the laptop lid and left it
closed for more than three days, and you'd have to convince yoursel
On Thu, Feb 19, 2009 at 7:36 AM, Michael Ash wrote:
>
> If you're looking for more information, note that NSTemporaryDirectory
> is essentially equivalent to /tmp on a normal UNIX system
This is not quite true.
On Leopard, the dirhelper utility deletes files from
NSTemporaryDirectory that were l
On 19/02/2009 15:36, "Michael Ash" wrote:
> If you're looking for more information, note that NSTemporaryDirectory
> is essentially equivalent to /tmp on a normal UNIX system, although
> it's actually in a different location.
Hi Mike,
that's not quite true, NSTemporaryDirectory() should be some
On Feb 19, 2009, at 16:36, Michael Ash wrote:
Nothing to do with OOP, it's just good practice on the system.
Temporary files go in the temporary directory. There are several
reasons why this is a good idea:
- The temporary directory gets cleaned out regularly by the system. If
you forget to del
On Feb 19, 2009, at 8:11 AM, Mike Abdullah wrote:
Also don't forget that it enables Apple to automatically move your
app to use a completely different location in a future release of OS
X. e.g. it could be some kind of encrypted directory accessible only
to your app.
Thanks Mike...did n
thank You.
On Feb 19, 2009, at 7:45 AM, Sherm Pendley wrote:
And, of course, there's a very good meta-reason - you gain all of
the above
benefits without having to write, debug, or maintain the relevant code
yourself. Apple already wrote it, so why reinvent that wheel?
sherm--
Thank you Mike,
that's what I was looking for.
Michael.
On Feb 19, 2009, at 7:36 AM, Michael Ash wrote:
On Thu, Feb 19, 2009 at 9:15 AM, Michael wrote:
My question, having seen that the author creates and then stores
these
unique names in the NSTemporaryDirectory, is **why** one would
choos
On 19 Feb 2009, at 15:36, Michael Ash wrote:
On Thu, Feb 19, 2009 at 9:15 AM, Michael wrote:
My question, having seen that the author creates and then stores
these
unique names in the NSTemporaryDirectory, is **why** one would
choose that
directory over, say, some locally created directory
On Thu, Feb 19, 2009 at 10:36 AM, Michael Ash wrote:
> On Thu, Feb 19, 2009 at 9:15 AM, Michael wrote:
> > My question, having seen that the author creates and then stores these
> > unique names in the NSTemporaryDirectory, is **why** one would choose
> that
> > directory over, say, some locally
On Thu, Feb 19, 2009 at 9:15 AM, Michael wrote:
> My question, having seen that the author creates and then stores these
> unique names in the NSTemporaryDirectory, is **why** one would choose that
> directory over, say, some locally created directory..is there a good OOP
> reason for choosing tha
Hi all
I am going through Kochan's new book to learn Obj-C and cocoa..trying
to start with the basics...so hope you don't mind if I post some very
basic questions
Going through the exercises, I am currently stuck on this one as
follows.
"Given the NSPathUtilities.h function NSTempor
12 matches
Mail list logo