title: Confusing date comparing
body: <p>I'm confused about this code:</p>
  
  <pre><code>for (int i = 0; i &lt; [content count]; i++) {
      NSString *dateString = [self replaceCharacters:[[[content objectAtIndex:i] objectForKey:@"date"] objectForKey:@"text"]];
      NSLog(@"\n\n%i",[[dateFormatter stringFromDate:[originalDate dateFromString:[[[content objectAtIndex:i] objectForKey:@"date"] objectForKey:@"text"]]] intValue]);
      if ([[dateFormatter stringFromDate:[originalDate dateFromString:dateString]] intValue] &gt;= [todayString intValue]) {
          [tempContent addObject:[content objectAtIndex:i]];
      }
  
  }
  </code></pre>
  
  <p>I'll explain:</p>
  
  <p>I need to check if the date of every object in contents is higher or equal to the today date. If it's so, it will be added to the tempContent. But the tempContent count is equal to the content count. Nothing got sorted...</p>
  
  <p>Does anyone see the solution?!</p>
  
  <p>Thanks,
  mavrick3.</p>