iOS 8.1 to iOS 8.2 API Differences
Frameworks
Accounts Changes
ACError.h
Removed ACErrorMissingMessageID
Added ACErrorMissingTransportMessageID
CoreBluetooth Changes
CBCentralManager.h
Designated Initializer | |
---|---|
From | -- |
To | yes |
CBCharacteristic.h
Designated Initializer | |
---|---|
From | -- |
To | yes |
CBDescriptor.h
Designated Initializer | |
---|---|
From | -- |
To | yes |
CBPeripheralManager.h
Designated Initializer | |
---|---|
From | -- |
To | yes |
CBService.h
Designated Initializer | |
---|---|
From | -- |
To | yes |
CoreMotion Changes
CMError.h
Added CMErrorInvalidAction
Added CMErrorNotAuthorized
Added CMErrorNotAvailable
Added CMErrorNotEntitled
HealthKit Changes
HKDefines.h
Added HKBiologicalSexOther
HKHealthStore.h
Added -[HKHealthStore preferredUnitsForQuantityTypes:completion:]
Added HKHealthStore(HKUserPreferences)
Added HKUserPreferencesUpdatedNotification
HKUnit.h
Modified HKUnit
Protocols | |
---|---|
From | NSSecureCoding |
To | NSCopying, NSSecureCoding |
HKWorkout.h
Added HKWorkoutActivityTypeOther
MediaPlayer Changes
MPRemoteCommand.h
Added MPFeedbackCommand.localizedShortTitle
UIKit Changes
UIApplication.h
UILocalNotification.h
WatchKit Added
WKDefines.h (Added)
Added #def WKI_EXTERN
Added #def WK_CLASS_AVAILABLE_IOS
WKError.h (Added)
WKInterfaceButton.h (Added)
Added WKInterfaceButton
WKInterfaceController.h (Added)
Added WKInterfaceController
Added -[WKInterfaceController presentTextInputControllerWithSuggestions:allowedInputMode:completion:]
Added WKMenuItemIcon
Added WKMenuItemIconAccept
Added WKMenuItemIconAdd
Added WKMenuItemIconBlock
Added WKMenuItemIconDecline
Added WKMenuItemIconInfo
Added WKMenuItemIconMaybe
Added WKMenuItemIconMore
Added WKMenuItemIconMute
Added WKMenuItemIconPause
Added WKMenuItemIconPlay
Added WKMenuItemIconRepeat
Added WKMenuItemIconResume
Added WKMenuItemIconShare
Added WKMenuItemIconShuffle
Added WKMenuItemIconSpeaker
Added WKMenuItemIconTrash
Added WKTextInputMode
Added WKTextInputModePlain
WKInterfaceDate.h (Added)
WKInterfaceDevice.h (Added)
Added WKInterfaceDevice
WKInterfaceGroup.h (Added)
Added WKInterfaceGroup
WKInterfaceImage.h (Added)
Added WKInterfaceImage
WKInterfaceLabel.h (Added)
WKInterfaceMap.h (Added)
Added WKInterfaceMap
Added WKInterfaceMapPinColor
WKInterfaceObject.h (Added)
Added WKInterfaceObject
Added WKInterfaceObject(WKAccessibility)
WKInterfaceSeparator.h (Added)
WKInterfaceSlider.h (Added)
WKInterfaceSwitch.h (Added)
WKInterfaceTable.h (Added)
Added WKInterfaceTable
WKInterfaceTimer.h (Added)
Added WKInterfaceTimer
Added -[WKInterfaceTimer stop]
WatchKit.h (Added)
Modules
Accounts Changes
Removed ACErrorMissingMessageID
Added ACErrorMissingTransportMessageID
CoreBluetooth Changes
CoreBluetooth
Declaration | |
---|---|
From |
init!(delegate delegate: CBCentralManagerDelegate!, queue queue: dispatch_queue_t!) |
To |
convenience init!(delegate delegate: CBCentralManagerDelegate!, queue queue: dispatch_queue_t!) |
Declaration | |
---|---|
From |
init!(delegate delegate: CBPeripheralManagerDelegate!, queue queue: dispatch_queue_t!) |
To |
convenience init!(delegate delegate: CBPeripheralManagerDelegate!, queue queue: dispatch_queue_t!) |
CoreLocation Changes
Removed CLAuthorizationStatus.Authorized
Added CLAuthorizationStatus.AuthorizedAlways
Modified CLAuthorizationStatus [enum]
Declaration | |
---|---|
From |
enum CLAuthorizationStatus : Int32 { case NotDetermined case Restricted case Denied case Authorized case AuthorizedWhenInUse } |
To |
enum CLAuthorizationStatus : Int32 { case NotDetermined case Restricted case Denied case AuthorizedAlways case AuthorizedWhenInUse } |
CoreMotion Changes
Added CMErrorInvalidAction
Added CMErrorNotAuthorized
Added CMErrorNotAvailable
Added CMErrorNotEntitled
Darwin Changes
Added SYS_kdebug_trace64
Foundation Changes
Foundation
Modified NSDateFormatter.locale
Declaration | |
---|---|
From |
@NSCopying var locale: NSLocale? |
To |
@NSCopying var locale: NSLocale! |
Modified NSThread.threadDictionary
Declaration | |
---|---|
From |
var threadDictionary: NSMutableDictionary? { get } |
To |
var threadDictionary: NSMutableDictionary { get } |
Modified NSURL.lastPathComponent
Declaration | |
---|---|
From |
var lastPathComponent: String { get } |
To |
var lastPathComponent: String? { get } |
Modified NSURL.pathComponents
Declaration | |
---|---|
From |
var pathComponents: [AnyObject] { get } |
To |
var pathComponents: [AnyObject]? { get } |
Modified NSURL.pathExtension
Declaration | |
---|---|
From |
var pathExtension: String { get } |
To |
var pathExtension: String? { get } |