title: Convert an NSURL to an NSString
body: <p>I have an app where the user can choose an image either from the built-in app images or from the iphone photo library. I use an object Occasion that has an <code>NSString</code> property to save the <code>imagePath</code>. </p>
  
  <p>Now in the case of the built-in app images I do get the file name as an <code>NSString</code> an save in the <code>[occasion imagePath]</code>. But in the 2nd case where the user picks an image form the photo library I get an <code>NSURL</code> which I want to convert to an <code>NSString</code> to be able to save it in <code>[occasion imagePath</code>].</p>
  
  <p>Is it possible to convert the <code>NSURL</code> to an <code>NSString</code>?</p>