Documentation Archive Developer
Search

WatchKit Changes

WatchKit (Added)

Added WKAccessibilityImageRegion
Added WKAccessibilityImageRegion.frame
Added WKAccessibilityImageRegion.label
Added WKInterfaceButton
Added WKInterfaceButton.setAttributedTitle(NSAttributedString?)
Added WKInterfaceButton.setBackgroundColor(UIColor!)
Added WKInterfaceButton.setBackgroundImage(UIImage?)
Added WKInterfaceButton.setBackgroundImageData(NSData?)
Added WKInterfaceButton.setBackgroundImageNamed(String?)
Added WKInterfaceButton.setEnabled(Bool)
Added WKInterfaceButton.setTitle(String?)
Added WKInterfaceController
Added WKInterfaceController.init()
Added WKInterfaceController.addMenuItemWithImage(UIImage, title: String, action: Selector)
Added WKInterfaceController.addMenuItemWithImageNamed(String, title: String, action: Selector)
Added WKInterfaceController.addMenuItemWithItemIcon(WKMenuItemIcon, title: String, action: Selector)
Added WKInterfaceController.awakeWithContext(AnyObject?)
Added WKInterfaceController.becomeCurrentPage()
Added WKInterfaceController.clearAllMenuItems()
Added WKInterfaceController.contentFrame
Added WKInterfaceController.contextForSegueWithIdentifier(String) -> AnyObject?
Added WKInterfaceController.contextForSegueWithIdentifier(String, inTable: WKInterfaceTable, rowIndex: Int) -> AnyObject?
Added WKInterfaceController.contextsForSegueWithIdentifier(String) -> [AnyObject]?
Added WKInterfaceController.contextsForSegueWithIdentifier(String, inTable: WKInterfaceTable, rowIndex: Int) -> [AnyObject]?
Added WKInterfaceController.didDeactivate()
Added WKInterfaceController.dismissController()
Added WKInterfaceController.dismissTextInputController()
Added WKInterfaceController.handleActionWithIdentifier(String?, forLocalNotification: UILocalNotification)
Added WKInterfaceController.handleActionWithIdentifier(String?, forRemoteNotification:[NSObject: AnyObject])
Added WKInterfaceController.handleUserActivity([NSObject: AnyObject]!)
Added WKInterfaceController.invalidateUserActivity()
Added WKInterfaceController.openParentApplication([NSObject: AnyObject]!, reply:(([NSObject: AnyObject]!, NSError!) -> Void)!) -> Bool [class]
Added WKInterfaceController.popController()
Added WKInterfaceController.popToRootController()
Added WKInterfaceController.presentControllerWithName(String, context: AnyObject?)
Added WKInterfaceController.presentControllerWithNames([AnyObject], contexts:[AnyObject]?)
Added WKInterfaceController.presentTextInputControllerWithSuggestions([AnyObject]!, allowedInputMode: WKTextInputMode, completion:(([AnyObject]!) -> Void)!)
Added WKInterfaceController.pushControllerWithName(String, context: AnyObject?)
Added WKInterfaceController.reloadRootControllersWithNames([AnyObject]!, contexts:[AnyObject]!) [class]
Added WKInterfaceController.setTitle(String?)
Added WKInterfaceController.table(WKInterfaceTable, didSelectRowAtIndex: Int)
Added WKInterfaceController.updateUserActivity(String!, userInfo:[NSObject: AnyObject]!, webpageURL: NSURL!)
Added WKInterfaceController.willActivate()
Added WKInterfaceDate
Added WKInterfaceDate.setCalendar(NSCalendar?)
Added WKInterfaceDate.setTextColor(UIColor?)
Added WKInterfaceDate.setTimeZone(NSTimeZone?)
Added WKInterfaceDevice
Added WKInterfaceDevice.addCachedImage(UIImage, name: String) -> Bool
Added WKInterfaceDevice.addCachedImageWithData(NSData, name: String) -> Bool
Added WKInterfaceDevice.cachedImages
Added WKInterfaceDevice.currentDevice() -> WKInterfaceDevice [class]
Added WKInterfaceDevice.preferredContentSizeCategory
Added WKInterfaceDevice.removeAllCachedImages()
Added WKInterfaceDevice.removeCachedImageWithName(String)
Added WKInterfaceDevice.screenBounds
Added WKInterfaceDevice.screenScale
Added WKInterfaceGroup
Added WKInterfaceGroup.setBackgroundColor(UIColor?)
Added WKInterfaceGroup.setBackgroundImage(UIImage?)
Added WKInterfaceGroup.setBackgroundImageData(NSData?)
Added WKInterfaceGroup.setBackgroundImageNamed(String?)
Added WKInterfaceGroup.setCornerRadius(CGFloat)
Added WKInterfaceGroup.startAnimating()
Added WKInterfaceGroup.startAnimatingWithImagesInRange(NSRange, duration: NSTimeInterval, repeatCount: Int)
Added WKInterfaceGroup.stopAnimating()
Added WKInterfaceImage
Added WKInterfaceImage.setImage(UIImage?)
Added WKInterfaceImage.setImageData(NSData?)
Added WKInterfaceImage.setImageNamed(String?)
Added WKInterfaceImage.setTintColor(UIColor!)
Added WKInterfaceImage.startAnimating()
Added WKInterfaceImage.startAnimatingWithImagesInRange(NSRange, duration: NSTimeInterval, repeatCount: Int)
Added WKInterfaceImage.stopAnimating()
Added WKInterfaceLabel
Added WKInterfaceLabel.setAttributedText(NSAttributedString?)
Added WKInterfaceLabel.setText(String?)
Added WKInterfaceLabel.setTextColor(UIColor?)
Added WKInterfaceMap
Added WKInterfaceMap.addAnnotation(CLLocationCoordinate2D, withImage: UIImage!, centerOffset: CGPoint)
Added WKInterfaceMap.addAnnotation(CLLocationCoordinate2D, withImageNamed: String!, centerOffset: CGPoint)
Added WKInterfaceMap.addAnnotation(CLLocationCoordinate2D, withPinColor: WKInterfaceMapPinColor)
Added WKInterfaceMap.removeAllAnnotations()
Added WKInterfaceMap.setRegion(MKCoordinateRegion)
Added WKInterfaceMap.setVisibleMapRect(MKMapRect)
Added WKInterfaceMapPinColor [enum]
Added WKInterfaceMapPinColor.Green
Added WKInterfaceMapPinColor.Purple
Added WKInterfaceMapPinColor.Red
Added WKInterfaceObject
Added WKInterfaceObject.interfaceProperty
Added WKInterfaceObject.setAccessibilityHint(String?)
Added WKInterfaceObject.setAccessibilityImageRegions([AnyObject]!)
Added WKInterfaceObject.setAccessibilityLabel(String?)
Added WKInterfaceObject.setAccessibilityTraits(UIAccessibilityTraits)
Added WKInterfaceObject.setAccessibilityValue(String?)
Added WKInterfaceObject.setAlpha(CGFloat)
Added WKInterfaceObject.setHeight(CGFloat)
Added WKInterfaceObject.setHidden(Bool)
Added WKInterfaceObject.setIsAccessibilityElement(Bool)
Added WKInterfaceObject.setWidth(CGFloat)
Added WKInterfaceSeparator
Added WKInterfaceSeparator.setColor(UIColor?)
Added WKInterfaceSlider
Added WKInterfaceSlider.setColor(UIColor?)
Added WKInterfaceSlider.setEnabled(Bool)
Added WKInterfaceSlider.setNumberOfSteps(Int)
Added WKInterfaceSlider.setValue(Float)
Added WKInterfaceSwitch
Added WKInterfaceSwitch.setAttributedTitle(NSAttributedString!)
Added WKInterfaceSwitch.setColor(UIColor!)
Added WKInterfaceSwitch.setEnabled(Bool)
Added WKInterfaceSwitch.setOn(Bool)
Added WKInterfaceSwitch.setTitle(String!)
Added WKInterfaceTable
Added WKInterfaceTable.insertRowsAtIndexes(NSIndexSet, withRowType: String)
Added WKInterfaceTable.numberOfRows
Added WKInterfaceTable.removeRowsAtIndexes(NSIndexSet)
Added WKInterfaceTable.rowControllerAtIndex(Int) -> AnyObject?
Added WKInterfaceTable.scrollToRowAtIndex(Int)
Added WKInterfaceTable.setNumberOfRows(Int, withRowType: String)
Added WKInterfaceTable.setRowTypes([AnyObject])
Added WKInterfaceTimer
Added WKInterfaceTimer.setDate(NSDate)
Added WKInterfaceTimer.setTextColor(UIColor?)
Added WKInterfaceTimer.start()
Added WKInterfaceTimer.stop()
Added WKMenuItemIcon [enum]
Added WKMenuItemIcon.Accept
Added WKMenuItemIcon.Add
Added WKMenuItemIcon.Block
Added WKMenuItemIcon.Decline
Added WKMenuItemIcon.Info
Added WKMenuItemIcon.Maybe
Added WKMenuItemIcon.More
Added WKMenuItemIcon.Mute
Added WKMenuItemIcon.Pause
Added WKMenuItemIcon.Play
Added WKMenuItemIcon.Repeat
Added WKMenuItemIcon.Resume
Added WKMenuItemIcon.Share
Added WKMenuItemIcon.Shuffle
Added WKMenuItemIcon.Speaker
Added WKMenuItemIcon.Trash
Added WKTextInputMode [enum]
Added WKTextInputMode.AllowAnimatedEmoji
Added WKTextInputMode.AllowEmoji
Added WKTextInputMode.Plain
Added WKUserNotificationInterfaceController
Added WKUserNotificationInterfaceController.init()
Added WKUserNotificationInterfaceController.didReceiveLocalNotification(UILocalNotification, withCompletion:(WKUserNotificationInterfaceType) -> Void)
Added WKUserNotificationInterfaceController.didReceiveRemoteNotification([NSObject: AnyObject], withCompletion:(WKUserNotificationInterfaceType) -> Void)
Added WKUserNotificationInterfaceType [enum]
Added WKUserNotificationInterfaceType.Custom
Added WKUserNotificationInterfaceType.Default
Added WatchKitErrorCode [enum]
Added WatchKitErrorCode.ApplicationDelegateWatchKitRequestReplyNotCalledError
Added WatchKitErrorCode.UnknownError
Added WatchKitErrorDomain