this question has answer here:
i'm trying set float value variable code below, xcode won't let me go on.
import spritekit class gamescene: skscene { let framewidth = cgfloat(self.frame.width) }
it keeps returning me this:
value of type 'nsobject -> () -> gamescene' has no member 'frame'
i looked error everywhere, nothing helped me. know can make work?
thanks in advance,
luiz.