my question is this, how do I get to post from spritekit to facebook? I have set up the game in my apps and loaded the frameworks, but I don't seem to find the documentation for swift, any help? Thanks.
It would come from here:
override func touchesBegan(touches: Set<NSObject>, withEvent event: UIEvent) {
//let nodeTouched = touches.
var touch: UITouch = (touches.first as? UITouch)!
var location = touch.locationInNode(self)
var node = self.nodeAtPoint(location)
println("\(node.name)")
if node.name != "PTFB" {
let gameScene = GameScene(size: size)
let transition = SKTransition.doorsOpenHorizontalWithDuration(0.3)
view?.presentScene(gameScene, transition: transition)
} else {
println("we are cooking")
//here in the GameDone scene PFTB is the node that says post to fb
var dict = NSMutableDictionary()
}
}