Skip to content
NSBundle+HCPExtension.h 742 B
Newer Older
wangqinghua's avatar
wangqinghua committed
//
//  NSBundle+Extension.h
//
//  Created by Nikolay Demyankov on 10.08.15.
//

#import <Foundation/Foundation.h>

/**
 *  Category for the NSBundle class.
 */
@interface NSBundle (HCPExtension)

/**
 *  Getter for the current build version of the application.
 *
 *  @return build version of the app
 */
+ (NSString *)applicationBuildVersion;

/**
 *  Getter for application's version name.
 *
 *  @return version name of the app
 */
+ (NSString *)applicationVersionName;

/**
 *  Path to the www folder in the application bundle.
 *
 *  @return path to www folder
 */
+ (NSString *)pathToWwwFolder;

/**
 *  Path to the config.xml file in the project.
 *
 *  @return path to the config file
 */
+ (NSString *)pathToCordovaConfigXml;

@end