The iOS framework that grows only as fast as its documentation

Functions

NSString * NIPathForBundleResource (NSBundle *bundle, NSString *relativePath)
 
NSString * NIPathForDocumentsResource (NSString *relativePath)
 
NSString * NIPathForLibraryResource (NSString *relativePath)
 
NSString * NIPathForCachesResource (NSString *relativePath)
 

Overview

For creating standard system paths.

Function Documentation

NIPathForBundleResource

Create a path with the given bundle and the relative path appended.

NSString* NIPathForBundleResource;
Discussion
Parameters
bundleThe bundle to append relativePath to. If nil, [NSBundle mainBundle] will be used.
relativePathThe relative path to append to the bundle's path.
Returns
The bundle path concatenated with the given relative path.

NIPathForDocumentsResource

Create a path with the documents directory and the relative path appended.

NSString* NIPathForDocumentsResource:(NSString *)relativePath;
Discussion
Returns
The documents path concatenated with the given relative path.

NIPathForLibraryResource

Create a path with the Library directory and the relative path appended.

NSString* NIPathForLibraryResource:(NSString *)relativePath;
Discussion
Returns
The Library path concatenated with the given relative path.

NIPathForCachesResource

Create a path with the caches directory and the relative path appended.

NSString* NIPathForCachesResource:(NSString *)relativePath;
Discussion
Returns
The caches path concatenated with the given relative path.