mirror of
https://github.com/yattee/yattee.git
synced 2026-02-20 01:39:46 +00:00
Yattee v2 rewrite
This commit is contained in:
36
Yattee/Core/AppIdentifiers.swift
Normal file
36
Yattee/Core/AppIdentifiers.swift
Normal file
@@ -0,0 +1,36 @@
|
||||
import Foundation
|
||||
|
||||
/// Centralized app identifiers - single source of truth for all app-wide identifiers.
|
||||
enum AppIdentifiers {
|
||||
// MARK: - Base Identifier
|
||||
|
||||
static let bundleIdentifier = "stream.yattee.app"
|
||||
|
||||
// MARK: - iCloud
|
||||
|
||||
static var iCloudContainer: String {
|
||||
"iCloud.\(bundleIdentifier)"
|
||||
}
|
||||
|
||||
// MARK: - Background Tasks
|
||||
|
||||
static var backgroundFeedRefresh: String {
|
||||
"\(bundleIdentifier).feedRefresh"
|
||||
}
|
||||
|
||||
// MARK: - User Activities (Handoff)
|
||||
|
||||
static var handoffActivityType: String {
|
||||
"\(bundleIdentifier).activity"
|
||||
}
|
||||
|
||||
// MARK: - URL Sessions
|
||||
|
||||
static let downloadSession = "stream.yattee.downloads"
|
||||
|
||||
// MARK: - Logging
|
||||
|
||||
static var logSubsystem: String {
|
||||
bundleIdentifier
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user