خرید بک لینک

Vote count: 0

In my app i'm sending this query:

let defaults = NSUserDefaults.standardUserDefaults()
var time: String?

if defaults.valueForKey("chatsLoadedTime") != nil {
    time = "(defaults.valueForKey("chatsLoadedTime") as! NSDate)"
}
chatsRef.queryOrderedByChild("updatedTime").queryStartingAtValue(time).observeEventType(.Value, withBlock: { snap in

Inside this query i update variable time and i want to update this chatsRef query to start at new value time. How can i do this?

asked 59 secs ago

برچسب: نویسنده: استخدام کار تاريخ: يکشنبه 5 ارديبهشت 1395 ساعت: 15:57

صفحه بندی