diff options
| author | Teddy Wing | 2012-07-21 01:36:20 -0400 | 
|---|---|---|
| committer | Teddy Wing | 2012-07-21 01:36:20 -0400 | 
| commit | f4c76d74ecb66bad371fbf0337c6dbfbe3c8188a (patch) | |
| tree | 517139071f05e80a75ca92d811594ea8aba7498e | |
| parent | 02a72745332764ca4e7ed48b0d26fe5e083ecefc (diff) | |
| download | On-Task-f4c76d74ecb66bad371fbf0337c6dbfbe3c8188a.tar.bz2 | |
Added descriptive comment to folder creation block
| -rw-r--r-- | Classes/NSFileManager+DirectoryLocations.m | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/Classes/NSFileManager+DirectoryLocations.m b/Classes/NSFileManager+DirectoryLocations.m index 9d0363a..3a0b017 100644 --- a/Classes/NSFileManager+DirectoryLocations.m +++ b/Classes/NSFileManager+DirectoryLocations.m @@ -14,6 +14,7 @@      NSString *basePath = ([paths count] > 0) ? [paths objectAtIndex: 0] : NSTemporaryDirectory();  	NSString *applicationSupportPath = [basePath stringByAppendingPathComponent:@"On Task"]; +	// If our Application Support directory doesn't exist yet then create it  	if (![[NSFileManager defaultManager] fileExistsAtPath:applicationSupportPath]) {  		if (![[NSFileManager defaultManager] createDirectoryAtPath:applicationSupportPath attributes:nil]) {  			NSLog(@"Error: Could not create folder %@", applicationSupportPath); | 
