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

Local Bundle Project Provider. More...

#import <KFXLocalBundleProjectProvider.h>

Inheritance diagram for KFXLocalBundleProjectProvider:
<KFXProjectProviderProtocol>

Instance Methods

(instancetype) - initWithCacheProvider:
 Constructor. More...
 
(instancetype) - initWithPath:
 Constructor. More...
 
(instancetype) - initWithPath:cacheProvider:
 Constructor. More...
 
- Instance Methods inherited from <KFXProjectProviderProtocol>
(void) - getHighestVersion:sdkVersion:completionHandler:
 Get latest project data version. More...
 
(void) - getProject:version:completionHandler:
 Get project data. More...
 
(void) - getVariant:forProject:version:completionHandler:
 Get variant data. More...
 

Detailed Description

Local Bundle Project Provider.

This implementation of KFXProjectProviderProtocol allows to get assets from zip bundles stored in application resources. By default it uses KFXBundleCacheProvider instance with default cache directory and main bundle root location for bundles.

Project zip bundles are expected to be named as project_name%.zip (e.g. USIDs.zip).

See also
KFXProjectProviderProtocol
KFXBundleCacheProvider

Method Documentation

- (instancetype) initWithCacheProvider: (id< KFXBundleCacheProviderProtocol >)  cacheProvider

Constructor.

Initializes the object with a custom cache provider instance.

Parameters
cacheProvider- custom cache provider instance. If nil, nil object will be returned.
See also
KFXBundleCacheProviderProtocol
- (instancetype) initWithPath: (NSString *)  path

Constructor.

Initializes the object with a custom path to folder containing project zip bundles.

Parameters
path- path to folder. If nil, nil object will be returned.
- (instancetype) initWithPath: (NSString *)  path
cacheProvider: (id< KFXBundleCacheProviderProtocol >)  cacheProvider 

Constructor.

Initializes the object with custom path to folder containing project zip bundles and cache provider instance.

Parameters
path- path to folder. If nil, nil object will be returned.
cacheProvider- custom cache provider instance. If nil, nil object will be returned.
See also
KFXBundleCacheProviderProtocol

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.