diff --git a/README.md b/README.md index fe33b0b..8001180 100644 --- a/README.md +++ b/README.md @@ -110,8 +110,8 @@ Modifier | Description `clearsOnInsertion(_ shouldClear: Bool)` | Modifies the **clear-on-insertion** setting of a text field. 👆 `.showsClearButton(_ showsButton: Bool)` | Modifies whether and when the text field **clear button** appears on the view. ⭕️ ❌ `.passwordRules(_ rules: UITextInputPasswordRules)` | Modifies the text field's **password rules** 🔒. Sets secure entry to `true`. -`.spellChecking(_ spellChecking: Bool?)` | Modifies whether the text field should check the user's **spelling**. -`.smartDashes(_ smartDashes: Bool?)` | Modifies whether the text field includes **smart dashes**. +`.spellChecking(_ spellChecking: Bool? = nil)` | Modifies whether the text field should check the user's **spelling**. +`.smartDashes(_ smartDashes: Bool? = nil)` | Modifies whether the text field includes **smart dashes**. `.smartInsertDelete(_ smartInsertDelete: Bool? = nil)` | Modifies whether the text field uses **smart insert-delete**. `.smartQuotes(_ smartQuotes: Bool? = nil)` | Modifies whether the text field uses **smart quotes**. `.disabled(disabled: Bool)` | Modifies whether the text field is **disabled**. ✋ diff --git a/Sources/iTextField/iTextField+ViewModifiers.swift b/Sources/iTextField/iTextField+ViewModifiers.swift index 0372af8..099599b 100644 --- a/Sources/iTextField/iTextField+ViewModifiers.swift +++ b/Sources/iTextField/iTextField+ViewModifiers.swift @@ -272,7 +272,4 @@ extension iTextField { /// - Returns: @available(*, deprecated, renamed: "fontFromUIFont", message: "At this time, Apple will not let us parse a `Font` object❗️ Please use `.fontFromUIFont(_:)` instead.") public func font(_ font: Font?) -> some View { return EmptyView() } - - @available(*, deprecated, message: "If you would like to change they keyboard ⌨️ please email 📧 me (benjaminlsage@gmail.com). I didn't think anyone would need to 🙂.") - public func keyboardType(_ type: UIKeyboardType) -> some View { return EmptyView() } }