     private var doneButtonTitle: String!
     private var cancelButtonTitle: String!
     private var defaultDate: NSDate!
+    private var minimumDate: NSDate!
+    private var maximumDate: NSDate!
     private var datePickerMode: UIDatePickerMode!
     private var callback: ((date: NSDate) -> Void)!
     

        show(title, doneButtonTitle: "Done", cancelButtonTitle: "Cancel", datePickerMode: datePickerMode, callback: callback)
    }
    
    func show(title: String, doneButtonTitle: String, cancelButtonTitle: String, defaultDate: NSDate = NSDate(), datePickerMode: UIDatePickerMode = .DateAndTime, callback: ((date: NSDate) -> Void)) {
        self.title = title
        self.doneButtonTitle = doneButtonTitle
        self.cancelButtonTitle = cancelButtonTitle
        self.datePickerMode = datePickerMode
        self.callback = callback
        self.defaultDate = defaultDate
        
        self.dialogView = createContainerView()
        

        self.datePicker.frame.size.width = 300
        self.datePicker.datePickerMode = self.datePickerMode
        self.datePicker.date = self.defaultDate
        self.datePicker.maximumDate = self.maximumDate
        self.datePicker.minimumDate = self.minimumDate
        dialogContainer.addSubview(self.datePicker)
        
        // Add the buttons
