aboutsummaryrefslogtreecommitdiffstats
path: root/Classes/NSFileManager+DirectoryLocations.h
diff options
context:
space:
mode:
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