Inherits from NSObject
Declared in PXFileUtils.h

Overview

A collection of utility methods to assist in file-related operations

Tasks

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