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 *)path
Parameters
- path
The path of the file
Discussion
Return the text content of a file at a specified path
Declared In
PXFileUtils.h
sourceFromResource:ofType:
Return the text content of a local resource
+ (NSString *)sourceFromResource:(NSString *)resource ofType:(NSString *)type
Parameters
- 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