Initial commit
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
//
|
||||
// ThirdViewController.swift
|
||||
// SequenceExample
|
||||
//
|
||||
// Created by Drew Olbrich on 1/13/19.
|
||||
// Copyright 2019 Oath Inc.
|
||||
//
|
||||
// Licensed under the terms of the MIT License. See the file LICENSE for the full terms.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
||||
class ThirdViewController: SequenceViewController {
|
||||
|
||||
override var shouldAssignFirstResponder: Bool {
|
||||
return true
|
||||
}
|
||||
|
||||
override func didTapReturnKey() {
|
||||
dismissKeyboard(self)
|
||||
}
|
||||
|
||||
@IBAction func dismissKeyboard(_ sender: Any) {
|
||||
view.window?.endEditing(true)
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user