[Library] iTunes library (#5)
This PR contains the work done to implement the `iTunesService` service that fetches the reviews from the **Apple App Store**. Reviewed-on: rock-n-code/app-reviews#5 Co-authored-by: Javier Cicchelli <javier@rock-n-code.com> Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
This commit was merged in pull request #5.
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
//
|
||||
// URL+Constants.swift
|
||||
// ReviewsFoundationKit
|
||||
//
|
||||
// Created by Javier Cicchelli on 17/03/2024.
|
||||
// Copyright © 2024 Röck+Cöde VoF. All rights reserved.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
extension URL {
|
||||
|
||||
// MARK: Constants
|
||||
public static let bitBucket: URL = {
|
||||
if #available(iOS 16.0, *) {
|
||||
.init(filePath: .FilePath.bitBucket)
|
||||
} else {
|
||||
.init(fileURLWithPath: .FilePath.bitBucket)
|
||||
}
|
||||
}()
|
||||
|
||||
}
|
||||
|
||||
// MARK: - String+Constants
|
||||
private extension String {
|
||||
enum FilePath {
|
||||
static let bitBucket = "/dev/null"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user