diff --git a/Playgrounds/UserDefaults.playground/Contents.swift b/Playgrounds/UserDefaults.playground/Contents.swift index f72799362..90560d024 100644 --- a/Playgrounds/UserDefaults.playground/Contents.swift +++ b/Playgrounds/UserDefaults.playground/Contents.swift @@ -95,6 +95,7 @@ public class UserDefaults { // MARK: - Reading Default Values public var dictionaryRepresentation: [String: AnyObject] { + createTableIfNeeded() var dic = registrationDictionary for item in UserDefaultsItem.fetchAll(db) { dic[item.key] = item.value