     }
     
     func pickerView(pickerView: UIPickerView, numberOfRowsInComponent component: Int) -> Int {
+        print("Count: \(self.component.getPickerItems()[component].count)");
         return self.component.getPickerItems()[component].count;
     }
     
     func pickerView(pickerView: UIPickerView, attributedTitleForRow row: Int, forComponent component: Int) -> NSAttributedString? {
         
-        let attributes : [String : AnyObject!] = [
+        //let selectedRow = pickerView.selectedRowInComponent(component);
+        var attributes : [String : AnyObject] = [:];
+        
+        attributes = [
             NSFontAttributeName: font,
             NSForegroundColorAttributeName: textColor
         ];

        
        calendar.locale = self.locale;
        
        
        switch(mode) {
            case FxDatePickerMode.Date:
               component = DateComponent(calendar: calendar, order: ["month": 0, "day": 1, "year": 2]);

        let date = self.component.toDate();
        
        delegate.dateSelected(self, date: date);
    }
    
    
    func dateSelected(datePicker: FxDatePicker!, date: NSDate!) {
        return;
