title: Download Image Using Alamofire and Save to Application Support on Mac
body: <p>The Alamofire readme indicates that you can download and save a file like this:</p>
  
  <pre><code>let destination = Alamofire.Request.suggestedDownloadDestination(directory: .DocumentDirectory, domain: .UserDomainMask)
  
  Alamofire.download(.GET, "http://httpbin.org/stream/100", destination: destination)
  </code></pre>
  
  <p>...but I want to change the location where it is saved. How do I alter <code>.DocumentDirectory</code> to be my app's <code>Application Support</code> path on Mac OS X?</p>
  
  <p>I can generate my app's local <code>NSURL</code> path like this:</p>
  
  <pre><code>let path = NSFileManager.defaultManager().URLsForDirectory(.ApplicationSupportDirectory, inDomains: .UserDomainMask)[0] as NSURL
  let newPath = path.URLByAppendingPathComponent("MyApp/user-profile.png")
  </code></pre>
  
  <p>I'm unclear on how to use this with Alamofire's <code>suggestedDownloadDestination</code>. </p>
  
  <p>Any ideas?</p>