title: Loop a segment of a video with AVPlayer
body: <p>I am trying to loop a segment of video, given two frame markers (markIn and markOut).  When the option to loop is selected, the player will loop this segment of the video.  I currently have a loop for the whole video set up using Apple's suggestion of sending the <strong>AVPlayerItemDidPlayToEndTimeNotification</strong> once the end is reached.  </p>
  
  <p>What I think will be a clean way to implement this will be to send a notification when the markOut point is reached, if looping is activated it will move the player back to the markIn point.  So is there are way to create a notification along of the lines of playerItemDidReachMarkOut?</p>
  
  <p>I'm fairly new to notifications and AVPlayer, so forgive me if I'm missing something.</p>