title: What is UILocalNotification repeatCalendar used for and how is it used
body: <p>I have created a <code>UILocalNotification</code> I would like to know how ever what <code>repeateCalendar</code> can be used for?</p>
  
  <p>This is my simple implementation of a <code>UILocalNotification</code>.</p>
  
  <pre><code>UILocalNotification *localNotification = [[UILocalNotification alloc] init];
  
  // Set the fire date/time
  [localNotification setFireDate:dateFromString];
  [localNotification setTimeZone:[NSTimeZone defaultTimeZone]];
  
  // Setup alert notification
  localNotification.alertTitle = [NSString stringWithFormat:@"Reminder (%@)", amPm];
  localNotification.alertBody = [NSString stringWithFormat:@"This is my alertBody"];
  localNotification.userInfo = identificationDict;
  localNotification.repeatInterval = NSWeekCalendarUnit;
  //localNotification.repeatCalendar = what do I put here? and why;
  
  localNotification.soundName=UILocalNotificationDefaultSoundName;
  [localNotification setHasAction:YES];
  app = [UIApplication sharedApplication];
  [app scheduleLocalNotification:localNotification];
  </code></pre>
  
  <p>Currently <a href="https://developer.apple.com/library/ios/documentation/iPhone/Reference/UILocalNotification_Class/#//apple_ref/occ/instp/UILocalNotification/repeatCalendar" rel="nofollow noreferrer">Apple docs</a> say</p>
  
  <blockquote>
    <p>The calendar the system should refer to when it reschedules a
    repeating notification</p>
  </blockquote>
  
  <p>However no discussion on why you would use it? In theory could I use it to define Weekday and Weekends?</p>