Rebrand entire project from Feels to Reflect
Complete rename across all bundle IDs, App Groups, CloudKit containers, StoreKit product IDs, data store filenames, URL schemes, logger subsystems, Swift identifiers, user-facing strings (7 languages), file names, directory names, Xcode project, schemes, assets, and documentation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
//
|
||||
// ExtensionDataProvider.swift
|
||||
// Feels
|
||||
// Reflect
|
||||
//
|
||||
// Unified data provider for Widget and Watch extensions.
|
||||
// - Watch: Uses CloudKit for automatic sync with iPhone
|
||||
// - Widget: Uses local App Group storage (widgets can't use CloudKit)
|
||||
//
|
||||
// Add this file to: FeelsWidgetExtension, Feels Watch App
|
||||
// Add this file to: ReflectWidgetExtension, Reflect Watch App
|
||||
//
|
||||
|
||||
import Foundation
|
||||
@@ -22,7 +22,7 @@ final class ExtensionDataProvider {
|
||||
|
||||
static let shared = ExtensionDataProvider()
|
||||
|
||||
private static let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.tt.feels", category: "ExtensionDataProvider")
|
||||
private static let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.88oakapps.reflect", category: "ExtensionDataProvider")
|
||||
|
||||
private var _container: ModelContainer?
|
||||
|
||||
@@ -47,9 +47,9 @@ final class ExtensionDataProvider {
|
||||
// Watch uses CloudKit for automatic sync with iPhone
|
||||
let cloudKitContainerID: String
|
||||
#if DEBUG
|
||||
cloudKitContainerID = "iCloud.com.88oakapps.feels.debug"
|
||||
cloudKitContainerID = "iCloud.com.88oakapps.reflect.debug"
|
||||
#else
|
||||
cloudKitContainerID = "iCloud.com.88oakapps.feels"
|
||||
cloudKitContainerID = "iCloud.com.88oakapps.reflect"
|
||||
#endif
|
||||
|
||||
let configuration = ModelConfiguration(
|
||||
@@ -89,9 +89,9 @@ final class ExtensionDataProvider {
|
||||
throw NSError(domain: "ExtensionDataProvider", code: 1, userInfo: [NSLocalizedDescriptionKey: "App Group not available"])
|
||||
}
|
||||
#if DEBUG
|
||||
return containerURL.appendingPathComponent("Feels-Debug.store")
|
||||
return containerURL.appendingPathComponent("Reflect-Debug.store")
|
||||
#else
|
||||
return containerURL.appendingPathComponent("Feels.store")
|
||||
return containerURL.appendingPathComponent("Reflect.store")
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user