
/*
	NSFileManager: Get the path within the user's Library directory
	Original Source: <http://cocoa.karelia.com/Foundation_Categories/NSFileManager__Get_.m>
	(See copyright notice at <http://cocoa.karelia.com>)
*/

/*"	Return the path in the user library path of the given sub-path.  In other words, if given inSubPath is "foo", the path returned will be /Users/myUser/Library/foo
"*/
-  (NSString *) pathFromUserLibraryPath:(NSString *)inSubPath
{
	NSArray *domains = NSSearchPathForDirectoriesInDomains(NSLibraryDirectory,NSUserDomainMask,YES);
	NSString *baseDir= [domains objectAtIndex:0];
	NSString *result = [baseDir stringByAppendingPathComponent:inSubPath];
	return result;
}