     func setupArrivalCityField() {
         self.arrivalCityField = WatermarkedTextField()
         self.arrivalCityField.placeholder = "Arrival City"
+        self.arrivalCityField.delegate = self
         self.applySkyscannerTheme(self.arrivalCityField)
         self.view.addSubview(self.arrivalCityField)
     }

        textField.textField.font = UIFont(name: "AppleSDGothicNeo-Regular", size: 18)
    }
    
    // MARK: - Animation logic
    
    //
    func updateCityFieldsLayout() {
        let offsetY:CGFloat = 72
        let marginLeft:CGFloat = 12
        let marginRight:CGFloat = 12


import UIKit

class ShowcaseExampleViewController: UIViewController, WatermarkedTextFieldDelegate {
    
    var departureCityField: WatermarkedTextField!
    var arrivalCityField: WatermarkedTextField!
