Encyclosphere.org ENCYCLOREADER
  supported by EncyclosphereKSF

WatchKit

From HandWiki - Reading time: 1 min


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.

  • WKAccessibilityImageRegion
  • WKAlertAction
  • WKExtension
  • WKImage
  • WKInterfaceController
  • WKUserNotificationInterfaceController
  • WKInterfaceDevice
  • WKPickerItem

Also provides support for file management, through the following classes:

  • WKAudioFileAsset
  • WKAudioFilePlayer
  • WKAudioFileQueuePlayer
  • WKAudioFilePlayerItem

And a set of classes that inherit from WKInterfaceObject and represents visual UI elements.

  • WKInterfaceButton
  • WKInterfaceDate
  • WKInterfaceGroup
  • WKInterfaceImage
  • WKInterfaceLabel
  • WKInterfaceMap
  • WKInterfaceMovie
  • WKInterfacePicker
  • WKInterfaceSeparator
  • WKInterfaceSlider
  • WKInterfaceSwitch
  • WKInterfaceTable
  • WKInterfaceTimer

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






Licensed under CC BY-SA 3.0 | Source: https://handwiki.org/wiki/Engineering:WatchKit
24 views |
↧ Download this article as ZWI file
Encyclosphere.org EncycloReader is supported by the EncyclosphereKSF