Override init(size: CGSize)

Hello,

I got error on this here…
override init(size: CGSize)

try to write it down from the PDF. (2D_Apple_Games_by_Tutorials_2.0)

what can i do?

Best Regards
Frederik L. Frandsen

i got it…
remove the code.

public struct CGSize {
public var width: CGFloat
public var height: CGFloat
}

and it will work.