PXFileUtils Class Reference
| Inherits from | NSObject |
| Declared in | PXFileUtils.h |
Tasks
-
+ sourceFromResource:ofType:Return the text content of a local resource
-
+ sourceFromPath:Return the text content of a file at a specified path
Class Methods
sourceFromPath:
Return the text content of a file at a specified path
+ (NSString *)sourceFromPath:(NSString *)pathParameters
- path
The path of the file
Discussion
Return the text content of a file at a specified path
Declared In
PXFileUtils.hsourceFromResource:ofType:
Return the text content of a local resource
+ (NSString *)sourceFromResource:(NSString *)resource ofType:(NSString *)typeParameters
- resource
The name of the local resource
- type
The file type of the local resource
Discussion
Return the text content of a local resource
Declared In
PXFileUtils.h