Created
July 30, 2019 11:17
-
-
Save omgbbqhaxx/264ef3cadfcf3ee479aed51b9110022e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
itemsRef.observe(DataEventType.value) { (snap:DataSnapshot!) -> Void | |
in | |
let getHistory = JSON(snap.value!) | |
//for (key,_):(String, JSON) in self.getHistory { | |
// self.keyArr.addObject(key) | |
//} | |
//self.myarr = self.keyArr.sort({Double($0 as! String)! > Double($1 as! String)!}) | |
print(getHistory) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment