Re: Are there any NSUserDefaults keys which aren't valid?
Re: Are there any NSUserDefaults keys which aren't valid?
- Subject: Re: Are there any NSUserDefaults keys which aren't valid?
- From: Adam Maxwell <email@hidden>
- Date: Thu, 26 Jan 2006 15:08:05 -0800
On Thursday, January 26, 2006, at 01:48PM, Jonathan del Strother <email@hidden> wrote:
>On 26 Jan 2006, at 19:32, j o a r wrote:
>>
>> Johathan; In the sample code provided, you haven't described the
>> "fileDate" variable. Can you tell us how it's created and used?
>
>
>It's set up a little earlier on, via :
>
>NSDate* fileDate = [[[NSFileManager defaultManager]
>fileAttributesAtPath:file traverseLink:YES]
>objectForKey:NSFileModificationDate];
>
>
>'file' has been guaranteed to exist, using
>
>if ([[NSFileManager defaultManager] fileExistsAtPath:file])
NSFileManager isn't thread safe, though (which is very unfortunate). Are you accounting for that?
<http://developer.apple.com/documentation/Cocoa/Conceptual/Multithreading/articles/CocoaSafety.html>
-- Adam
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden