forked from parse-community/Parse-Swift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathParseConstants.swift
32 lines (30 loc) · 882 Bytes
/
ParseConstants.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//
// ParseConstants.swift
// ParseSwift
//
// Created by Corey Baker on 9/7/20.
// Copyright © 2020 Parse Community. All rights reserved.
//
import Foundation
enum ParseConstants {
static let sdk = "swift"
static let version = "1.11.0"
static let fileManagementDirectory = "parse/"
static let fileManagementPrivateDocumentsDirectory = "Private Documents/"
static let fileManagementLibraryDirectory = "Library/"
static let fileDownloadsDirectory = "Downloads"
static let batchLimit = 50
#if os(iOS)
static let deviceType = "ios"
#elseif os(macOS)
static let deviceType = "osx"
#elseif os(tvOS)
static let deviceType = "tvos"
#elseif os(watchOS)
static let deviceType = "applewatch"
#elseif os(Linux)
static let deviceType = "linux"
#elseif os(Android)
static let deviceType = "android"
#endif
}