Adding data to a specific UID in firebase
<p>i've been trying to store user inputted data to the their personal uid in firebase but so far i've only been able to do this when the user created an account and what im trying to find out is  how to store data from a text field in xcode to the firebase realtime database under a unique uid, that the user gets when they create an account??</p>

<p>for example: i have 3 textfields that will store the user information to the already assigned UID when they created the account at the start of the application.  </p>

<pre><code>let uid = user.uid
ref.child("users").child(user!.uid).setValue(["DOB": self.DOB. text!,
"Address": self.address.text!, "age":self.age.text!])
</code></pre>