StoreKit Changes for Swift
StoreKit
Removed SKCloudServiceCapability.None
Added SKError [struct]
Added SKError.clientInvalid
Added SKError.init(_nsError: NSError)
Added SKError.paymentCancelled
Added SKError.paymentInvalid
Added SKError.unknown
| Name | Declaration | |
|---|---|---|
| From | SKCloudServiceCapabilitiesDidChangeNotification | let SKCloudServiceCapabilitiesDidChangeNotification: String |
| To | SKCloudServiceCapabilitiesDidChange | static let SKCloudServiceCapabilitiesDidChange: NSNotification.Name |
| Name | Declaration | |
|---|---|---|
| From | SKStorefrontIdentifierDidChangeNotification | let SKStorefrontIdentifierDidChangeNotification: String |
| To | SKStorefrontIdentifierDidChange | static let SKStorefrontIdentifierDidChange: NSNotification.Name |
| Declaration | |
|---|---|
| From | enum SKCloudServiceAuthorizationStatus : Int {
case NotDetermined
case Denied
case Restricted
case Authorized
} |
| To | enum SKCloudServiceAuthorizationStatus : Int {
case notDetermined
case denied
case restricted
case authorized
} |
| Declaration | |
|---|---|
| From | case Authorized |
| To | case authorized |
| Declaration | |
|---|---|
| From | case Denied |
| To | case denied |
| Declaration | |
|---|---|
| From | case NotDetermined |
| To | case notDetermined |
| Declaration | |
|---|---|
| From | case Restricted |
| To | case restricted |
Modified SKCloudServiceCapability [struct]
| Declaration | Protocols | |
|---|---|---|
| From | struct SKCloudServiceCapability : OptionSetType {
init(rawValue rawValue: UInt)
static var None: SKCloudServiceCapability { get }
static var MusicCatalogPlayback: SKCloudServiceCapability { get }
static var AddToCloudMusicLibrary: SKCloudServiceCapability { get }
} | OptionSetType |
| To | struct SKCloudServiceCapability : OptionSet {
init(rawValue rawValue: UInt)
static var none: SKCloudServiceCapability { get }
static var musicCatalogPlayback: SKCloudServiceCapability { get }
static var addToCloudMusicLibrary: SKCloudServiceCapability { get }
func intersect(_ other: SKCloudServiceCapability) -> SKCloudServiceCapability
func exclusiveOr(_ other: SKCloudServiceCapability) -> SKCloudServiceCapability
mutating func unionInPlace(_ other: SKCloudServiceCapability)
mutating func intersectInPlace(_ other: SKCloudServiceCapability)
mutating func exclusiveOrInPlace(_ other: SKCloudServiceCapability)
func isSubsetOf(_ other: SKCloudServiceCapability) -> Bool
func isDisjointWith(_ other: SKCloudServiceCapability) -> Bool
func isSupersetOf(_ other: SKCloudServiceCapability) -> Bool
mutating func subtractInPlace(_ other: SKCloudServiceCapability)
func isStrictSupersetOf(_ other: SKCloudServiceCapability) -> Bool
func isStrictSubsetOf(_ other: SKCloudServiceCapability) -> Bool
}
extension SKCloudServiceCapability {
func union(_ other: SKCloudServiceCapability) -> SKCloudServiceCapability
func intersection(_ other: SKCloudServiceCapability) -> SKCloudServiceCapability
func symmetricDifference(_ other: SKCloudServiceCapability) -> SKCloudServiceCapability
}
extension SKCloudServiceCapability {
func contains(_ member: SKCloudServiceCapability) -> Bool
mutating func insert(_ newMember: SKCloudServiceCapability) -> (inserted: Bool, memberAfterInsert: SKCloudServiceCapability)
mutating func remove(_ member: SKCloudServiceCapability) -> SKCloudServiceCapability?
mutating func update(with newMember: SKCloudServiceCapability) -> SKCloudServiceCapability?
}
extension SKCloudServiceCapability {
convenience init()
mutating func formUnion(_ other: SKCloudServiceCapability)
mutating func formIntersection(_ other: SKCloudServiceCapability)
mutating func formSymmetricDifference(_ other: SKCloudServiceCapability)
}
extension SKCloudServiceCapability {
convenience init<S : Sequence where S.Iterator.Element == SKCloudServiceCapability>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: SKCloudServiceCapability...)
mutating func subtract(_ other: SKCloudServiceCapability)
func isSubset(of other: SKCloudServiceCapability) -> Bool
func isSuperset(of other: SKCloudServiceCapability) -> Bool
func isDisjoint(with other: SKCloudServiceCapability) -> Bool
func subtracting(_ other: SKCloudServiceCapability) -> SKCloudServiceCapability
var isEmpty: Bool { get }
func isStrictSuperset(of other: SKCloudServiceCapability) -> Bool
func isStrictSubset(of other: SKCloudServiceCapability) -> Bool
} | OptionSet |
| Declaration | |
|---|---|
| From | static var AddToCloudMusicLibrary: SKCloudServiceCapability { get } |
| To | static var addToCloudMusicLibrary: SKCloudServiceCapability { get } |
| Declaration | |
|---|---|
| From | static var MusicCatalogPlayback: SKCloudServiceCapability { get } |
| To | static var musicCatalogPlayback: SKCloudServiceCapability { get } |
Modified SKCloudServiceController
| Declaration | Protocols | |
|---|---|---|
| From | class SKCloudServiceController : NSObject {
class func authorizationStatus() -> SKCloudServiceAuthorizationStatus
class func requestAuthorization(_ handler: (SKCloudServiceAuthorizationStatus) -> Void)
func requestStorefrontIdentifierWithCompletionHandler(_ completionHandler: (String?, NSError?) -> Void)
func requestCapabilitiesWithCompletionHandler(_ completionHandler: (SKCloudServiceCapability, NSError?) -> Void)
} | -- |
| To | class SKCloudServiceController : NSObject {
class func authorizationStatus() -> SKCloudServiceAuthorizationStatus
class func requestAuthorization(_ handler: @escaping (SKCloudServiceAuthorizationStatus) -> Swift.Void)
func requestStorefrontIdentifier(completionHandler completionHandler: @escaping (String?, Error?) -> Swift.Void)
func requestCapabilities(completionHandler completionHandler: @escaping (SKCloudServiceCapability, Error?) -> Swift.Void)
func awakeFromNib()
func prepareForInterfaceBuilder()
func accessibilityActivate() -> Bool
func accessibilityIncrement()
func accessibilityDecrement()
func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool
func accessibilityPerformEscape() -> Bool
func accessibilityPerformMagicTap() -> Bool
var accessibilityCustomActions: [UIAccessibilityCustomAction]?
func accessibilityElementDidBecomeFocused()
func accessibilityElementDidLoseFocus()
func accessibilityElementIsFocused() -> Bool
func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>?
func accessibilityElementCount() -> Int
func accessibilityElement(at index: Int) -> Any?
func index(ofAccessibilityElement element: Any) -> Int
var accessibilityElements: [Any]?
var isAccessibilityElement: Bool
var accessibilityLabel: String?
var accessibilityHint: String?
var accessibilityValue: String?
var accessibilityTraits: UIAccessibilityTraits
var accessibilityFrame: CGRect
@NSCopying var accessibilityPath: UIBezierPath?
var accessibilityActivationPoint: CGPoint
var accessibilityLanguage: String?
var accessibilityElementsHidden: Bool
var accessibilityViewIsModal: Bool
var shouldGroupAccessibilityChildren: Bool
var accessibilityNavigationStyle: UIAccessibilityNavigationStyle
var accessibilityHeaderElements: [Any]?
var accessibilityCustomRotors: [UIAccessibilityCustomRotor]?
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
func performSelector(inBackground aSelector: Selector, with arg: Any?)
class func classForKeyedUnarchiver() -> AnyClass
var classForKeyedArchiver: AnyClass? { get }
func replacementObject(for archiver: NSKeyedArchiver) -> Any?
class func classFallbacksForKeyedArchiver() -> [String]
class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
class func automaticallyNotifiesObservers(forKey key: String) -> Bool
var observationInfo: UnsafeMutableRawPointer?
func willChangeValue(forKey key: String)
func didChangeValue(forKey key: String)
func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
class var accessInstanceVariablesDirectly: Bool { get }
func value(forKey key: String) -> Any?
func setValue(_ value: Any?, forKey key: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
func mutableArrayValue(forKey key: String) -> NSMutableArray
func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
func mutableSetValue(forKey key: String) -> NSMutableSet
func value(forKeyPath keyPath: String) -> Any?
func setValue(_ value: Any?, forKeyPath keyPath: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
func value(forUndefinedKey key: String) -> Any?
func setValue(_ value: Any?, forUndefinedKey key: String)
func setNilValueForKey(_ key: String)
func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
func setValuesForKeys(_ keyedValues: [String : Any])
func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
func fileManager(_ fm: FileManager, willProcessPath path: String)
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
class func cancelPreviousPerformRequests(withTarget aTarget: Any)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
var autoContentAccessingProxy: Any { get }
class func version() -> Int
class func setVersion(_ aVersion: Int)
var classForCoder: AnyClass { get }
func awakeAfter(using aDecoder: NSCoder) -> Any?
func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?)
}
extension SKCloudServiceController : CVarArg {
}
extension SKCloudServiceController : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
| Declaration | |
|---|---|
| From | class func requestAuthorization(_ handler: (SKCloudServiceAuthorizationStatus) -> Void) |
| To | class func requestAuthorization(_ handler: @escaping (SKCloudServiceAuthorizationStatus) -> Swift.Void) |
| Declaration | |
|---|---|
| From | func requestCapabilitiesWithCompletionHandler(_ completionHandler: (SKCloudServiceCapability, NSError?) -> Void) |
| To | func requestCapabilities(completionHandler completionHandler: @escaping (SKCloudServiceCapability, Error?) -> Swift.Void) |
| Declaration | |
|---|---|
| From | func requestStorefrontIdentifierWithCompletionHandler(_ completionHandler: (String?, NSError?) -> Void) |
| To | func requestStorefrontIdentifier(completionHandler completionHandler: @escaping (String?, Error?) -> Swift.Void) |
Modified SKDownload
| Declaration | Protocols | |
|---|---|---|
| From | class SKDownload : NSObject {
var downloadState: SKDownloadState { get }
var contentLength: Int64 { get }
var contentIdentifier: String { get }
var contentURL: NSURL? { get }
var contentVersion: String { get }
var error: NSError? { get }
var progress: Float { get }
var timeRemaining: NSTimeInterval { get }
var transaction: SKPaymentTransaction { get }
} | -- |
| To | class SKDownload : NSObject {
var downloadState: SKDownloadState { get }
var contentLength: Int64 { get }
var contentIdentifier: String { get }
var contentURL: URL? { get }
var contentVersion: String { get }
var error: Error? { get }
var progress: Float { get }
var timeRemaining: TimeInterval { get }
var transaction: SKPaymentTransaction { get }
func awakeFromNib()
func prepareForInterfaceBuilder()
func accessibilityActivate() -> Bool
func accessibilityIncrement()
func accessibilityDecrement()
func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool
func accessibilityPerformEscape() -> Bool
func accessibilityPerformMagicTap() -> Bool
var accessibilityCustomActions: [UIAccessibilityCustomAction]?
func accessibilityElementDidBecomeFocused()
func accessibilityElementDidLoseFocus()
func accessibilityElementIsFocused() -> Bool
func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>?
func accessibilityElementCount() -> Int
func accessibilityElement(at index: Int) -> Any?
func index(ofAccessibilityElement element: Any) -> Int
var accessibilityElements: [Any]?
var isAccessibilityElement: Bool
var accessibilityLabel: String?
var accessibilityHint: String?
var accessibilityValue: String?
var accessibilityTraits: UIAccessibilityTraits
var accessibilityFrame: CGRect
@NSCopying var accessibilityPath: UIBezierPath?
var accessibilityActivationPoint: CGPoint
var accessibilityLanguage: String?
var accessibilityElementsHidden: Bool
var accessibilityViewIsModal: Bool
var shouldGroupAccessibilityChildren: Bool
var accessibilityNavigationStyle: UIAccessibilityNavigationStyle
var accessibilityHeaderElements: [Any]?
var accessibilityCustomRotors: [UIAccessibilityCustomRotor]?
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
func performSelector(inBackground aSelector: Selector, with arg: Any?)
class func classForKeyedUnarchiver() -> AnyClass
var classForKeyedArchiver: AnyClass? { get }
func replacementObject(for archiver: NSKeyedArchiver) -> Any?
class func classFallbacksForKeyedArchiver() -> [String]
class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
class func automaticallyNotifiesObservers(forKey key: String) -> Bool
var observationInfo: UnsafeMutableRawPointer?
func willChangeValue(forKey key: String)
func didChangeValue(forKey key: String)
func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
class var accessInstanceVariablesDirectly: Bool { get }
func value(forKey key: String) -> Any?
func setValue(_ value: Any?, forKey key: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
func mutableArrayValue(forKey key: String) -> NSMutableArray
func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
func mutableSetValue(forKey key: String) -> NSMutableSet
func value(forKeyPath keyPath: String) -> Any?
func setValue(_ value: Any?, forKeyPath keyPath: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
func value(forUndefinedKey key: String) -> Any?
func setValue(_ value: Any?, forUndefinedKey key: String)
func setNilValueForKey(_ key: String)
func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
func setValuesForKeys(_ keyedValues: [String : Any])
func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
func fileManager(_ fm: FileManager, willProcessPath path: String)
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
class func cancelPreviousPerformRequests(withTarget aTarget: Any)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
var autoContentAccessingProxy: Any { get }
class func version() -> Int
class func setVersion(_ aVersion: Int)
var classForCoder: AnyClass { get }
func awakeAfter(using aDecoder: NSCoder) -> Any?
func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?)
}
extension SKDownload : CVarArg {
}
extension SKDownload : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
Modified SKDownload.contentURL
| Declaration | |
|---|---|
| From | var contentURL: NSURL? { get } |
| To | var contentURL: URL? { get } |
Modified SKDownload.error
| Declaration | |
|---|---|
| From | var error: NSError? { get } |
| To | var error: Error? { get } |
Modified SKDownload.timeRemaining
| Declaration | |
|---|---|
| From | var timeRemaining: NSTimeInterval { get } |
| To | var timeRemaining: TimeInterval { get } |
Modified SKDownloadState [enum]
| Declaration | |
|---|---|
| From | enum SKDownloadState : Int {
case Waiting
case Active
case Paused
case Finished
case Failed
case Cancelled
} |
| To | enum SKDownloadState : Int {
case waiting
case active
case paused
case finished
case failed
case cancelled
} |
Modified SKDownloadState.active
| Declaration | |
|---|---|
| From | case Active |
| To | case active |
Modified SKDownloadState.cancelled
| Declaration | |
|---|---|
| From | case Cancelled |
| To | case cancelled |
Modified SKDownloadState.failed
| Declaration | |
|---|---|
| From | case Failed |
| To | case failed |
Modified SKDownloadState.finished
| Declaration | |
|---|---|
| From | case Finished |
| To | case finished |
Modified SKDownloadState.paused
| Declaration | |
|---|---|
| From | case Paused |
| To | case paused |
Modified SKDownloadState.waiting
| Declaration | |
|---|---|
| From | case Waiting |
| To | case waiting |
Modified SKError.Code [enum]
| Declaration | |
|---|---|
| From | enum SKErrorCode : Int {
case Unknown
case ClientInvalid
case PaymentCancelled
case PaymentInvalid
case PaymentNotAllowed
case StoreProductNotAvailable
case CloudServicePermissionDenied
case CloudServiceNetworkConnectionFailed
} |
| To | enum Code : Int {
typealias _ErrorType = SKError
case unknown
case clientInvalid
case paymentCancelled
case paymentInvalid
case paymentNotAllowed
case storeProductNotAvailable
case cloudServicePermissionDenied
case cloudServiceNetworkConnectionFailed
} |
Modified SKError.Code.clientInvalid
| Declaration | |
|---|---|
| From | case ClientInvalid |
| To | case clientInvalid |
| Declaration | |
|---|---|
| From | case CloudServiceNetworkConnectionFailed |
| To | case cloudServiceNetworkConnectionFailed |
| Declaration | |
|---|---|
| From | case CloudServicePermissionDenied |
| To | case cloudServicePermissionDenied |
Modified SKError.Code.paymentCancelled
| Declaration | |
|---|---|
| From | case PaymentCancelled |
| To | case paymentCancelled |
Modified SKError.Code.paymentInvalid
| Declaration | |
|---|---|
| From | case PaymentInvalid |
| To | case paymentInvalid |
Modified SKError.Code.paymentNotAllowed
| Declaration | |
|---|---|
| From | case PaymentNotAllowed |
| To | case paymentNotAllowed |
| Declaration | |
|---|---|
| From | case StoreProductNotAvailable |
| To | case storeProductNotAvailable |
Modified SKError.Code.unknown
| Declaration | Introduction | |
|---|---|---|
| From | case Unknown | iOS 9.3 |
| To | case unknown | iOS 10.0 |
Modified SKMutablePayment
| Declaration | |
|---|---|
| From | class SKMutablePayment : SKPayment {
var applicationUsername: String
var productIdentifier: String
var quantity: Int
@NSCopying var requestData: NSData?
var simulatesAskToBuyInSandbox: Bool
} |
| To | class SKMutablePayment : SKPayment {
var applicationUsername: String
var productIdentifier: String
var quantity: Int
var requestData: Data?
var simulatesAskToBuyInSandbox: Bool
} |
Modified SKMutablePayment.requestData
| Declaration | |
|---|---|
| From | @NSCopying var requestData: NSData? |
| To | var requestData: Data? |
Modified SKPayment
| Declaration | Protocols | |
|---|---|---|
| From | class SKPayment : NSObject, NSCopying, NSMutableCopying {
convenience init(product product: SKProduct)
class func paymentWithProduct(_ product: SKProduct) -> Self
class func paymentWithProductIdentifier(_ identifier: String) -> AnyObject
var productIdentifier: String { get }
@NSCopying var requestData: NSData? { get }
var quantity: Int { get }
var applicationUsername: String? { get }
var simulatesAskToBuyInSandbox: Bool { get }
} | NSCopying, NSMutableCopying |
| To | class SKPayment : NSObject, NSCopying, NSMutableCopying {
convenience init(product product: SKProduct)
class func withProduct(_ product: SKProduct) -> Self
class func payment(withProductIdentifier identifier: String) -> Any
var productIdentifier: String { get }
var requestData: Data? { get }
var quantity: Int { get }
var applicationUsername: String? { get }
var simulatesAskToBuyInSandbox: Bool { get }
func awakeFromNib()
func prepareForInterfaceBuilder()
func accessibilityActivate() -> Bool
func accessibilityIncrement()
func accessibilityDecrement()
func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool
func accessibilityPerformEscape() -> Bool
func accessibilityPerformMagicTap() -> Bool
var accessibilityCustomActions: [UIAccessibilityCustomAction]?
func accessibilityElementDidBecomeFocused()
func accessibilityElementDidLoseFocus()
func accessibilityElementIsFocused() -> Bool
func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>?
func accessibilityElementCount() -> Int
func accessibilityElement(at index: Int) -> Any?
func index(ofAccessibilityElement element: Any) -> Int
var accessibilityElements: [Any]?
var isAccessibilityElement: Bool
var accessibilityLabel: String?
var accessibilityHint: String?
var accessibilityValue: String?
var accessibilityTraits: UIAccessibilityTraits
var accessibilityFrame: CGRect
@NSCopying var accessibilityPath: UIBezierPath?
var accessibilityActivationPoint: CGPoint
var accessibilityLanguage: String?
var accessibilityElementsHidden: Bool
var accessibilityViewIsModal: Bool
var shouldGroupAccessibilityChildren: Bool
var accessibilityNavigationStyle: UIAccessibilityNavigationStyle
var accessibilityHeaderElements: [Any]?
var accessibilityCustomRotors: [UIAccessibilityCustomRotor]?
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
func performSelector(inBackground aSelector: Selector, with arg: Any?)
class func classForKeyedUnarchiver() -> AnyClass
var classForKeyedArchiver: AnyClass? { get }
func replacementObject(for archiver: NSKeyedArchiver) -> Any?
class func classFallbacksForKeyedArchiver() -> [String]
class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
class func automaticallyNotifiesObservers(forKey key: String) -> Bool
var observationInfo: UnsafeMutableRawPointer?
func willChangeValue(forKey key: String)
func didChangeValue(forKey key: String)
func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
class var accessInstanceVariablesDirectly: Bool { get }
func value(forKey key: String) -> Any?
func setValue(_ value: Any?, forKey key: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
func mutableArrayValue(forKey key: String) -> NSMutableArray
func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
func mutableSetValue(forKey key: String) -> NSMutableSet
func value(forKeyPath keyPath: String) -> Any?
func setValue(_ value: Any?, forKeyPath keyPath: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
func value(forUndefinedKey key: String) -> Any?
func setValue(_ value: Any?, forUndefinedKey key: String)
func setNilValueForKey(_ key: String)
func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
func setValuesForKeys(_ keyedValues: [String : Any])
func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
func fileManager(_ fm: FileManager, willProcessPath path: String)
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
class func cancelPreviousPerformRequests(withTarget aTarget: Any)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
var autoContentAccessingProxy: Any { get }
class func version() -> Int
class func setVersion(_ aVersion: Int)
var classForCoder: AnyClass { get }
func awakeAfter(using aDecoder: NSCoder) -> Any?
func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?)
}
extension SKPayment : CVarArg {
}
extension SKPayment : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable, NSCopying, NSMutableCopying |
Modified SKPayment.requestData
| Declaration | |
|---|---|
| From | @NSCopying var requestData: NSData? { get } |
| To | var requestData: Data? { get } |
Modified SKPaymentQueue
| Declaration | Protocols | |
|---|---|---|
| From | class SKPaymentQueue : NSObject {
class func defaultQueue() -> Self
class func canMakePayments() -> Bool
func addPayment(_ payment: SKPayment)
func restoreCompletedTransactions()
func restoreCompletedTransactionsWithApplicationUsername(_ username: String?)
func finishTransaction(_ transaction: SKPaymentTransaction)
func startDownloads(_ downloads: [SKDownload])
func pauseDownloads(_ downloads: [SKDownload])
func resumeDownloads(_ downloads: [SKDownload])
func cancelDownloads(_ downloads: [SKDownload])
func addTransactionObserver(_ observer: SKPaymentTransactionObserver)
func removeTransactionObserver(_ observer: SKPaymentTransactionObserver)
var transactions: [SKPaymentTransaction] { get }
} | -- |
| To | class SKPaymentQueue : NSObject {
class func `default`() -> Self
class func canMakePayments() -> Bool
func add(_ payment: SKPayment)
func restoreCompletedTransactions()
func restoreCompletedTransactions(withApplicationUsername username: String?)
func finishTransaction(_ transaction: SKPaymentTransaction)
func start(_ downloads: [SKDownload])
func pause(_ downloads: [SKDownload])
func resume(_ downloads: [SKDownload])
func cancel(_ downloads: [SKDownload])
func add(_ observer: SKPaymentTransactionObserver)
func remove(_ observer: SKPaymentTransactionObserver)
var transactions: [SKPaymentTransaction] { get }
func awakeFromNib()
func prepareForInterfaceBuilder()
func accessibilityActivate() -> Bool
func accessibilityIncrement()
func accessibilityDecrement()
func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool
func accessibilityPerformEscape() -> Bool
func accessibilityPerformMagicTap() -> Bool
var accessibilityCustomActions: [UIAccessibilityCustomAction]?
func accessibilityElementDidBecomeFocused()
func accessibilityElementDidLoseFocus()
func accessibilityElementIsFocused() -> Bool
func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>?
func accessibilityElementCount() -> Int
func accessibilityElement(at index: Int) -> Any?
func index(ofAccessibilityElement element: Any) -> Int
var accessibilityElements: [Any]?
var isAccessibilityElement: Bool
var accessibilityLabel: String?
var accessibilityHint: String?
var accessibilityValue: String?
var accessibilityTraits: UIAccessibilityTraits
var accessibilityFrame: CGRect
@NSCopying var accessibilityPath: UIBezierPath?
var accessibilityActivationPoint: CGPoint
var accessibilityLanguage: String?
var accessibilityElementsHidden: Bool
var accessibilityViewIsModal: Bool
var shouldGroupAccessibilityChildren: Bool
var accessibilityNavigationStyle: UIAccessibilityNavigationStyle
var accessibilityHeaderElements: [Any]?
var accessibilityCustomRotors: [UIAccessibilityCustomRotor]?
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
func performSelector(inBackground aSelector: Selector, with arg: Any?)
class func classForKeyedUnarchiver() -> AnyClass
var classForKeyedArchiver: AnyClass? { get }
func replacementObject(for archiver: NSKeyedArchiver) -> Any?
class func classFallbacksForKeyedArchiver() -> [String]
class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
class func automaticallyNotifiesObservers(forKey key: String) -> Bool
var observationInfo: UnsafeMutableRawPointer?
func willChangeValue(forKey key: String)
func didChangeValue(forKey key: String)
func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
class var accessInstanceVariablesDirectly: Bool { get }
func value(forKey key: String) -> Any?
func setValue(_ value: Any?, forKey key: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
func mutableArrayValue(forKey key: String) -> NSMutableArray
func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
func mutableSetValue(forKey key: String) -> NSMutableSet
func value(forKeyPath keyPath: String) -> Any?
func setValue(_ value: Any?, forKeyPath keyPath: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
func value(forUndefinedKey key: String) -> Any?
func setValue(_ value: Any?, forUndefinedKey key: String)
func setNilValueForKey(_ key: String)
func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
func setValuesForKeys(_ keyedValues: [String : Any])
func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
func fileManager(_ fm: FileManager, willProcessPath path: String)
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
class func cancelPreviousPerformRequests(withTarget aTarget: Any)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
var autoContentAccessingProxy: Any { get }
class func version() -> Int
class func setVersion(_ aVersion: Int)
var classForCoder: AnyClass { get }
func awakeAfter(using aDecoder: NSCoder) -> Any?
func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?)
}
extension SKPaymentQueue : CVarArg {
}
extension SKPaymentQueue : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
| Declaration | |
|---|---|
| From | func addTransactionObserver(_ observer: SKPaymentTransactionObserver) |
| To | func add(_ observer: SKPaymentTransactionObserver) |
Modified SKPaymentQueue.add(_: SKPayment)
| Declaration | |
|---|---|
| From | func addPayment(_ payment: SKPayment) |
| To | func add(_ payment: SKPayment) |
| Declaration | |
|---|---|
| From | func cancelDownloads(_ downloads: [SKDownload]) |
| To | func cancel(_ downloads: [SKDownload]) |
Modified SKPaymentQueue.default() [class]
| Declaration | |
|---|---|
| From | class func defaultQueue() -> Self |
| To | class func `default`() -> Self |
| Declaration | |
|---|---|
| From | func pauseDownloads(_ downloads: [SKDownload]) |
| To | func pause(_ downloads: [SKDownload]) |
| Declaration | |
|---|---|
| From | func removeTransactionObserver(_ observer: SKPaymentTransactionObserver) |
| To | func remove(_ observer: SKPaymentTransactionObserver) |
| Declaration | |
|---|---|
| From | func restoreCompletedTransactionsWithApplicationUsername(_ username: String?) |
| To | func restoreCompletedTransactions(withApplicationUsername username: String?) |
| Declaration | |
|---|---|
| From | func resumeDownloads(_ downloads: [SKDownload]) |
| To | func resume(_ downloads: [SKDownload]) |
| Declaration | |
|---|---|
| From | func startDownloads(_ downloads: [SKDownload]) |
| To | func start(_ downloads: [SKDownload]) |
Modified SKPaymentTransaction
| Declaration | Protocols | |
|---|---|---|
| From | class SKPaymentTransaction : NSObject {
var error: NSError? { get }
var originalTransaction: SKPaymentTransaction? { get }
var payment: SKPayment { get }
var downloads: [SKDownload] { get }
var transactionDate: NSDate? { get }
var transactionIdentifier: String? { get }
var transactionReceipt: NSData? { get }
var transactionState: SKPaymentTransactionState { get }
} | -- |
| To | class SKPaymentTransaction : NSObject {
var error: Error? { get }
var original: SKPaymentTransaction? { get }
var payment: SKPayment { get }
var downloads: [SKDownload] { get }
var transactionDate: Date? { get }
var transactionIdentifier: String? { get }
var transactionReceipt: Data? { get }
var transactionState: SKPaymentTransactionState { get }
func awakeFromNib()
func prepareForInterfaceBuilder()
func accessibilityActivate() -> Bool
func accessibilityIncrement()
func accessibilityDecrement()
func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool
func accessibilityPerformEscape() -> Bool
func accessibilityPerformMagicTap() -> Bool
var accessibilityCustomActions: [UIAccessibilityCustomAction]?
func accessibilityElementDidBecomeFocused()
func accessibilityElementDidLoseFocus()
func accessibilityElementIsFocused() -> Bool
func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>?
func accessibilityElementCount() -> Int
func accessibilityElement(at index: Int) -> Any?
func index(ofAccessibilityElement element: Any) -> Int
var accessibilityElements: [Any]?
var isAccessibilityElement: Bool
var accessibilityLabel: String?
var accessibilityHint: String?
var accessibilityValue: String?
var accessibilityTraits: UIAccessibilityTraits
var accessibilityFrame: CGRect
@NSCopying var accessibilityPath: UIBezierPath?
var accessibilityActivationPoint: CGPoint
var accessibilityLanguage: String?
var accessibilityElementsHidden: Bool
var accessibilityViewIsModal: Bool
var shouldGroupAccessibilityChildren: Bool
var accessibilityNavigationStyle: UIAccessibilityNavigationStyle
var accessibilityHeaderElements: [Any]?
var accessibilityCustomRotors: [UIAccessibilityCustomRotor]?
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
func performSelector(inBackground aSelector: Selector, with arg: Any?)
class func classForKeyedUnarchiver() -> AnyClass
var classForKeyedArchiver: AnyClass? { get }
func replacementObject(for archiver: NSKeyedArchiver) -> Any?
class func classFallbacksForKeyedArchiver() -> [String]
class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
class func automaticallyNotifiesObservers(forKey key: String) -> Bool
var observationInfo: UnsafeMutableRawPointer?
func willChangeValue(forKey key: String)
func didChangeValue(forKey key: String)
func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
class var accessInstanceVariablesDirectly: Bool { get }
func value(forKey key: String) -> Any?
func setValue(_ value: Any?, forKey key: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
func mutableArrayValue(forKey key: String) -> NSMutableArray
func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
func mutableSetValue(forKey key: String) -> NSMutableSet
func value(forKeyPath keyPath: String) -> Any?
func setValue(_ value: Any?, forKeyPath keyPath: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
func value(forUndefinedKey key: String) -> Any?
func setValue(_ value: Any?, forUndefinedKey key: String)
func setNilValueForKey(_ key: String)
func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
func setValuesForKeys(_ keyedValues: [String : Any])
func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
func fileManager(_ fm: FileManager, willProcessPath path: String)
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
class func cancelPreviousPerformRequests(withTarget aTarget: Any)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
var autoContentAccessingProxy: Any { get }
class func version() -> Int
class func setVersion(_ aVersion: Int)
var classForCoder: AnyClass { get }
func awakeAfter(using aDecoder: NSCoder) -> Any?
func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?)
}
extension SKPaymentTransaction : CVarArg {
}
extension SKPaymentTransaction : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
Modified SKPaymentTransaction.error
| Declaration | |
|---|---|
| From | var error: NSError? { get } |
| To | var error: Error? { get } |
Modified SKPaymentTransaction.original
| Declaration | |
|---|---|
| From | var originalTransaction: SKPaymentTransaction? { get } |
| To | var original: SKPaymentTransaction? { get } |
Modified SKPaymentTransaction.transactionDate
| Declaration | |
|---|---|
| From | var transactionDate: NSDate? { get } |
| To | var transactionDate: Date? { get } |
Modified SKPaymentTransactionObserver
| Declaration | |
|---|---|
| From | protocol SKPaymentTransactionObserver : NSObjectProtocol {
func paymentQueue(_ queue: SKPaymentQueue, updatedTransactions transactions: [SKPaymentTransaction])
optional func paymentQueue(_ queue: SKPaymentQueue, removedTransactions transactions: [SKPaymentTransaction])
optional func paymentQueue(_ queue: SKPaymentQueue, restoreCompletedTransactionsFailedWithError error: NSError)
optional func paymentQueueRestoreCompletedTransactionsFinished(_ queue: SKPaymentQueue)
optional func paymentQueue(_ queue: SKPaymentQueue, updatedDownloads downloads: [SKDownload])
} |
| To | protocol SKPaymentTransactionObserver : NSObjectProtocol {
func paymentQueue(_ queue: SKPaymentQueue, updatedTransactions transactions: [SKPaymentTransaction])
optional func paymentQueue(_ queue: SKPaymentQueue, removedTransactions transactions: [SKPaymentTransaction])
optional func paymentQueue(_ queue: SKPaymentQueue, restoreCompletedTransactionsFailedWithError error: Error)
optional func paymentQueueRestoreCompletedTransactionsFinished(_ queue: SKPaymentQueue)
optional func paymentQueue(_ queue: SKPaymentQueue, updatedDownloads downloads: [SKDownload])
} |
| Declaration | |
|---|---|
| From | optional func paymentQueue(_ queue: SKPaymentQueue, restoreCompletedTransactionsFailedWithError error: NSError) |
| To | optional func paymentQueue(_ queue: SKPaymentQueue, restoreCompletedTransactionsFailedWithError error: Error) |
Modified SKPaymentTransactionState [enum]
| Declaration | |
|---|---|
| From | enum SKPaymentTransactionState : Int {
case Purchasing
case Purchased
case Failed
case Restored
case Deferred
} |
| To | enum SKPaymentTransactionState : Int {
case purchasing
case purchased
case failed
case restored
case deferred
} |
Modified SKPaymentTransactionState.deferred
| Declaration | |
|---|---|
| From | case Deferred |
| To | case deferred |
Modified SKPaymentTransactionState.failed
| Declaration | |
|---|---|
| From | case Failed |
| To | case failed |
Modified SKPaymentTransactionState.purchased
| Declaration | |
|---|---|
| From | case Purchased |
| To | case purchased |
Modified SKPaymentTransactionState.purchasing
| Declaration | |
|---|---|
| From | case Purchasing |
| To | case purchasing |
Modified SKPaymentTransactionState.restored
| Declaration | |
|---|---|
| From | case Restored |
| To | case restored |
Modified SKProduct
| Declaration | Protocols | |
|---|---|---|
| From | class SKProduct : NSObject {
var localizedDescription: String { get }
var localizedTitle: String { get }
var price: NSDecimalNumber { get }
var priceLocale: NSLocale { get }
var productIdentifier: String { get }
var downloadable: Bool { get }
var downloadContentLengths: [NSNumber] { get }
var downloadContentVersion: String { get }
} | -- |
| To | class SKProduct : NSObject {
var localizedDescription: String { get }
var localizedTitle: String { get }
var price: NSDecimalNumber { get }
var priceLocale: Locale { get }
var productIdentifier: String { get }
var isDownloadable: Bool { get }
var downloadContentLengths: [NSNumber] { get }
var downloadContentVersion: String { get }
func awakeFromNib()
func prepareForInterfaceBuilder()
func accessibilityActivate() -> Bool
func accessibilityIncrement()
func accessibilityDecrement()
func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool
func accessibilityPerformEscape() -> Bool
func accessibilityPerformMagicTap() -> Bool
var accessibilityCustomActions: [UIAccessibilityCustomAction]?
func accessibilityElementDidBecomeFocused()
func accessibilityElementDidLoseFocus()
func accessibilityElementIsFocused() -> Bool
func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>?
func accessibilityElementCount() -> Int
func accessibilityElement(at index: Int) -> Any?
func index(ofAccessibilityElement element: Any) -> Int
var accessibilityElements: [Any]?
var isAccessibilityElement: Bool
var accessibilityLabel: String?
var accessibilityHint: String?
var accessibilityValue: String?
var accessibilityTraits: UIAccessibilityTraits
var accessibilityFrame: CGRect
@NSCopying var accessibilityPath: UIBezierPath?
var accessibilityActivationPoint: CGPoint
var accessibilityLanguage: String?
var accessibilityElementsHidden: Bool
var accessibilityViewIsModal: Bool
var shouldGroupAccessibilityChildren: Bool
var accessibilityNavigationStyle: UIAccessibilityNavigationStyle
var accessibilityHeaderElements: [Any]?
var accessibilityCustomRotors: [UIAccessibilityCustomRotor]?
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
func performSelector(inBackground aSelector: Selector, with arg: Any?)
class func classForKeyedUnarchiver() -> AnyClass
var classForKeyedArchiver: AnyClass? { get }
func replacementObject(for archiver: NSKeyedArchiver) -> Any?
class func classFallbacksForKeyedArchiver() -> [String]
class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
class func automaticallyNotifiesObservers(forKey key: String) -> Bool
var observationInfo: UnsafeMutableRawPointer?
func willChangeValue(forKey key: String)
func didChangeValue(forKey key: String)
func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
class var accessInstanceVariablesDirectly: Bool { get }
func value(forKey key: String) -> Any?
func setValue(_ value: Any?, forKey key: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
func mutableArrayValue(forKey key: String) -> NSMutableArray
func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
func mutableSetValue(forKey key: String) -> NSMutableSet
func value(forKeyPath keyPath: String) -> Any?
func setValue(_ value: Any?, forKeyPath keyPath: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
func value(forUndefinedKey key: String) -> Any?
func setValue(_ value: Any?, forUndefinedKey key: String)
func setNilValueForKey(_ key: String)
func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
func setValuesForKeys(_ keyedValues: [String : Any])
func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
func fileManager(_ fm: FileManager, willProcessPath path: String)
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
class func cancelPreviousPerformRequests(withTarget aTarget: Any)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
var autoContentAccessingProxy: Any { get }
class func version() -> Int
class func setVersion(_ aVersion: Int)
var classForCoder: AnyClass { get }
func awakeAfter(using aDecoder: NSCoder) -> Any?
func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?)
}
extension SKProduct : CVarArg {
}
extension SKProduct : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
Modified SKProduct.downloadable
| Declaration | |
|---|---|
| From | var downloadable: Bool { get } |
| To | var isDownloadable: Bool { get } |
Modified SKProduct.priceLocale
| Declaration | |
|---|---|
| From | var priceLocale: NSLocale { get } |
| To | var priceLocale: Locale { get } |
Modified SKProductsRequestDelegate
| Declaration | |
|---|---|
| From | protocol SKProductsRequestDelegate : SKRequestDelegate {
func productsRequest(_ request: SKProductsRequest, didReceiveResponse response: SKProductsResponse)
} |
| To | protocol SKProductsRequestDelegate : SKRequestDelegate {
func productsRequest(_ request: SKProductsRequest, didReceive response: SKProductsResponse)
} |
Modified SKProductsRequestDelegate.productsRequest(_: SKProductsRequest, didReceive: SKProductsResponse)
| Declaration | |
|---|---|
| From | func productsRequest(_ request: SKProductsRequest, didReceiveResponse response: SKProductsResponse) |
| To | func productsRequest(_ request: SKProductsRequest, didReceive response: SKProductsResponse) |
Modified SKProductsResponse
| Declaration | Protocols | |
|---|---|---|
| From | class SKProductsResponse : NSObject {
var products: [SKProduct] { get }
var invalidProductIdentifiers: [String] { get }
} | -- |
| To | class SKProductsResponse : NSObject {
var products: [SKProduct] { get }
var invalidProductIdentifiers: [String] { get }
func awakeFromNib()
func prepareForInterfaceBuilder()
func accessibilityActivate() -> Bool
func accessibilityIncrement()
func accessibilityDecrement()
func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool
func accessibilityPerformEscape() -> Bool
func accessibilityPerformMagicTap() -> Bool
var accessibilityCustomActions: [UIAccessibilityCustomAction]?
func accessibilityElementDidBecomeFocused()
func accessibilityElementDidLoseFocus()
func accessibilityElementIsFocused() -> Bool
func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>?
func accessibilityElementCount() -> Int
func accessibilityElement(at index: Int) -> Any?
func index(ofAccessibilityElement element: Any) -> Int
var accessibilityElements: [Any]?
var isAccessibilityElement: Bool
var accessibilityLabel: String?
var accessibilityHint: String?
var accessibilityValue: String?
var accessibilityTraits: UIAccessibilityTraits
var accessibilityFrame: CGRect
@NSCopying var accessibilityPath: UIBezierPath?
var accessibilityActivationPoint: CGPoint
var accessibilityLanguage: String?
var accessibilityElementsHidden: Bool
var accessibilityViewIsModal: Bool
var shouldGroupAccessibilityChildren: Bool
var accessibilityNavigationStyle: UIAccessibilityNavigationStyle
var accessibilityHeaderElements: [Any]?
var accessibilityCustomRotors: [UIAccessibilityCustomRotor]?
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
func performSelector(inBackground aSelector: Selector, with arg: Any?)
class func classForKeyedUnarchiver() -> AnyClass
var classForKeyedArchiver: AnyClass? { get }
func replacementObject(for archiver: NSKeyedArchiver) -> Any?
class func classFallbacksForKeyedArchiver() -> [String]
class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
class func automaticallyNotifiesObservers(forKey key: String) -> Bool
var observationInfo: UnsafeMutableRawPointer?
func willChangeValue(forKey key: String)
func didChangeValue(forKey key: String)
func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
class var accessInstanceVariablesDirectly: Bool { get }
func value(forKey key: String) -> Any?
func setValue(_ value: Any?, forKey key: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
func mutableArrayValue(forKey key: String) -> NSMutableArray
func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
func mutableSetValue(forKey key: String) -> NSMutableSet
func value(forKeyPath keyPath: String) -> Any?
func setValue(_ value: Any?, forKeyPath keyPath: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
func value(forUndefinedKey key: String) -> Any?
func setValue(_ value: Any?, forUndefinedKey key: String)
func setNilValueForKey(_ key: String)
func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
func setValuesForKeys(_ keyedValues: [String : Any])
func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
func fileManager(_ fm: FileManager, willProcessPath path: String)
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
class func cancelPreviousPerformRequests(withTarget aTarget: Any)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
var autoContentAccessingProxy: Any { get }
class func version() -> Int
class func setVersion(_ aVersion: Int)
var classForCoder: AnyClass { get }
func awakeAfter(using aDecoder: NSCoder) -> Any?
func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?)
}
extension SKProductsResponse : CVarArg {
}
extension SKProductsResponse : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
Modified SKReceiptRefreshRequest
| Declaration | |
|---|---|
| From | class SKReceiptRefreshRequest : SKRequest {
init(receiptProperties properties: [String : AnyObject]?)
var receiptProperties: [String : AnyObject]? { get }
} |
| To | class SKReceiptRefreshRequest : SKRequest {
init(receiptProperties properties: [String : Any]?)
var receiptProperties: [String : Any]? { get }
} |
| Declaration | |
|---|---|
| From | init(receiptProperties properties: [String : AnyObject]?) |
| To | init(receiptProperties properties: [String : Any]?) |
| Declaration | |
|---|---|
| From | var receiptProperties: [String : AnyObject]? { get } |
| To | var receiptProperties: [String : Any]? { get } |
Modified SKRequest
| Declaration | Protocols | |
|---|---|---|
| From | class SKRequest : NSObject {
unowned(unsafe) var delegate: SKRequestDelegate?
func cancel()
func start()
} | -- |
| To | class SKRequest : NSObject {
unowned(unsafe) var delegate: SKRequestDelegate?
func cancel()
func start()
func awakeFromNib()
func prepareForInterfaceBuilder()
func accessibilityActivate() -> Bool
func accessibilityIncrement()
func accessibilityDecrement()
func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool
func accessibilityPerformEscape() -> Bool
func accessibilityPerformMagicTap() -> Bool
var accessibilityCustomActions: [UIAccessibilityCustomAction]?
func accessibilityElementDidBecomeFocused()
func accessibilityElementDidLoseFocus()
func accessibilityElementIsFocused() -> Bool
func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>?
func accessibilityElementCount() -> Int
func accessibilityElement(at index: Int) -> Any?
func index(ofAccessibilityElement element: Any) -> Int
var accessibilityElements: [Any]?
var isAccessibilityElement: Bool
var accessibilityLabel: String?
var accessibilityHint: String?
var accessibilityValue: String?
var accessibilityTraits: UIAccessibilityTraits
var accessibilityFrame: CGRect
@NSCopying var accessibilityPath: UIBezierPath?
var accessibilityActivationPoint: CGPoint
var accessibilityLanguage: String?
var accessibilityElementsHidden: Bool
var accessibilityViewIsModal: Bool
var shouldGroupAccessibilityChildren: Bool
var accessibilityNavigationStyle: UIAccessibilityNavigationStyle
var accessibilityHeaderElements: [Any]?
var accessibilityCustomRotors: [UIAccessibilityCustomRotor]?
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
func performSelector(inBackground aSelector: Selector, with arg: Any?)
class func classForKeyedUnarchiver() -> AnyClass
var classForKeyedArchiver: AnyClass? { get }
func replacementObject(for archiver: NSKeyedArchiver) -> Any?
class func classFallbacksForKeyedArchiver() -> [String]
class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
class func automaticallyNotifiesObservers(forKey key: String) -> Bool
var observationInfo: UnsafeMutableRawPointer?
func willChangeValue(forKey key: String)
func didChangeValue(forKey key: String)
func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
class var accessInstanceVariablesDirectly: Bool { get }
func value(forKey key: String) -> Any?
func setValue(_ value: Any?, forKey key: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
func mutableArrayValue(forKey key: String) -> NSMutableArray
func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
func mutableSetValue(forKey key: String) -> NSMutableSet
func value(forKeyPath keyPath: String) -> Any?
func setValue(_ value: Any?, forKeyPath keyPath: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
func value(forUndefinedKey key: String) -> Any?
func setValue(_ value: Any?, forUndefinedKey key: String)
func setNilValueForKey(_ key: String)
func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
func setValuesForKeys(_ keyedValues: [String : Any])
func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
func fileManager(_ fm: FileManager, willProcessPath path: String)
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
class func cancelPreviousPerformRequests(withTarget aTarget: Any)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
var autoContentAccessingProxy: Any { get }
class func version() -> Int
class func setVersion(_ aVersion: Int)
var classForCoder: AnyClass { get }
func awakeAfter(using aDecoder: NSCoder) -> Any?
func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?)
}
extension SKRequest : CVarArg {
}
extension SKRequest : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
Modified SKRequestDelegate
| Declaration | |
|---|---|
| From | protocol SKRequestDelegate : NSObjectProtocol {
optional func requestDidFinish(_ request: SKRequest)
optional func request(_ request: SKRequest, didFailWithError error: NSError)
} |
| To | protocol SKRequestDelegate : NSObjectProtocol {
optional func requestDidFinish(_ request: SKRequest)
optional func request(_ request: SKRequest, didFailWithError error: Error)
} |
| Declaration | |
|---|---|
| From | optional func request(_ request: SKRequest, didFailWithError error: NSError) |
| To | optional func request(_ request: SKRequest, didFailWithError error: Error) |
Modified SKStoreProductViewController
| Declaration | Protocols | |
|---|---|---|
| From | class SKStoreProductViewController : UIViewController {
unowned(unsafe) var delegate: SKStoreProductViewControllerDelegate?
func loadProductWithParameters(_ parameters: [String : AnyObject], completionBlock block: ((Bool, NSError?) -> Void)?)
} | -- |
| To | class SKStoreProductViewController : UIViewController {
unowned(unsafe) var delegate: SKStoreProductViewControllerDelegate?
func loadProduct(withParameters parameters: [String : Any], completionBlock block: (@escaping (Bool, Error?) -> Swift.Void)? = nil)
var tabBarItem: UITabBarItem!
var tabBarController: UITabBarController? { get }
var splitViewController: UISplitViewController? { get }
func collapseSecondaryViewController(_ secondaryViewController: UIViewController, for splitViewController: UISplitViewController)
func separateSecondaryViewController(for splitViewController: UISplitViewController) -> UIViewController?
var transitionCoordinator: UIViewControllerTransitionCoordinator? { get }
var isModalInPopover: Bool
var contentSizeForViewInPopover: CGSize
var toolbarItems: [UIBarButtonItem]?
func setToolbarItems(_ toolbarItems: [UIBarButtonItem]?, animated animated: Bool)
var navigationItem: UINavigationItem { get }
var hidesBottomBarWhenPushed: Bool
var navigationController: UINavigationController? { get }
var previewActionItems: [UIPreviewActionItem] { get }
func registerForPreviewing(with delegate: UIViewControllerPreviewingDelegate, sourceView sourceView: UIView) -> UIViewControllerPreviewing
func unregisterForPreviewing(withContext previewing: UIViewControllerPreviewing)
var presentationController: UIPresentationController? { get }
var popoverPresentationController: UIPopoverPresentationController? { get }
func addKeyCommand(_ keyCommand: UIKeyCommand)
func removeKeyCommand(_ keyCommand: UIKeyCommand)
var topLayoutGuide: UILayoutSupport { get }
var bottomLayoutGuide: UILayoutSupport { get }
weak var transitioningDelegate: UIViewControllerTransitioningDelegate?
func updateViewConstraints()
func automaticallyForwardAppearanceAndRotationMethodsToChildViewControllers() -> Bool
func shouldAutomaticallyForwardRotationMethods() -> Bool
var shouldAutomaticallyForwardAppearanceMethods: Bool { get }
func willMove(toParentViewController parent: UIViewController?)
func didMove(toParentViewController parent: UIViewController?)
var childViewControllers: [UIViewController] { get }
func addChildViewController(_ childController: UIViewController)
func removeFromParentViewController()
func transition(from fromViewController: UIViewController, to toViewController: UIViewController, duration duration: TimeInterval, options options: UIViewAnimationOptions = [], animations animations: (@escaping () -> Void)?, completion completion: (@escaping (Bool) -> Void)? = nil)
func beginAppearanceTransition(_ isAppearing: Bool, animated animated: Bool)
func endAppearanceTransition()
var childViewControllerForStatusBarStyle: UIViewController? { get }
var childViewControllerForStatusBarHidden: UIViewController? { get }
func setOverrideTraitCollection(_ collection: UITraitCollection?, forChildViewController childViewController: UIViewController)
func overrideTraitCollection(forChildViewController childViewController: UIViewController) -> UITraitCollection?
var searchDisplayController: UISearchDisplayController? { get }
var isEditing: Bool
func setEditing(_ editing: Bool, animated animated: Bool)
var editButtonItem: UIBarButtonItem { get }
class func attemptRotationToDeviceOrientation()
func shouldAutorotate(to toInterfaceOrientation: UIInterfaceOrientation) -> Bool
var shouldAutorotate: Bool { get }
var supportedInterfaceOrientations: UIInterfaceOrientationMask { get }
var preferredInterfaceOrientationForPresentation: UIInterfaceOrientation { get }
func rotatingHeaderView() -> UIView?
func rotatingFooterView() -> UIView?
var interfaceOrientation: UIInterfaceOrientation { get }
func willRotate(to toInterfaceOrientation: UIInterfaceOrientation, duration duration: TimeInterval)
func didRotate(from fromInterfaceOrientation: UIInterfaceOrientation)
func willAnimateRotation(to toInterfaceOrientation: UIInterfaceOrientation, duration duration: TimeInterval)
func willAnimateFirstHalfOfRotation(to toInterfaceOrientation: UIInterfaceOrientation, duration duration: TimeInterval)
func didAnimateFirstHalfOfRotation(to toInterfaceOrientation: UIInterfaceOrientation)
func willAnimateSecondHalfOfRotation(from fromInterfaceOrientation: UIInterfaceOrientation, duration duration: TimeInterval)
var userActivity: NSUserActivity?
func updateUserActivityState(_ activity: NSUserActivity)
func restoreUserActivityState(_ activity: NSUserActivity)
var inputView: UIView? { get }
var inputAccessoryView: UIView? { get }
var inputAssistantItem: UITextInputAssistantItem { get }
var inputViewController: UIInputViewController? { get }
var inputAccessoryViewController: UIInputViewController? { get }
var textInputMode: UITextInputMode? { get }
var textInputContextIdentifier: String? { get }
class func clearTextInputContextIdentifier(_ identifier: String)
func reloadInputViews()
var keyCommands: [UIKeyCommand]? { get }
func awakeFromNib()
func prepareForInterfaceBuilder()
func accessibilityActivate() -> Bool
func accessibilityIncrement()
func accessibilityDecrement()
func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool
func accessibilityPerformEscape() -> Bool
func accessibilityPerformMagicTap() -> Bool
var accessibilityCustomActions: [UIAccessibilityCustomAction]?
func accessibilityElementDidBecomeFocused()
func accessibilityElementDidLoseFocus()
func accessibilityElementIsFocused() -> Bool
func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>?
func accessibilityElementCount() -> Int
func accessibilityElement(at index: Int) -> Any?
func index(ofAccessibilityElement element: Any) -> Int
var accessibilityElements: [Any]?
var isAccessibilityElement: Bool
var accessibilityLabel: String?
var accessibilityHint: String?
var accessibilityValue: String?
var accessibilityTraits: UIAccessibilityTraits
var accessibilityFrame: CGRect
@NSCopying var accessibilityPath: UIBezierPath?
var accessibilityActivationPoint: CGPoint
var accessibilityLanguage: String?
var accessibilityElementsHidden: Bool
var accessibilityViewIsModal: Bool
var shouldGroupAccessibilityChildren: Bool
var accessibilityNavigationStyle: UIAccessibilityNavigationStyle
var accessibilityHeaderElements: [Any]?
var accessibilityCustomRotors: [UIAccessibilityCustomRotor]?
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
func performSelector(inBackground aSelector: Selector, with arg: Any?)
class func classForKeyedUnarchiver() -> AnyClass
var classForKeyedArchiver: AnyClass? { get }
func replacementObject(for archiver: NSKeyedArchiver) -> Any?
class func classFallbacksForKeyedArchiver() -> [String]
class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
class func automaticallyNotifiesObservers(forKey key: String) -> Bool
var observationInfo: UnsafeMutableRawPointer?
func willChangeValue(forKey key: String)
func didChangeValue(forKey key: String)
func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
class var accessInstanceVariablesDirectly: Bool { get }
func value(forKey key: String) -> Any?
func setValue(_ value: Any?, forKey key: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
func mutableArrayValue(forKey key: String) -> NSMutableArray
func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
func mutableSetValue(forKey key: String) -> NSMutableSet
func value(forKeyPath keyPath: String) -> Any?
func setValue(_ value: Any?, forKeyPath keyPath: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
func value(forUndefinedKey key: String) -> Any?
func setValue(_ value: Any?, forUndefinedKey key: String)
func setNilValueForKey(_ key: String)
func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
func setValuesForKeys(_ keyedValues: [String : Any])
func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
func fileManager(_ fm: FileManager, willProcessPath path: String)
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
class func cancelPreviousPerformRequests(withTarget aTarget: Any)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
var autoContentAccessingProxy: Any { get }
class func version() -> Int
class func setVersion(_ aVersion: Int)
var classForCoder: AnyClass { get }
func awakeAfter(using aDecoder: NSCoder) -> Any?
func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?)
}
extension SKStoreProductViewController : NSExtensionRequestHandling {
var extensionContext: NSExtensionContext? { get }
}
extension SKStoreProductViewController : UIStateRestoring {
var restorationIdentifier: String?
var restorationClass: UIViewControllerRestoration.Type?
func encodeRestorableState(with coder: NSCoder)
func decodeRestorableState(with coder: NSCoder)
func applicationFinishedRestoringState()
}
extension SKStoreProductViewController : CVarArg {
}
extension SKStoreProductViewController : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable, NSExtensionRequestHandling, UIStateRestoring |
| Declaration | |
|---|---|
| From | func loadProductWithParameters(_ parameters: [String : AnyObject], completionBlock block: ((Bool, NSError?) -> Void)?) |
| To | func loadProduct(withParameters parameters: [String : Any], completionBlock block: (@escaping (Bool, Error?) -> Swift.Void)? = nil) |
Modified SKDownloadTimeRemainingUnknown
| Declaration | |
|---|---|
| From | var SKDownloadTimeRemainingUnknown: NSTimeInterval |
| To | var SKDownloadTimeRemainingUnknown: TimeInterval |