title: How to schedule events programmatically in ios?
body: <p>I have been tasked to write an app that allows a user to schedule emails to be sent out in future. </p>
  
  <p>The user selects a date time from a date picker, composes the message and recipient and then schedules the event. When the date/time occurs the message is sent out. </p>
  
  <p>Can someone guide me to how to get about scheduling lets say a text message. I know how to send a text message. Just was not sure on the scheduling aspect of things.</p>
  
  <p>Any pointers will be much appreciated. </p>