title: Uploading Image to Firebase and Getting Reference
body: <p>I've been trying to learn Firebase for an Instagram-type app I'm trying to create. I have been unable to follow some of the various resources online and needed assistance. Currently I have uploaded an image to Firebase through the console/website. My question is how do I obtain a reference to the image and how do I implement that reference into my Xcode project? I have already installed Cocoapods and Alamofire; I have also installed Firebase successfully through the instructions on the website and added code to the ViewController as follows:</p>
  
  <pre><code>import UIKit
  import Firebase
  import FirebaseDatabase
  
  
  class ViewController: UIViewController {
  
      var ref: DatabaseReference!
  
      override func viewDidLoad() {
          super.viewDidLoad()
          // Do any additional setup after loading the view.
  
          ref = Database.database().reference()
  
      }
  }
  </code></pre>