self.ref.child(header.key).observeSingleEvent(of: .value) { (store) in
let store = store.value as! AnyDictionary
NotificationCenter.default.post(name: NSNotification.Name("GetStoreData"), object: nil, userInfo: store)
self.performSegue(withIdentifier: "showDetails", sender: self)
}
//Другой контроллер
NotificationCenter.default.addObserver(self, selector: #selector(getData(notification:)), name: NSNotification.Name("GetStoreData"), object: nil)