EngineKit
|
#import <FileHelper.h>
Class Methods | |
(NSString *) | + openTextFile: |
(NSString *) | + pathForFilename: |
A simple helper class used to facilitate file management.
+ (NSString *) openTextFile: | (NSString *) | filename |
Opens a text file specified by the given filename
, which is actually a path relative to the project folder.
filename | The path to the file, relative to the project foler. |
+ (NSString *) pathForFilename: | (NSString *) | filename |
Used mostly internally by the FileHelper, returns a path to the file specified by the given filename
, which should actually be a path relative to the project folder.. The path returned should be ready to be opened by system methods such as -stringWithContentsOfFile
.
filename | The path to the file, relative to the project foler. |