mas/MasKit/AppStore/CKSoftwareMap+SoftwareMap.swift
2020-05-13 20:57:54 -06:00

20 lines
472 B
Swift

//
// CKSoftwareMap+SoftwareMap.swift
// MasKit
//
// Created by Ben Chatelain on 12/27/18.
// Copyright © 2018 mas-cli. All rights reserved.
//
import CommerceKit
// MARK: - SoftwareProduct
extension CKSoftwareMap: SoftwareMap {
func allSoftwareProducts() -> [SoftwareProduct] {
return allProducts() ?? []
}
func product(for bundleIdentifier: String) -> SoftwareProduct? {
return product(forBundleIdentifier: bundleIdentifier)
}
}