title: Why is my UIpickerView now taking my builds 3 hours to complete?
body: <p>I have created an application in xcode 10.3 with swift to effectivly work out out 9 vairables to give 5 results. To select the variables it is though a 9 wheel picckerview. </p>
  
  <p>I have added all the variables in some of the example code below, and it runs perfectly giving the correct results. However the build time is taking up to THREE hours... is this something I have done wrong?</p>
  
  <p>As the code below shows as soon as ths didSelectRow starts to get busy, then the build time is extreme. There are about 300+ 'if' statements covering the variables from pickerView. </p>
  
  <pre><code>func pickerView(_ pickerView: UIPickerView, didSelectRow row: Int, inComponent component: Int) {
          let runway = runwaydataSource[pickerView.selectedRow(inComponent: 0)]
          let flap = flapdataSource[pickerView.selectedRow(inComponent: 1)]
          let wght = weightdataSource[pickerView.selectedRow(inComponent: 2)]
          let alt = altdataSource[pickerView.selectedRow(inComponent: 3)]
          let wind = winddataSource[pickerView.selectedRow(inComponent: 4)]
          let slope = slopedataSource[pickerView.selectedRow(inComponent: 5)]
          let temp = tempdataSource[pickerView.selectedRow(inComponent: 6)]
          let vref = vrefdataSource[pickerView.selectedRow(inComponent: 7)]
          let rev = revdataSource[pickerView.selectedRow(inComponent: 8)]
  
          runwaylabel.text = "\(runway)"
          flaplabel.text = "\(flap)°"
          weightlabel.text = "\(wght)kg"
          altlabel.text = "\(alt)ft"
          windlabel.text = "\(wind)kts"
          slopelabel.text = "\(slope)°"
          templabel.text = "\(temp)°C"
          vreflabel.text = "\(vref)kts"
          revlabel.text = "\(rev)"
  
          // :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
          // :::::::::: FLAP REF ADJUSTMENT CALCULATION (DRY) ::::::::::::
          // :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  
          if runwaylabel.text == "Dry" &amp;&amp; flaplabel.text == "20°" {
              flaprefadjust.text = "\(1465)"
              flaprefadjustmax.text = "\(2000)"
              flaprefadjust4.text = "\(2590)"
              flaprefadjust3.text = "\(3050)"
              flaprefadjust2.text = "\(3340)"
              flaprefadjust1.text = "\(3595)"
          }
  
          else if runwaylabel.text == "Dry" &amp;&amp; flaplabel.text == "25°" {
              flaprefadjust.text = "\(1360)"
              flaprefadjustmax.text = "\(1820)"
              flaprefadjust4.text = "\(2335)"
              flaprefadjust3.text = "\(2745)"
              flaprefadjust2.text = "\(3005)"
              flaprefadjust1.text = "\(3240)"
          }
          else if runwaylabel.text == "Dry" &amp;&amp; flaplabel.text == "30°" {
              flaprefadjust.text = "\(1300)"
              flaprefadjustmax.text = "\(1705)"
              flaprefadjust4.text = "\(2175)"
              flaprefadjust3.text = "\(2545)"
              flaprefadjust2.text = "\(2805)"
              flaprefadjust1.text = "\(3035)"
          }
  
          else if runwaylabel.text == "Good" &amp;&amp; flaplabel.text == "20°" {
              flaprefadjust.text = "\(2035)"
              flaprefadjustmax.text = "\(2115)"
              flaprefadjust4.text = "\(2595)"
              flaprefadjust3.text = "\(3050)"
              flaprefadjust2.text = "\(3340)"
              flaprefadjust1.text = "\(3595)"
          }
  
          else if runwaylabel.text == "Good" &amp;&amp; flaplabel.text == "25°" {
              flaprefadjust.text = "\(1865)"
              flaprefadjustmax.text = "\(1935)"
              flaprefadjust4.text = "\(2350)"
              flaprefadjust3.text = "\(2745)"
              flaprefadjust2.text = "\(3005)"
              flaprefadjust1.text = "\(3240)"
          }
          else if runwaylabel.text == "Good" &amp;&amp; flaplabel.text == "30°" {
              flaprefadjust.text = "\(1775)"
              flaprefadjustmax.text = "\(1835)"
              flaprefadjust4.text = "\(2180)"
              flaprefadjust3.text = "\(2545)"
              flaprefadjust2.text = "\(2805)"
              flaprefadjust1.text = "\(3035)"
          }
  
  
          let flaprefadjustresult = NSString(string: flaprefadjust.text!).doubleValue
          let flaprefadjustresultmax = NSString(string: flaprefadjustmax.text!).doubleValue
          let flaprefadjustresult4 = NSString(string: flaprefadjust4.text!).doubleValue
          let flaprefadjustresult3 = NSString(string: flaprefadjust3.text!).doubleValue
          let flaprefadjustresult2 = NSString(string: flaprefadjust2.text!).doubleValue
          let flaprefadjustresult1 = NSString(string: flaprefadjust1.text!).doubleValue
  
          // :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
          // :::::::::: WEIGHT ADJUSTMENT CALCULATIONS (DRY) :::::::::::::
          // :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  
          if runwaylabel.text == "Dry" &amp;&amp; flaplabel.text == "20°" &amp;&amp; weightlabel.text == "340,000kg" {
              weightadjust.text = "\(630)"
              weightadjustmax.text = "\(450)"
              weightadjust4.text = "\(630)"
              weightadjust3.text = "\(810)"
              weightadjust2.text = "\(900)"
              weightadjust1.text = "\(1170)"
          }
          else if runwaylabel.text == "Dry" &amp;&amp; flaplabel.text == "20°" &amp;&amp; weightlabel.text == "335,000kg"{
              weightadjust.text = "\(595)"
              weightadjustmax.text = "\(425)"
              weightadjust4.text = "\(595)"
              weightadjust3.text = "\(765)"
              weightadjust2.text = "\(850)"
              weightadjust1.text = "\(1105)"
          }
          else if runwaylabel.text == "Dry" &amp;&amp; flaplabel.text == "20°" &amp;&amp; weightlabel.text == "330,000kg"{
              weightadjust.text = "\(560)"
              weightadjustmax.text = "\(400)"
              weightadjust4.text = "\(560)"
              weightadjust3.text = "\(720)"
              weightadjust2.text = "\(800)"
              weightadjust1.text = "\(1040)"
          }
  </code></pre>