We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1987746 commit d409ea6Copy full SHA for d409ea6
Sources/SharedObject/SharedRepository.swift
@@ -12,7 +12,6 @@ final class SharedRepository {
12
private static var objects: [Int: Any] = [:]
13
14
static func getObject<ObjectType>(for key: Int, defaultValue: ObjectType?) -> ObjectType {
15
- print(type(of: defaultValue))
16
if objects[key] == nil {
17
guard let defaultValue = defaultValue else {
18
preconditionFailure("SharedObject Error: The object was called for the first time without being initialized")
0 commit comments