Skip to content

Commit

Permalink
Removed deprecation of keyboard type, since it works now
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminsage committed Oct 25, 2020
1 parent 3fcdf5a commit 0a4c9be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**. ✋
Expand Down
3 changes: 0 additions & 3 deletions Sources/iTextField/iTextField+ViewModifiers.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 ([email protected]). I didn't think anyone would need to 🙂.")
public func keyboardType(_ type: UIKeyboardType) -> some View { return EmptyView() }
}

0 comments on commit 0a4c9be

Please sign in to comment.