         case (-5)...(5): color = UIColor(hue: 190.0/360.0, saturation: 0.84, brightness: 0.76, alpha: 1)
         default: color = UIColor.blackColor()
         }
+        
         }
         
         
     }
     
-    


class WeatherCondition {
    
    var degrees:Int
    var unit:String
    var iconChar:String
    var day:String
    var color:UIColor
    
    //Builds a WeatherCondition from certain API-Data
    init(degrees:Double,units:String,icon:String,time:String) {
        
        self.degrees = Int(degrees)
        
        switch units {
        case "us": self.unit = "°F"
        default: self.unit = "°C"
        }
        
        switch icon {

        case 7: self.day = "SAT"
        default: self.day = "ERR"
        }
        
        switch dayNumber {
        case 1: self.fullDay = "Sunday"
        case 2: self.fullDay = "Monday"
        case 3: self.fullDay = "Tuesday"
        case 4: self.fullDay = "Wednesday"
        case 5: self.fullDay = "Thurday"
        case 6: self.fullDay = "Friday"
        case 7: self.fullDay = "Saturday"
        default: self.fullDay = "DAY ERROR"
        }
        

        var tempCelsius = maxDegrees
        if tempUnit == "°F" { tempCelsius = (maxDegrees-32)/(9/5) }
        
        switch tempCelsius {
        case (35)...(300): color = UIColor(hue: 10.0/360.0, saturation: 0.74, brightness: 1, alpha: 1)
