Pson
Pson

Reputation: 71

Swift Playgrounds working very slow

I am using a few different SCNActions in my Swift playground and the animations run very slowly. Here is an example of one of my actions

node.runAction(SCNAction.repeatForever(SCNAction.rotateBy(x: 0, y: 0, z:  2 * .pi, duration: 2)))

Also, my code for an action is in a separate class like I read online, so what could be wrong?

Thanks in advance!

Upvotes: 5

Views: 3725

Answers (1)

pcnick13
pcnick13

Reputation: 114

Are you currently using Swift 4.1 and Xcode 9.3? I updated yesterday and after the update playgrounds have been running really slow. Sorry this doesn't answer your code directly but my roommates playground is really slow after the update too.

Upvotes: 2

Related Questions