VOWrappingPaperManager
@interface VOWrappingPaperManager : NSObject <VOWrappingPaperManagerProtocol>
VOWrappingPaperManager is the default implementation of VOWrappingPaperManagerProtocol.
It is responsible for requesting and parsing VOWrappingPaperCategory and WrappingPapers from the VouchrServer.
-
A list of
VOWrappingPaperCategorys that have been saved from a previous request to the Vouchr Server.Declaration
Objective-C
@property (readonly, strong, nonatomic, nullable) NSArray<VOWrappingPaperCategory *> *wrappingPaperCategories;Swift
var wrappingPaperCategories: [VOWrappingPaperCategory]? { get } -
Default initializer for
VOWrappingPaperManager.Declaration
Objective-C
- (nonnull instancetype) initWithNetworkManager:(nonnull id<VONetworkManagerProtocol>)networkManager cacheManager:(nullable id<VOCacheProtocol>)cacheManager;Parameters
networkManager- The networkManager used for requests to the Vouchr Server.
cacheManager- The cache manager will cache wrapping paper and categories.
Return Value
Instance of
VOWrappingPaperManager.
View on GitHub
VOWrappingPaperManager Class Reference