I\'m having trouble using the Objective-C Firebase framework in a new Swift project. I\'m coming from mostly a C# background so the Swift closure syntax isn\'t that clear y
Here's the Swift equivalent:
f.observeEventType(FEventTypeValue, withBlock: { snapshot in println("\(snapshot.name) -> \(snapshot.value)") })
The key here is the in keyword to assign arguments to the closure to variables
in