Files
ScrollingContentViewController/Examples/SequenceExample/ThirdViewController.swift
T
Drew Olbrich 64e4ae6a9c Initial commit
2019-02-03 12:22:40 -08:00

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)
}
}