title: How to add GIF images to Assets folder and load them in UIImageView programmatically
body: <p>I am trying to put my @2x and @3x GIF images into the Assets folder in Xcode. I have tried the following links but it didn't work for me.
  <a href="https://stackoverflow.com/questions/19462747/how-to-add-gif-images-to-asset-catalog-in-xcode5">Link 1</a> and <a href="https://stackoverflow.com/questions/39081642/adding-gif-files-to-xcode-assets-folder">Link 2</a>.</p>
  
  <p>I am currently loading the GIF files by adding them to my project bundle and accessing it using this</p>
  
  <pre><code>let bundleURL = NSBundle.mainBundle()
              .URLForResource("phone_animation", withExtension: "gif") 
  </code></pre>
  
  <p>But I want to load them from my Assets folder. Is there a way I can do it? And how do I load them into my imageview after adding it to Assets?</p>