How to push data with multiple types in Firebase? <p>I want to push an array that has strings, numbers and date. Do I have to update individually or is there another way I can accomplish this?</p> <p>Example:</p> <pre><code>var categories : [String] = self.parseCategories() var standbyDataStrings = [ "firstName":firstName, "lastName":lastName, "categories": categories, "time_stamp":self.date.timeIntervalSince1970 ] var standbyDataNums = [ "radius":nf.numberFromString(self.helpRadiusLabel.text!), "duration":nf.numberFromString(self.helpDurationLabel.text!) ] standbyUserRef.updateChildValues(standbyDataStrings) standbyUserRef.updateChildValues(standbyDataNums) // this gives me a error "string is not identical to NSObject" </code></pre> <p>Combining standByDataStrings and standbyDataNums gives me an error.</p> <p>Or is there a way to retrieve a string from Firebase and using it as an int. It gets stored as a String with the quotations.</p>