워치킷
WatchKit워치키트는 애플워치 애플리케이션용 인터페이스를 개발하기 위해 애플이 제공하는 프레임워크다.[1]워치킷을 이용한 개발을 위해 워치킷 라이브러리에서 애플이 제공하는 정보와 자원이 더 많다.[2]
WatchKit에는 WatchKit 확장이 응용 프로그램을 개발하기 위해 사용하는 모든 클래스가 포함되어 있다.
반
WatchKit은 컨트롤러, 인터페이스 및 경고 작업을 나타내는 일반적인 목적으로 일부 클래스를 제공한다.
- WKAccessibilityImageRegion
- WKAlertAction
- WKExtension
- WKImage
- WKInterface Controller
- WKUserNotification인터페이스컨트롤러
- WKInterfaceDevice
- WKPIckerItem
또한 다음 클래스를 통해 파일 관리 지원:
- WKAudioFileAsset
- WKAudioFilePlayer
- WKAudioFileQueuePlayer
- WKAudioFilePlayerItem
그리고 WKInterfaceObject에서 상속되고 시각적 UI 요소를 나타내는 클래스 집합.
- WKInterface버튼
- WKInterfaceDate
- WKInterfaceGroup
- WKInterface이미지
- WKInterfaceLabel
- WKInterfaceMap
- WKINterfaceMovie
- WKINterfacePicker
- WKInterface 분리기
- WKInterfaceSlider
- WKInterface스위치
- WKInterfaceTable
- WKInterfaceTimer
프로토콜
WatchKit은 WKExtensionDelegate와 WKImageAnimitable의 두 가지 프로토콜을 제공한다.WKExtensionDelegate는 WatchKit 확장의 동작을 관리하기 위한 것이며 WKImageAnimitable은 애니메이션 이미지의 재생을 제어한다.
참조
- ^ "WatchKit - Apple Developer". apple.com.
- ^ "WatchKit Programming Guide: Developing for Apple Watch". apple.com. 21 October 2015.