aboutsummaryrefslogtreecommitdiffstats
path: root/Classes/NSFileManager+DirectoryLocations.h
diff options
context:
space:
mode:
authorTeddy Wing2012-07-20 23:36:36 -0400
committerTeddy Wing2012-07-20 23:36:36 -0400
commit8575b4fe4e7283383154dc5ac016fcfe042dcb56 (patch)
tree48b3b8591382a82a3b48cc84271cf03da56cdc16 /Classes/NSFileManager+DirectoryLocations.h
parent7720dba1e726bdf91a6ae4191fe39285eeb1dee3 (diff)
downloadOn-Task-8575b4fe4e7283383154dc5ac016fcfe042dcb56.tar.bz2
New version of ApplicationSupport directory -finder.
Diffstat (limited to 'Classes/NSFileManager+DirectoryLocations.h')
-rw-r--r--Classes/NSFileManager+DirectoryLocations.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/Classes/NSFileManager+DirectoryLocations.h b/Classes/NSFileManager+DirectoryLocations.h
new file mode 100644
index 0000000..6c42204
--- /dev/null
+++ b/Classes/NSFileManager+DirectoryLocations.h
@@ -0,0 +1,17 @@
+// Based off of Matt Gallagher's 10.5+ category from:
+// http://cocoawithlove.com/2010/05/finding-or-creating-application-support.html
+//
+// Actual function code taken from Hasani Hunter:
+// http://www.cocoabuilder.com/archive/cocoa/190500-saving-to-application-support-folder.html#190506
+
+#import <Foundation/Foundation.h>
+
+//
+// DirectoryLocations is a set of global methods for finding the fixed location
+// directories.
+//
+@interface NSFileManager (DirectoryLocations)
+
+- (NSString *)applicationSupportDirectory;
+
+@end