Classes
The following classes are available globally.
-
All your widget game scenes should inherit from this class, instead of SKScene.
See moreDeclaration
Swift
open class WGScene:SKScene
-
Your TodayViewController should inherit from WGViewController to implement WidGame’s functionalities.
See moreDeclaration
Swift
open class WGViewController: UIViewController, NCWidgetProviding, WGDelegate