This code allows you to update textField with datePicker for Xcode 7, but when I try to implement it in Xcode 8 and Swift 3, the application crashes and throws a SIGABRT error in the AppDelegate.swift file. I check all my @IBs and I have no different connections to remove. Any guidance would be greatly appreciated.
import UIKit class ViewController: UIViewController, UITextFieldDelegate { @IBOutlet var eventStartText: UITextField! override func viewDidLoad() { super.viewDidLoad() eventStartText.delegate = self
ios swift swift3 textfield uidatepicker
Tom bednarczyk
source share