mas/MasKit/AppStore/CKSoftwareMap+SoftwareMap.swift
2021-03-28 14:21:37 -07:00

20 lines
458 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] {
allProducts() ?? []
}
func product(for bundleIdentifier: String) -> SoftwareProduct? {
product(forBundleIdentifier: bundleIdentifier)
}
}