title: Control reach end of non-void function
body: <p>Please consider following code:</p>
  
  <pre><code>-(NSString*)getNextOvulationString{
  
      if (self.daysToNextOvulation &lt; 0){
         return [NSString stringWithFormat:@"Овуляция была %li дней назад", labs(self.daysToNextOvulation)];
      }   else if (self.daysToNextOvulation == 0){
          return [NSString stringWithFormat:@"Овуляция началась"];
      }   else if (self.daysToNextOvulation   &gt; 0){
          return [NSString stringWithFormat:@"Овуляция началась"];
      }
   }
  </code></pre>
  
  <p>There is 3 cases, and obvious, we will get one guaranteed. </p>
  
  <p>Still, compiler not allow me to build, because of error:</p>
  
  <blockquote>
    <p>Control reach end of non-void function</p>
  </blockquote>
  
  <p>How to fix that?</p>