In Objective-C we use to do it like this
+ (Class)layerClass { return [CAEAGLLayer class]; }
Obviously this won\'t work:
CA
In iOS 10, this is a calculated property instead of a method:
override class var layerClass: AnyClass { get { return CAEAGLLayer.self } }