Skip to content

Commit

Permalink
Prevent addTextField method from being accessible in ActionSheet class
Browse files Browse the repository at this point in the history
  • Loading branch information
akwilliamson committed Jul 25, 2015
1 parent 7bf5f45 commit 51c4fb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Pod/Classes/LKAlertController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public class LKAlertController {
:param: placeholder Placeholder text for text field
:param: secureText Secure text entry for text field
*/
public func addTextField(placeholder: String?, secureText: Bool?) -> LKAlertController {
internal func addTextField(placeholder: String?, secureText: Bool?) -> LKAlertController {
alertController.addTextFieldWithConfigurationHandler { (textField: UITextField!) -> Void in
if let placeholder = placeholder {
textField.placeholder = placeholder
Expand Down

0 comments on commit 51c4fb9

Please sign in to comment.