SpriteKit doesn't show node count

In Xcode with SpriteKit, in every project I have showNodeCount for true, but I only see fps. This is so strange. I cannot figure out what is causing the problem.

if let scene = GameScene(fileNamed:"GameScene") {
        // Configure the view.
        let skView = self.view as! SKView
        skView.showsFPS = true
        skView.showsNodeCount = true

        /* Sprite Kit applies additional optimizations to improve rendering performance */
        skView.ignoresSiblingOrder = true

        /* Set the scale mode to scale to fit the window */
        scene.size = skView.bounds.size
        skView.presentScene(scene)
    }

      

Perhaps because I am using Xcode 7 beta 3? (even with the old beta version of the same problem).

+3


source to share


1 answer


As you've probably already discovered, this was a beta and a fix. It works in Xcode 7 beta 5. The draw and the square counter have also been brought back! :)



Screenshot from iPad Simulator 2, 9 iOS Beta 5p>

+1


source







All Articles