mas/Sources/MasKit/AppStore/CKSoftwareMap+SoftwareMap.swift
2021-04-26 21:04: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)
}
}