Atalasoft MobileImage API Reference
Instance Methods | Properties | List of all members
KFXBundleCacheProvider Class Reference

Bundle Cache Provider. More...

#import <KFXBundleCacheProvider.h>

Inheritance diagram for KFXBundleCacheProvider:
<KFXBundleCacheProviderProtocol>

Instance Methods

(instancetype) - initWithPath:
 Constructor. More...
 
- Instance Methods inherited from <KFXBundleCacheProviderProtocol>
(NSString *) - getProjectWithName:version:
 Get project path. More...
 
(NSString *) - cacheProjectWithName:bundle:version:error:
 Cache project. More...
 
(NSString *) - getVariantWithName:forProject:version:
 Get variant path. More...
 
(NSString *) - cacheVariantWithName:forProject:bundle:version:error:
 Cache project. More...
 
(NSString *) - latestVersionForProject:
 Get latest cached version. More...
 

Properties

NSString * path
 Cache path. More...
 

Detailed Description

Bundle Cache Provider.

The KFXBundleCacheProvider handles extracting/copying entries from a bundle into a cache folder. Default implementation of KFXBundleCacheProviderProtocol. It stores only one version per project.

By default, the files are stored at: [path_to_app]/Library/KFXExtractionAssets

Cache structure is: [path]/[version]/[project files, variant folders].

See also
KFXBundleCacheProviderProtocol

Method Documentation

- (instancetype) initWithPath: (NSString *)  path

Constructor.

Initializes the object with a custom path to the folder where cached files should be stored.

Parameters
path- path to custom cache directory.

Property Documentation

- (NSString*) path
readnonatomicstrong

Cache path.

Path to cache root folder.

Default value is [path_to_app]/Library/KFXExtractionAssets.


The documentation for this class was generated from the following file:
Untitled Document © 2016 Atalasoft, Inc., 116 Pleasant St, Suite 321, Easthampton, MA 01027, U.S.A. All rights reserved. Use is subject to license terms.