From 128b82ab8fe0574f8f3b81f9c9645b48f71e1981 Mon Sep 17 00:00:00 2001 From: Jordan Kay Date: Tue, 1 Feb 2022 21:38:50 -0500 Subject: [PATCH] Fix typo --- MigrationGuides/migration_3_to_4.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MigrationGuides/migration_3_to_4.md b/MigrationGuides/migration_3_to_4.md index e3c3bc9b..dfaa3d70 100644 --- a/MigrationGuides/migration_3_to_4.md +++ b/MigrationGuides/migration_3_to_4.md @@ -38,7 +38,7 @@ Or might try to create some custom inits/factories. If you can't migrate in your ### NSCoding, RawRepresentable and Custom Types If you used custom types with SwiftyUserDefaults, fear no more: you still can use them! -Now, you don't need your own `subcript` so remove it and add `DefaultsSerializable` protocol to your type! +Now, you don't need your own `subscript` so remove it and add `DefaultsSerializable` protocol to your type! Example. Let's say you had a class `Froggy` that conformed to the `NSCoding` protocol and you had your own subscript: