How to make High Score of game to be saved on Leaderboard, with Swift?
问题 I made a game using SpriteKit and Xcode 7 beta. I tried to put GameCenter and Leaderboard but the problem is that the score in leaderboard won't change it stay all the time 0 (High Score of game won't save in Leaderboard) and I don't know how to fix it. I'm using 3 different files: GameScene.swift , GameViewController.swift , and PointsLabel.swift . GameScene.swift func addPointsLabels() { let pointsLabel = PointsLabel(num: 0) pointsLabel.position = CGPointMake(30.0, view!.frame.size.height -