PROJIOUtils
Objective-C
@interface PROJIOUtils : NSObject
/**
* Get the path of the property list file with name
*
* @param name plist base file name
*
* @return property list file path
*/
+(NSString *) propertyListPathWithName: (NSString *) name;
/**
* Get the path of the PROJ database file
*
* @return database file path
*/
+(NSString *) databasePath;
/**
* Get the path of the resource file with name and file type
*
* @param name file name
* @param type extension type
*
* @return file resource path
*/
+(NSString *) resourcePathWithName: (NSString *) name andType: (NSString *) type;
@end
Swift
class PROJIOUtils : NSObject
Undocumented
-
Get the path of the property list file with name
Declaration
Objective-C
+ (NSString *)propertyListPathWithName:(NSString *)name;Swift
class func propertyListPath(withName name: String!) -> String!Parameters
nameplist base file name
Return Value
property list file path
-
Get the path of the PROJ database file
Declaration
Objective-C
+ (NSString *)databasePath;Swift
class func databasePath() -> String!Return Value
database file path
-
Get the path of the resource file with name and file type
Declaration
Objective-C
+ (NSString *)resourcePathWithName:(NSString *)name andType:(NSString *)type;Swift
class func resourcePath(withName name: String!, andType type: String!) -> String!Parameters
namefile name
typeextension type
Return Value
file resource path
View on GitHub
PROJIOUtils Class Reference