TVMLKit Changes for Swift
TVMLKit
Modified TVApplicationController
Declaration | Protocols | |
---|---|---|
From | class TVApplicationController : NSObject { init(context context: TVApplicationControllerContext, window window: UIWindow?, delegate delegate: TVApplicationControllerDelegate?) convenience init() var window: UIWindow? { get } var context: TVApplicationControllerContext { get } weak var delegate: TVApplicationControllerDelegate? { get } var navigationController: UINavigationController { get } func evaluateInJavaScriptContext(_ evaluation: (JSContext) -> Void, completion completion: ((Bool) -> Void)?) func stop() } | -- |
To | class TVApplicationController : NSObject { init(context context: TVApplicationControllerContext, window window: UIWindow?, delegate delegate: TVApplicationControllerDelegate?) convenience init() var window: UIWindow? { get } var context: TVApplicationControllerContext { get } weak var delegate: TVApplicationControllerDelegate? { get } var navigationController: UINavigationController { get } func evaluate(inJavaScriptContext evaluation: @escaping (JSContext) -> Swift.Void, completion completion: (@escaping (Bool) -> Swift.Void)? = nil) func stop() 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 TVApplicationController : CVarArg { } extension TVApplicationController : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func evaluateInJavaScriptContext(_ evaluation: (JSContext) -> Void, completion completion: ((Bool) -> Void)?) |
To | func evaluate(inJavaScriptContext evaluation: @escaping (JSContext) -> Swift.Void, completion completion: (@escaping (Bool) -> Swift.Void)? = nil) |
Modified TVApplicationControllerContext
Declaration | Protocols | |
---|---|---|
From | class TVApplicationControllerContext : NSObject, NSCopying { @NSCopying var javaScriptApplicationURL: NSURL var storageIdentifier: String? var launchOptions: [String : AnyObject] } | NSCopying |
To | class TVApplicationControllerContext : NSObject, NSCopying { var javaScriptApplicationURL: URL var storageIdentifier: String? var launchOptions: [String : Any] 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 TVApplicationControllerContext : CVarArg { } extension TVApplicationControllerContext : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCopying |
Declaration | |
---|---|
From | @NSCopying var javaScriptApplicationURL: NSURL |
To | var javaScriptApplicationURL: URL |
Declaration | |
---|---|
From | var launchOptions: [String : AnyObject] |
To | var launchOptions: [String : Any] |
Modified TVApplicationControllerDelegate
Declaration | |
---|---|
From | protocol TVApplicationControllerDelegate : NSObjectProtocol { optional func appController(_ appController: TVApplicationController, evaluateAppJavaScriptInContext jsContext: JSContext) optional func appController(_ appController: TVApplicationController, didFinishLaunchingWithOptions options: [String : AnyObject]?) optional func appController(_ appController: TVApplicationController, didFailWithError error: NSError) optional func appController(_ appController: TVApplicationController, didStopWithOptions options: [String : AnyObject]?) } |
To | protocol TVApplicationControllerDelegate : NSObjectProtocol { optional func appController(_ appController: TVApplicationController, evaluateAppJavaScriptIn jsContext: JSContext) optional func appController(_ appController: TVApplicationController, didFinishLaunching options: [String : Any]?) optional func appController(_ appController: TVApplicationController, didFail error: Error) optional func appController(_ appController: TVApplicationController, didStop options: [String : Any]?) } |
Declaration | |
---|---|
From | optional func appController(_ appController: TVApplicationController, didFailWithError error: NSError) |
To | optional func appController(_ appController: TVApplicationController, didFail error: Error) |
Declaration | |
---|---|
From | optional func appController(_ appController: TVApplicationController, didFinishLaunchingWithOptions options: [String : AnyObject]?) |
To | optional func appController(_ appController: TVApplicationController, didFinishLaunching options: [String : Any]?) |
Modified TVApplicationControllerDelegate.appController(_: TVApplicationController, didStop: [String : Any]?)
Declaration | |
---|---|
From | optional func appController(_ appController: TVApplicationController, didStopWithOptions options: [String : AnyObject]?) |
To | optional func appController(_ appController: TVApplicationController, didStop options: [String : Any]?) |
Declaration | |
---|---|
From | optional func appController(_ appController: TVApplicationController, evaluateAppJavaScriptInContext jsContext: JSContext) |
To | optional func appController(_ appController: TVApplicationController, evaluateAppJavaScriptIn jsContext: JSContext) |
Modified TVColor
Declaration | Protocols | |
---|---|---|
From | class TVColor : NSObject, NSCopying { var colorType: TVColorType { get } var color: UIColor? { get } var gradientColors: [UIColor]? { get } var gradientPoints: [NSNumber]? { get } } | NSCopying |
To | class TVColor : NSObject, NSCopying { var colorType: TVColorType { get } var color: UIColor? { get } var gradientColors: [UIColor]? { get } var gradientPoints: [NSNumber]? { 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 TVColor : CVarArg { } extension TVColor : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCopying |
Modified TVColorType [enum]
Declaration | |
---|---|
From | enum TVColorType : Int { case None case Plain case LinearGradientTopToBottom case LinearGradientLeftToRight } |
To | enum TVColorType : Int { case none case plain case linearGradientTopToBottom case linearGradientLeftToRight } |
Declaration | |
---|---|
From | case LinearGradientLeftToRight |
To | case linearGradientLeftToRight |
Declaration | |
---|---|
From | case LinearGradientTopToBottom |
To | case linearGradientTopToBottom |
Modified TVColorType.none
Declaration | |
---|---|
From | case None |
To | case none |
Modified TVColorType.plain
Declaration | |
---|---|
From | case Plain |
To | case plain |
Modified TVElementAlignment [enum]
Declaration | |
---|---|
From | enum TVElementAlignment : Int { case Undefined case Left case Center case Right } |
To | enum TVElementAlignment : Int { case undefined case left case center case right } |
Modified TVElementAlignment.center
Declaration | |
---|---|
From | case Center |
To | case center |
Modified TVElementAlignment.left
Declaration | |
---|---|
From | case Left |
To | case left |
Modified TVElementAlignment.right
Declaration | |
---|---|
From | case Right |
To | case right |
Modified TVElementAlignment.undefined
Declaration | |
---|---|
From | case Undefined |
To | case undefined |
Modified TVElementContentAlignment [enum]
Declaration | |
---|---|
From | enum TVElementContentAlignment : Int { case Undefined case Top case Center case Bottom } |
To | enum TVElementContentAlignment : Int { case undefined case top case center case bottom } |
Modified TVElementContentAlignment.bottom
Declaration | |
---|---|
From | case Bottom |
To | case bottom |
Modified TVElementContentAlignment.center
Declaration | |
---|---|
From | case Center |
To | case center |
Modified TVElementContentAlignment.top
Declaration | |
---|---|
From | case Top |
To | case top |
Modified TVElementContentAlignment.undefined
Declaration | |
---|---|
From | case Undefined |
To | case undefined |
Modified TVElementEventType [enum]
Declaration | |
---|---|
From | enum TVElementEventType : Int { case Play case Select case HoldSelect case Highlight case Change } |
To | enum TVElementEventType : Int { case play case select case holdSelect case highlight case change } |
Modified TVElementEventType.change
Declaration | |
---|---|
From | case Change |
To | case change |
Modified TVElementEventType.highlight
Declaration | |
---|---|
From | case Highlight |
To | case highlight |
Modified TVElementEventType.holdSelect
Declaration | |
---|---|
From | case HoldSelect |
To | case holdSelect |
Modified TVElementEventType.play
Declaration | |
---|---|
From | case Play |
To | case play |
Modified TVElementEventType.select
Declaration | |
---|---|
From | case Select |
To | case select |
Modified TVElementFactory
Declaration | Protocols | |
---|---|---|
From | class TVElementFactory : NSObject { class func registerViewElementClass(_ elementClass: AnyClass, forElementName elementName: String) } | -- |
To | class TVElementFactory : NSObject { class func registerViewElementClass(_ elementClass: Swift.AnyClass, elementName elementName: String) 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 TVElementFactory : CVarArg { } extension TVElementFactory : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | class func registerViewElementClass(_ elementClass: AnyClass, forElementName elementName: String) |
To | class func registerViewElementClass(_ elementClass: Swift.AnyClass, elementName elementName: String) |
Modified TVElementPosition [enum]
Declaration | |
---|---|
From | enum TVElementPosition : Int { case Undefined case Center case Top case Bottom case Left case Right case TopLeft case TopRight case BottomLeft case BottomRight case Header case Footer } |
To | enum TVElementPosition : Int { case undefined case center case top case bottom case left case right case topLeft case topRight case bottomLeft case bottomRight case header case footer } |
Modified TVElementPosition.bottom
Declaration | |
---|---|
From | case Bottom |
To | case bottom |
Modified TVElementPosition.bottomLeft
Declaration | |
---|---|
From | case BottomLeft |
To | case bottomLeft |
Modified TVElementPosition.bottomRight
Declaration | |
---|---|
From | case BottomRight |
To | case bottomRight |
Modified TVElementPosition.center
Declaration | |
---|---|
From | case Center |
To | case center |
Modified TVElementPosition.footer
Declaration | |
---|---|
From | case Footer |
To | case footer |
Modified TVElementPosition.header
Declaration | |
---|---|
From | case Header |
To | case header |
Modified TVElementPosition.left
Declaration | |
---|---|
From | case Left |
To | case left |
Modified TVElementPosition.right
Declaration | |
---|---|
From | case Right |
To | case right |
Modified TVElementPosition.top
Declaration | |
---|---|
From | case Top |
To | case top |
Modified TVElementPosition.topLeft
Declaration | |
---|---|
From | case TopLeft |
To | case topLeft |
Modified TVElementPosition.topRight
Declaration | |
---|---|
From | case TopRight |
To | case topRight |
Modified TVElementPosition.undefined
Declaration | |
---|---|
From | case Undefined |
To | case undefined |
Modified TVElementResettableProperty [enum]
Declaration | |
---|---|
From | enum TVElementResettableProperty : Int { case UpdateType case AutoHighlightIdentifier } |
To | enum TVElementResettableProperty : Int { case updateType case autoHighlightIdentifier } |
Declaration | |
---|---|
From | case AutoHighlightIdentifier |
To | case autoHighlightIdentifier |
Declaration | |
---|---|
From | case UpdateType |
To | case updateType |
Modified TVElementUpdateType [enum]
Declaration | |
---|---|
From | enum TVElementUpdateType : Int { case None case Subtree case Children case `Self` } |
To | enum TVElementUpdateType : Int { case none case subtree case children case node case styles } |
Modified TVElementUpdateType.children
Declaration | |
---|---|
From | case Children |
To | case children |
Modified TVElementUpdateType.node
Declaration | |
---|---|
From | case `Self` |
To | case node |
Modified TVElementUpdateType.none
Declaration | |
---|---|
From | case None |
To | case none |
Modified TVElementUpdateType.subtree
Declaration | |
---|---|
From | case Subtree |
To | case subtree |
Modified TVImageElement
Declaration | |
---|---|
From | class TVImageElement : TVViewElement { var URL: NSURL? { get } var srcset: [String : NSURL]? { get } var imageType: TVImageType { get } } |
To | class TVImageElement : TVViewElement { var url: URL? { get } var srcset: [String : URL]? { get } var imageType: TVImageType { get } } |
Modified TVImageElement.srcset
Declaration | |
---|---|
From | var srcset: [String : NSURL]? { get } |
To | var srcset: [String : URL]? { get } |
Modified TVImageElement.url
Declaration | |
---|---|
From | var URL: NSURL? { get } |
To | var url: URL? { get } |
Modified TVImageType [enum]
Declaration | |
---|---|
From | enum TVImageType : Int { case Image case Fullscreen case Decoration case Hero } |
To | enum TVImageType : Int { case image case fullscreen case decoration case hero } |
Modified TVImageType.decoration
Declaration | |
---|---|
From | case Decoration |
To | case decoration |
Modified TVImageType.fullscreen
Declaration | |
---|---|
From | case Fullscreen |
To | case fullscreen |
Modified TVImageType.hero
Declaration | |
---|---|
From | case Hero |
To | case hero |
Modified TVImageType.image
Declaration | |
---|---|
From | case Image |
To | case image |
Modified TVInterfaceCreating
Declaration | |
---|---|
From | protocol TVInterfaceCreating : NSObjectProtocol { optional func viewForElement(_ element: TVViewElement, existingView existingView: UIView?) -> UIView? optional func viewControllerForElement(_ element: TVViewElement, existingViewController existingViewController: UIViewController?) -> UIViewController? optional func URLForResource(_ resourceName: String) -> NSURL? optional func imageForResource(_ resourceName: String) -> UIImage? } |
To | protocol TVInterfaceCreating : NSObjectProtocol { optional func makeView(element element: TVViewElement, existingView existingView: UIView?) -> UIView? optional func makeViewController(element element: TVViewElement, existingViewController existingViewController: UIViewController?) -> UIViewController? optional func resourceURL(name resourceName: String) -> URL? optional func resourceImage(name resourceName: String) -> UIImage? optional func collectionViewCellClass(for element: TVViewElement) -> Swift.AnyClass? } |
Declaration | |
---|---|
From | optional func viewForElement(_ element: TVViewElement, existingView existingView: UIView?) -> UIView? |
To | optional func makeView(element element: TVViewElement, existingView existingView: UIView?) -> UIView? |
Declaration | |
---|---|
From | optional func viewControllerForElement(_ element: TVViewElement, existingViewController existingViewController: UIViewController?) -> UIViewController? |
To | optional func makeViewController(element element: TVViewElement, existingViewController existingViewController: UIViewController?) -> UIViewController? |
Declaration | |
---|---|
From | optional func imageForResource(_ resourceName: String) -> UIImage? |
To | optional func resourceImage(name resourceName: String) -> UIImage? |
Declaration | |
---|---|
From | optional func URLForResource(_ resourceName: String) -> NSURL? |
To | optional func resourceURL(name resourceName: String) -> URL? |
Modified TVInterfaceFactory
Declaration | Protocols | |
---|---|---|
From | class TVInterfaceFactory : NSObject, TVInterfaceCreating { class func sharedInterfaceFactory() -> Self var extendedInterfaceCreator: TVInterfaceCreating? } | TVInterfaceCreating |
To | class TVInterfaceFactory : NSObject, TVInterfaceCreating { class func shared() -> Self var extendedInterfaceCreator: TVInterfaceCreating? 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 TVInterfaceFactory : CVarArg { } extension TVInterfaceFactory : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, TVInterfaceCreating |
Declaration | |
---|---|
From | class func sharedInterfaceFactory() -> Self |
To | class func shared() -> Self |
Modified TVMLKitError [enum]
Declaration | |
---|---|
From | enum TVMLKitError : Int { case Unknown case InternetUnavailable case FailedToLaunch case Last } |
To | enum TVMLKitError : Int { case unknown case internetUnavailable case failedToLaunch case last } |
Modified TVMLKitError.failedToLaunch
Declaration | |
---|---|
From | case FailedToLaunch |
To | case failedToLaunch |
Modified TVMLKitError.internetUnavailable
Declaration | |
---|---|
From | case InternetUnavailable |
To | case internetUnavailable |
Modified TVMLKitError.last
Declaration | |
---|---|
From | case Last |
To | case last |
Modified TVMLKitError.unknown
Declaration | |
---|---|
From | case Unknown |
To | case unknown |
Modified TVStyleFactory
Declaration | Protocols | |
---|---|---|
From | class TVStyleFactory : NSObject { class func registerStyle(_ styleName: String, withType type: TVViewElementStyleType, inherited inherited: Bool) } | -- |
To | class TVStyleFactory : NSObject { class func registerStyleName(_ styleName: String, type type: TVViewElementStyleType, inherited inherited: Bool) 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 TVStyleFactory : CVarArg { } extension TVStyleFactory : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified TVStyleFactory.registerStyleName(_: String, type: TVViewElementStyleType, inherited: Bool) [class]
Declaration | |
---|---|
From | class func registerStyle(_ styleName: String, withType type: TVViewElementStyleType, inherited inherited: Bool) |
To | class func registerStyleName(_ styleName: String, type type: TVViewElementStyleType, inherited inherited: Bool) |
Modified TVTextElement
Declaration | |
---|---|
From | class TVTextElement : TVViewElement { var attributedText: NSAttributedString? { get } var textStyle: TVTextElementStyle { get } func attributedStringWithFont(_ font: UIFont) -> NSAttributedString func attributedStringWithFont(_ font: UIFont, foregroundColor foregroundColor: UIColor?, textAlignment alignment: NSTextAlignment) -> NSAttributedString } |
To | class TVTextElement : TVViewElement { var attributedString: NSAttributedString? { get } var textStyle: TVTextElementStyle { get } func makeAttributedString(font font: UIFont) -> NSAttributedString func makeAttributedString(font font: UIFont, foregroundColor foregroundColor: UIColor?, textAlignment alignment: NSTextAlignment) -> NSAttributedString } |
Modified TVTextElement.attributedString
Declaration | |
---|---|
From | var attributedText: NSAttributedString? { get } |
To | var attributedString: NSAttributedString? { get } |
Declaration | |
---|---|
From | func attributedStringWithFont(_ font: UIFont) -> NSAttributedString |
To | func makeAttributedString(font font: UIFont) -> NSAttributedString |
Declaration | |
---|---|
From | func attributedStringWithFont(_ font: UIFont, foregroundColor foregroundColor: UIColor?, textAlignment alignment: NSTextAlignment) -> NSAttributedString |
To | func makeAttributedString(font font: UIFont, foregroundColor foregroundColor: UIColor?, textAlignment alignment: NSTextAlignment) -> NSAttributedString |
Modified TVTextElementStyle [enum]
Declaration | |
---|---|
From | enum TVTextElementStyle : Int { case None case Title case Subtitle case Description case Decoration } |
To | enum TVTextElementStyle : Int { case none case title case subtitle case description case decoration } |
Modified TVTextElementStyle.decoration
Declaration | |
---|---|
From | case Decoration |
To | case decoration |
Modified TVTextElementStyle.description
Declaration | |
---|---|
From | case Description |
To | case description |
Modified TVTextElementStyle.none
Declaration | |
---|---|
From | case None |
To | case none |
Modified TVTextElementStyle.subtitle
Declaration | |
---|---|
From | case Subtitle |
To | case subtitle |
Modified TVTextElementStyle.title
Declaration | |
---|---|
From | case Title |
To | case title |
Modified TVViewElement
Declaration | Protocols | |
---|---|---|
From | class TVViewElement : NSObject, NSCopying { var elementIdentifier: String { get } var elementName: String { get } weak var parentViewElement: TVViewElement? { get } var childViewElements: [TVViewElement]? { get } var attributes: [String : String]? { get } var style: TVViewElementStyle? { get } var autoHighlightIdentifier: String? { get } var disabled: Bool var updateType: TVElementUpdateType { get } func resetProperty(_ resettableProperty: TVElementResettableProperty) func dispatchEventOfType(_ type: TVElementEventType, canBubble canBubble: Bool, cancellable isCancellable: Bool, extraInfo extraInfo: [String : AnyObject]?, completion completion: ((Bool, Bool) -> Void)?) func dispatchEventWithName(_ eventName: String, canBubble canBubble: Bool, cancellable isCancellable: Bool, extraInfo extraInfo: [String : AnyObject]?, completion completion: ((Bool, Bool) -> Void)?) } | NSCopying |
To | class TVViewElement : NSObject, NSCopying { var identifier: String { get } var name: String { get } weak var parent: TVViewElement? { get } var children: [TVViewElement]? { get } var attributes: [String : String]? { get } var style: TVViewElementStyle? { get } var autoHighlightIdentifier: String? { get } var isDisabled: Bool var updateType: TVElementUpdateType { get } func resetProperty(_ resettableProperty: TVElementResettableProperty) func dispatchEvent(type type: TVElementEventType, canBubble canBubble: Bool, cancellable isCancellable: Bool, extraInfo extraInfo: [String : Any]?, completion completion: (@escaping (Bool, Bool) -> Swift.Void)? = nil) func dispatchEvent(name eventName: String, canBubble canBubble: Bool, cancellable isCancellable: Bool, extraInfo extraInfo: [String : Any]?, completion completion: (@escaping (Bool, Bool) -> Swift.Void)? = nil) 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 TVViewElement : CVarArg { } extension TVViewElement : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCopying |
Modified TVViewElement.children
Declaration | |
---|---|
From | var childViewElements: [TVViewElement]? { get } |
To | var children: [TVViewElement]? { get } |
Declaration | |
---|---|
From | func dispatchEventWithName(_ eventName: String, canBubble canBubble: Bool, cancellable isCancellable: Bool, extraInfo extraInfo: [String : AnyObject]?, completion completion: ((Bool, Bool) -> Void)?) |
To | func dispatchEvent(name eventName: String, canBubble canBubble: Bool, cancellable isCancellable: Bool, extraInfo extraInfo: [String : Any]?, completion completion: (@escaping (Bool, Bool) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func dispatchEventOfType(_ type: TVElementEventType, canBubble canBubble: Bool, cancellable isCancellable: Bool, extraInfo extraInfo: [String : AnyObject]?, completion completion: ((Bool, Bool) -> Void)?) |
To | func dispatchEvent(type type: TVElementEventType, canBubble canBubble: Bool, cancellable isCancellable: Bool, extraInfo extraInfo: [String : Any]?, completion completion: (@escaping (Bool, Bool) -> Swift.Void)? = nil) |
Modified TVViewElement.identifier
Declaration | |
---|---|
From | var elementIdentifier: String { get } |
To | var identifier: String { get } |
Modified TVViewElement.isDisabled
Declaration | |
---|---|
From | var disabled: Bool |
To | var isDisabled: Bool |
Modified TVViewElement.name
Declaration | |
---|---|
From | var elementName: String { get } |
To | var name: String { get } |
Modified TVViewElement.parent
Declaration | |
---|---|
From | weak var parentViewElement: TVViewElement? { get } |
To | weak var parent: TVViewElement? { get } |
Modified TVViewElementStyle
Declaration | Protocols | |
---|---|---|
From | class TVViewElementStyle : NSObject, NSCopying { func valueForStyleProperty(_ name: String) -> AnyObject? var backgroundColor: TVColor? { get } var color: TVColor? { get } var fontSize: CGFloat { get } var fontWeight: String? { get } var height: CGFloat { get } var margin: UIEdgeInsets { get } var maxHeight: CGFloat { get } var maxWidth: CGFloat { get } var minHeight: CGFloat { get } var minWidth: CGFloat { get } var padding: UIEdgeInsets { get } var textAlignment: NSTextAlignment { get } var width: CGFloat { get } var alignment: TVElementAlignment { get } var contentAlignment: TVElementContentAlignment { get } var highlightColor: TVColor? { get } var imageTreatmentName: String? { get } var interitemSpacing: CGFloat { get } var textHighlightStyle: String? { get } var textMinimumScaleFactor: CGFloat { get } var position: TVElementPosition { get } var ratingStyle: String? { get } var maxTextLines: Int { get } var textStyle: String? { get } var tintColor: TVColor? { get } } | NSCopying |
To | class TVViewElementStyle : NSObject, NSCopying { func value(propertyName name: String) -> Any? var backgroundColor: TVColor? { get } var color: TVColor? { get } var fontSize: CGFloat { get } var fontWeight: String? { get } var height: CGFloat { get } var margin: UIEdgeInsets { get } var focusMargin: UIEdgeInsets { get } var maxHeight: CGFloat { get } var maxWidth: CGFloat { get } var minHeight: CGFloat { get } var minWidth: CGFloat { get } var padding: UIEdgeInsets { get } var textAlignment: NSTextAlignment { get } var width: CGFloat { get } var alignment: TVElementAlignment { get } var contentAlignment: TVElementContentAlignment { get } var highlightColor: TVColor? { get } var imageTreatmentName: String? { get } var interitemSpacing: CGFloat { get } var textHighlightStyle: String? { get } var textMinimumScaleFactor: CGFloat { get } var position: TVElementPosition { get } var ratingStyle: String? { get } var maxTextLines: Int { get } var textStyle: String? { get } var tintColor: TVColor? { 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 TVViewElementStyle : CVarArg { } extension TVViewElementStyle : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCopying |
Declaration | |
---|---|
From | func valueForStyleProperty(_ name: String) -> AnyObject? |
To | func value(propertyName name: String) -> Any? |
Modified TVViewElementStyleType [enum]
Declaration | |
---|---|
From | enum TVViewElementStyleType : Int { case Integer case Double case Point case String case Color case URL case Transform case EdgeInsets } |
To | enum TVViewElementStyleType : Int { case integer case double case point case string case color case URL case transform case edgeInsets } |
Modified TVViewElementStyleType.color
Declaration | |
---|---|
From | case Color |
To | case color |
Modified TVViewElementStyleType.double
Declaration | |
---|---|
From | case Double |
To | case double |
Modified TVViewElementStyleType.edgeInsets
Declaration | |
---|---|
From | case EdgeInsets |
To | case edgeInsets |
Modified TVViewElementStyleType.integer
Declaration | |
---|---|
From | case Integer |
To | case integer |
Modified TVViewElementStyleType.point
Declaration | |
---|---|
From | case Point |
To | case point |
Modified TVViewElementStyleType.string
Declaration | |
---|---|
From | case String |
To | case string |
Modified TVViewElementStyleType.transform
Declaration | |
---|---|
From | case Transform |
To | case transform |