         
         self.addSubview(self.textField)
     }
-     
+    
     
     // MARK: UIPickerViewDataSource
     

    }
    
    public func pickerView(pickerView: UIPickerView, numberOfRowsInComponent component: Int) -> Int {
        return component == 0 ? 12 : 10
    }
    
    

    public func pickerView(pickerView: UIPickerView, didSelectRow row: Int, inComponent component: Int) {
        // need to use NSString because Precision String Format Specifier is easier this way
        let month = NSString(format: "%2f", row + 1)
        let year = self.isStartDate ? currentYear - component : currentYear + component
        self.textField.text = "\(month)/\(year)"
    }
    
}
