Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

- example project view controller class simplified #58

Merged
merged 2 commits into from
Apr 6, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Merge branch 'master' into master
  • Loading branch information
slxl authored Apr 5, 2017
commit 584509ffdf4aa825eaa11c30d7de940559da31aa
Original file line number Diff line number Diff line change
@@ -117,7 +117,7 @@ class ShowcaseExampleViewController: UIViewController, UITextFieldDelegate {

@IBAction func submitButtonDown(_ sender: AnyObject) {
self.isSubmitButtonPressed = true

for textField in textFields {
if !textField.hasText() {
self.showingTitleInProgress = true
@@ -145,11 +145,12 @@ class ShowcaseExampleViewController: UIViewController, UITextFieldDelegate {
}

func hideTitleVisibleFromFields() {

for textField in textFields {
textField.setTitleVisible(false, animated: true)
textField.highlighted = false
}

}

// MARK: - Delegate
You are viewing a condensed version of this merge commit. You can view the full changes here.