mirror of
https://github.com/mas-cli/mas
synced 2024-11-26 21:40:19 +00:00
20 lines
458 B
Swift
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)
|
|
}
|
|
}
|