Saving firebase data to variable swift
<p>so this has been something that I have been trying to work out for a while, both by myself and searching through stack overflow. I am using swift with firebase to record the amount of likes a certain "post" has. What I need to do, is set the amount of likes, which is a label, to the number of likes in firebase. I have firebase all set up and connected with my project, and this is what I have so far.</p>

<pre><code>   @IBAction func one_1(sender: AnyObject) {
    if un_1.textColor == UIColor.blueColor() {
        ref.child("IssueLikes").child("Abortion").child("Upvotes").setValue("\(Int(un_1.text!)! + 1)")
        ref.child("IssueLikes").child("Abortion").child("Downvotes").setValue("\(Int(un_2.text!)! - 1)")
        un_1.textColor = UIColor.whiteColor()
        un_2.textColor = UIColor.blueColor()
    } else if un_1.textColor == UIColor.whiteColor() {
        un_2.textColor = UIColor.blueColor()

        // SET LABEL TO  ref.child("IssueLikes").child("Abortion").child("Downvotes") VALUE

    }
}
</code></pre>

<p>I have found nothing on how I can do this, and any help will be greatly appreciated. Thank you in advance.</p>