Commit bc1eaf35 by Dima Bart

Add typed collection to BUYCollection.

parent 66d34e3a
......@@ -31,6 +31,8 @@
@property (nonatomic, readonly) NSString *stringDescription;
- (NSArray<BUYProduct *> *)productsArray;
/**
* Converts the BUYCollectionSort enum to an API-compatible string for the collection sort parameter
*
......
......@@ -32,6 +32,11 @@
@synthesize stringDescription = _stringDescription;
- (NSArray<BUYProduct *> *)productsArray
{
return self.products.array;
}
- (void)updateStringDescription
{
// Force early cache of this value to prevent spooky behaviour
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment