I've created a ".sks" file.
I've configured the effect in the editor.
I've added
import SpriteKit
in a swift view file.
Apple's documentation shows this snippet (but I don't know how to use it properly):
func newSmokeEmitter() -> SKEmitterNode? { return SKEmitterNode(fileNamed: "smoke.sks") }
I've seen this and this, but they didn't solve my problem either. Does SpriteKit require that you configure your app as a) a game and b) SpriteKit, or can it be done in my single-page app? Thanks for your help!