28 lines
542 B
Swift
28 lines
542 B
Swift
//
|
|
// 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)
|
|
}
|
|
|
|
}
|