Skip to content

Commit 1a267c6

Browse files
Update Readme
1 parent dd57926 commit 1a267c6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,12 @@ alertView.addAction(action)
143143

144144
`buttonBackgroundColor: UIColor` -> Sets the background color of action button. If not set, it uses `alertBackgroundColor` of CDAlertView.
145145

146+
### List of available methods
147+
148+
`textFieldBecomeFirstResponder()` -> Calls the `becomeFirstResponder()` method of `textField` if `alert.isTextFieldHidden` set to `true`. Otherwise, does nothing.
149+
150+
`textFieldResignFirstResponder()` -> Calls the `resignFirstResponder()` method of `textField` if `alert.isTextFieldHidden` set to `true`. Otherwise, does nothing.
151+
146152
## Example
147153

148154
To run the example project, clone the repo, and run `pod install` from the Example directory first.

0 commit comments

Comments
 (0)