title: How to determine Zodiac Sign in Objective-C
body: <p>I have the following code:</p>
  
  <pre><code>NSDate *myDate = [datePickerControl date];
  NSDateFormatter *format = [[NSDateFormatter alloc]init];
  [format setDateFormat:@"dd-MM"];
  
  NSString *getDate = [format stringFromDate:myDate];
  
  NSArray *array = [NSArray arrayWithObjects:@"15-06",@"15-07",@"15-08",nil];
  
  for (int i = 0; i &lt; ([array count]); i++) {
      NSLog(@"i = %i", i);
      NSString *stringToCheck = (NSString *)[array objectAtIndex:i];
  
  if ([getDate isEqualToString:stringToCheck]) {
      [signWow setText:[NSString stringWithFormat:@"Your sign is Scorpion"]];
  }}
  </code></pre>
  
  <p>It uses <strong>Date Picker</strong> to determine date of birth and then to compare the date with a date from NSArray. But it's too difficult to type in all the dates related to specific <strong>Zodiac sign</strong>.
  So, is it possible to make an array which contains all dates between for example 02/12 (<strong>dd/MM</strong>) and 03/15?</p>
  
  <p><strong>Take a look at screenshot <a href="http://i.stack.imgur.com/9cdOd.png" rel="nofollow">here</a>.</strong></p>
  
  <p>Please, give some code, because I'm new to Objective-C... :)</p>