Engineering:WatchKit
WatchKit is a framework provided by Apple in order to develop interfaces for Apple Watch applications.[1] In order to develop using WatchKit, more information and resources are provided by Apple in the WatchKit library.[2] WatchKit contains all the classes that a WatchKit extension uses to develop an application.
Classes
WatchKit provides some classes for general purposes, as representing controllers, interfaces and alert actions.
Also provides support for file management, through the following classes:
And a set of classes that inherit from WKInterfaceObject and represents visual UI elements.
Protocols
WatchKit provides two protocols: WKExtensionDelegate and WKImageAnimatable. WKExtensionDelegate is intended to manage the behaviour of the WatchKit extension and WKImageAnimatable controls the playback of animated images.
References
- ↑ "WatchKit - Apple Developer". apple.com. https://developer.apple.com/watchkit/.
- ↑ "WatchKit Programming Guide: Developing for Apple Watch". apple.com. 21 October 2015. https://developer.apple.com/library/watchos/documentation/General/Conceptual/WatchKitProgrammingGuide/index.html#//apple_ref/doc/uid/TP40014969.