QuartzCore Changes for Swift
QuartzCore
Removed NSObject.actionForLayer(_: CALayer, forKey: String) -> CAAction?
Removed NSObject.animationDidStart(_: CAAnimation)
Removed NSObject.animationDidStop(_: CAAnimation, finished: Bool)
Removed NSObject.displayLayer(_: CALayer)
Removed NSObject.drawLayer(_: CALayer, inContext: CGContext)
Removed NSObject.invalidateLayoutOfLayer(_: CALayer)
Removed NSObject.layoutSublayersOfLayer(_: CALayer)
Removed NSObject.preferredSizeOfLayer(_: CALayer) -> CGSize
Added CAAnimationDelegate
Added CALayer.contentsFormat
Added CALayerDelegate
Added CALayoutManager
Added kCAEmitterBehaviorSimpleAttractor
Modified CAAction
Declaration | |
---|---|
From | protocol CAAction { func runActionForKey(_ event: String, object anObject: AnyObject, arguments dict: [NSObject : AnyObject]?) } |
To | protocol CAAction { func run(forKey event: String, object anObject: Any, arguments dict: [AnyHashable : Any]?) } |
Declaration | |
---|---|
From | func runActionForKey(_ event: String, object anObject: AnyObject, arguments dict: [NSObject : AnyObject]?) |
To | func run(forKey event: String, object anObject: Any, arguments dict: [AnyHashable : Any]?) |
Modified CAAnimation
Declaration | Protocols | Introduction | |
---|---|---|---|
From | class CAAnimation : NSObject, NSCoding, NSCopying, CAMediaTiming, CAAction { convenience init() class func animation() -> Self class func defaultValueForKey(_ key: String) -> AnyObject? func shouldArchiveValueForKey(_ key: String) -> Bool var timingFunction: CAMediaTimingFunction? var delegate: AnyObject? var removedOnCompletion: Bool } extension CAAnimation { var usesSceneTimeBase: Bool var fadeInDuration: CGFloat var fadeOutDuration: CGFloat var animationEvents: [SCNAnimationEvent]? } | CAAction, CAMediaTiming, NSCoding, NSCopying | OS X 10.10 |
To | class CAAnimation : NSObject, NSCoding, NSCopying, CAMediaTiming, CAAction { convenience init() class func animation() -> Self class func defaultValue(forKey key: String) -> Any? func shouldArchiveValue(forKey key: String) -> Bool var timingFunction: CAMediaTimingFunction? var delegate: CAAnimationDelegate? var isRemovedOnCompletion: Bool func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? 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 setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: 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 func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) 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 pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? } extension CAAnimation : CVarArg { } extension CAAnimation : Equatable, Hashable { var hashValue: Int { get } } extension CAAnimation { var usesSceneTimeBase: Bool var fadeInDuration: CGFloat var fadeOutDuration: CGFloat var animationEvents: [SCNAnimationEvent]? } | CAAction, CAMediaTiming, CVarArg, Equatable, Hashable, NSCoding, NSCopying | OS X 10.5 |
Declaration | |
---|---|
From | class func defaultValueForKey(_ key: String) -> AnyObject? |
To | class func defaultValue(forKey key: String) -> Any? |
Modified CAAnimation.delegate
Declaration | |
---|---|
From | var delegate: AnyObject? |
To | var delegate: CAAnimationDelegate? |
Modified CAAnimation.isRemovedOnCompletion
Declaration | |
---|---|
From | var removedOnCompletion: Bool |
To | var isRemovedOnCompletion: Bool |
Declaration | |
---|---|
From | func shouldArchiveValueForKey(_ key: String) -> Bool |
To | func shouldArchiveValue(forKey key: String) -> Bool |
Modified CAAnimationGroup
Introduction | |
---|---|
From | OS X 10.10 |
To | OS X 10.5 |
Modified CAAutoresizingMask [struct]
Declaration | Protocols | |
---|---|---|
From | struct CAAutoresizingMask : OptionSetType { init(rawValue rawValue: UInt32) static var LayerNotSizable: CAAutoresizingMask { get } static var LayerMinXMargin: CAAutoresizingMask { get } static var LayerWidthSizable: CAAutoresizingMask { get } static var LayerMaxXMargin: CAAutoresizingMask { get } static var LayerMinYMargin: CAAutoresizingMask { get } static var LayerHeightSizable: CAAutoresizingMask { get } static var LayerMaxYMargin: CAAutoresizingMask { get } } | OptionSetType |
To | struct CAAutoresizingMask : OptionSet { init(rawValue rawValue: UInt32) static var layerNotSizable: CAAutoresizingMask { get } static var layerMinXMargin: CAAutoresizingMask { get } static var layerWidthSizable: CAAutoresizingMask { get } static var layerMaxXMargin: CAAutoresizingMask { get } static var layerMinYMargin: CAAutoresizingMask { get } static var layerHeightSizable: CAAutoresizingMask { get } static var layerMaxYMargin: CAAutoresizingMask { get } func intersect(_ other: CAAutoresizingMask) -> CAAutoresizingMask func exclusiveOr(_ other: CAAutoresizingMask) -> CAAutoresizingMask mutating func unionInPlace(_ other: CAAutoresizingMask) mutating func intersectInPlace(_ other: CAAutoresizingMask) mutating func exclusiveOrInPlace(_ other: CAAutoresizingMask) func isSubsetOf(_ other: CAAutoresizingMask) -> Bool func isDisjointWith(_ other: CAAutoresizingMask) -> Bool func isSupersetOf(_ other: CAAutoresizingMask) -> Bool mutating func subtractInPlace(_ other: CAAutoresizingMask) func isStrictSupersetOf(_ other: CAAutoresizingMask) -> Bool func isStrictSubsetOf(_ other: CAAutoresizingMask) -> Bool } extension CAAutoresizingMask { func union(_ other: CAAutoresizingMask) -> CAAutoresizingMask func intersection(_ other: CAAutoresizingMask) -> CAAutoresizingMask func symmetricDifference(_ other: CAAutoresizingMask) -> CAAutoresizingMask } extension CAAutoresizingMask { func contains(_ member: CAAutoresizingMask) -> Bool mutating func insert(_ newMember: CAAutoresizingMask) -> (inserted: Bool, memberAfterInsert: CAAutoresizingMask) mutating func remove(_ member: CAAutoresizingMask) -> CAAutoresizingMask? mutating func update(with newMember: CAAutoresizingMask) -> CAAutoresizingMask? } extension CAAutoresizingMask { convenience init() mutating func formUnion(_ other: CAAutoresizingMask) mutating func formIntersection(_ other: CAAutoresizingMask) mutating func formSymmetricDifference(_ other: CAAutoresizingMask) } extension CAAutoresizingMask { convenience init<S : Sequence where S.Iterator.Element == CAAutoresizingMask>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: CAAutoresizingMask...) mutating func subtract(_ other: CAAutoresizingMask) func isSubset(of other: CAAutoresizingMask) -> Bool func isSuperset(of other: CAAutoresizingMask) -> Bool func isDisjoint(with other: CAAutoresizingMask) -> Bool func subtracting(_ other: CAAutoresizingMask) -> CAAutoresizingMask var isEmpty: Bool { get } func isStrictSuperset(of other: CAAutoresizingMask) -> Bool func isStrictSubset(of other: CAAutoresizingMask) -> Bool } | OptionSet |
Declaration | |
---|---|
From | static var LayerHeightSizable: CAAutoresizingMask { get } |
To | static var layerHeightSizable: CAAutoresizingMask { get } |
Modified CAAutoresizingMask.layerMaxXMargin
Declaration | |
---|---|
From | static var LayerMaxXMargin: CAAutoresizingMask { get } |
To | static var layerMaxXMargin: CAAutoresizingMask { get } |
Modified CAAutoresizingMask.layerMaxYMargin
Declaration | |
---|---|
From | static var LayerMaxYMargin: CAAutoresizingMask { get } |
To | static var layerMaxYMargin: CAAutoresizingMask { get } |
Modified CAAutoresizingMask.layerMinXMargin
Declaration | |
---|---|
From | static var LayerMinXMargin: CAAutoresizingMask { get } |
To | static var layerMinXMargin: CAAutoresizingMask { get } |
Modified CAAutoresizingMask.layerMinYMargin
Declaration | |
---|---|
From | static var LayerMinYMargin: CAAutoresizingMask { get } |
To | static var layerMinYMargin: CAAutoresizingMask { get } |
Modified CAAutoresizingMask.layerWidthSizable
Declaration | |
---|---|
From | static var LayerWidthSizable: CAAutoresizingMask { get } |
To | static var layerWidthSizable: CAAutoresizingMask { get } |
Modified CABasicAnimation
Declaration | Introduction | |
---|---|---|
From | class CABasicAnimation : CAPropertyAnimation { var fromValue: AnyObject? var toValue: AnyObject? var byValue: AnyObject? } | OS X 10.10 |
To | class CABasicAnimation : CAPropertyAnimation { var fromValue: Any? var toValue: Any? var byValue: Any? } | OS X 10.5 |
Modified CABasicAnimation.byValue
Declaration | |
---|---|
From | var byValue: AnyObject? |
To | var byValue: Any? |
Modified CABasicAnimation.fromValue
Declaration | |
---|---|
From | var fromValue: AnyObject? |
To | var fromValue: Any? |
Modified CABasicAnimation.toValue
Declaration | |
---|---|
From | var toValue: AnyObject? |
To | var toValue: Any? |
Modified CAConstraint
Declaration | Protocols | Introduction | |
---|---|---|---|
From | class CAConstraint : NSObject, NSCoding { convenience init(attribute attr: CAConstraintAttribute, relativeTo srcId: String, attribute srcAttr: CAConstraintAttribute, scale m: CGFloat, offset c: CGFloat) class func constraintWithAttribute(_ attr: CAConstraintAttribute, relativeTo srcId: String, attribute srcAttr: CAConstraintAttribute, scale m: CGFloat, offset c: CGFloat) -> Self convenience init(attribute attr: CAConstraintAttribute, relativeTo srcId: String, attribute srcAttr: CAConstraintAttribute, offset c: CGFloat) class func constraintWithAttribute(_ attr: CAConstraintAttribute, relativeTo srcId: String, attribute srcAttr: CAConstraintAttribute, offset c: CGFloat) -> Self convenience init(attribute attr: CAConstraintAttribute, relativeTo srcId: String, attribute srcAttr: CAConstraintAttribute) class func constraintWithAttribute(_ attr: CAConstraintAttribute, relativeTo srcId: String, attribute srcAttr: CAConstraintAttribute) -> Self init(attribute attr: CAConstraintAttribute, relativeTo srcId: String, attribute srcAttr: CAConstraintAttribute, scale m: CGFloat, offset c: CGFloat) var attribute: CAConstraintAttribute { get } var sourceName: String { get } var sourceAttribute: CAConstraintAttribute { get } var scale: CGFloat { get } var offset: CGFloat { get } } | NSCoding | OS X 10.10 |
To | class CAConstraint : NSObject, NSCoding { convenience init(attribute attr: CAConstraintAttribute, relativeTo srcId: String, attribute srcAttr: CAConstraintAttribute, scale m: CGFloat, offset c: CGFloat) class func withAttribute(_ attr: CAConstraintAttribute, relativeTo srcId: String, attribute srcAttr: CAConstraintAttribute, scale m: CGFloat, offset c: CGFloat) -> Self convenience init(attribute attr: CAConstraintAttribute, relativeTo srcId: String, attribute srcAttr: CAConstraintAttribute, offset c: CGFloat) class func withAttribute(_ attr: CAConstraintAttribute, relativeTo srcId: String, attribute srcAttr: CAConstraintAttribute, offset c: CGFloat) -> Self convenience init(attribute attr: CAConstraintAttribute, relativeTo srcId: String, attribute srcAttr: CAConstraintAttribute) class func withAttribute(_ attr: CAConstraintAttribute, relativeTo srcId: String, attribute srcAttr: CAConstraintAttribute) -> Self init(attribute attr: CAConstraintAttribute, relativeTo srcId: String, attribute srcAttr: CAConstraintAttribute, scale m: CGFloat, offset c: CGFloat) var attribute: CAConstraintAttribute { get } var sourceName: String { get } var sourceAttribute: CAConstraintAttribute { get } var scale: CGFloat { get } var offset: CGFloat { get } func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? 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 setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: 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 func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) 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 pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? } extension CAConstraint : CVarArg { } extension CAConstraint : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding | OS X 10.5 |
Modified CAConstraintAttribute [enum]
Declaration | |
---|---|
From | enum CAConstraintAttribute : Int32 { case MinX case MidX case MaxX case Width case MinY case MidY case MaxY case Height } |
To | enum CAConstraintAttribute : Int32 { case minX case midX case maxX case width case minY case midY case maxY case height } |
Modified CAConstraintAttribute.height
Declaration | |
---|---|
From | case Height |
To | case height |
Modified CAConstraintAttribute.maxX
Declaration | |
---|---|
From | case MaxX |
To | case maxX |
Modified CAConstraintAttribute.maxY
Declaration | |
---|---|
From | case MaxY |
To | case maxY |
Modified CAConstraintAttribute.midX
Declaration | |
---|---|
From | case MidX |
To | case midX |
Modified CAConstraintAttribute.midY
Declaration | |
---|---|
From | case MidY |
To | case midY |
Modified CAConstraintAttribute.minX
Declaration | |
---|---|
From | case MinX |
To | case minX |
Modified CAConstraintAttribute.minY
Declaration | |
---|---|
From | case MinY |
To | case minY |
Modified CAConstraintAttribute.width
Declaration | |
---|---|
From | case Width |
To | case width |
Modified CAConstraintLayoutManager
Declaration | Protocols | Introduction | |
---|---|---|---|
From | class CAConstraintLayoutManager : NSObject { convenience init() class func layoutManager() -> Self } | -- | OS X 10.10 |
To | class CAConstraintLayoutManager : NSObject, CALayoutManager { convenience init() class func layoutManager() -> Self func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? 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 setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: 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 func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) 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 pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? } extension CAConstraintLayoutManager : CVarArg { } extension CAConstraintLayoutManager : Equatable, Hashable { var hashValue: Int { get } } | CALayoutManager, CVarArg, Equatable, Hashable | OS X 10.5 |
Modified CAEdgeAntialiasingMask [struct]
Declaration | Protocols | |
---|---|---|
From | struct CAEdgeAntialiasingMask : OptionSetType { init(rawValue rawValue: UInt32) static var LayerLeftEdge: CAEdgeAntialiasingMask { get } static var LayerRightEdge: CAEdgeAntialiasingMask { get } static var LayerBottomEdge: CAEdgeAntialiasingMask { get } static var LayerTopEdge: CAEdgeAntialiasingMask { get } } | OptionSetType |
To | struct CAEdgeAntialiasingMask : OptionSet { init(rawValue rawValue: UInt32) static var layerLeftEdge: CAEdgeAntialiasingMask { get } static var layerRightEdge: CAEdgeAntialiasingMask { get } static var layerBottomEdge: CAEdgeAntialiasingMask { get } static var layerTopEdge: CAEdgeAntialiasingMask { get } func intersect(_ other: CAEdgeAntialiasingMask) -> CAEdgeAntialiasingMask func exclusiveOr(_ other: CAEdgeAntialiasingMask) -> CAEdgeAntialiasingMask mutating func unionInPlace(_ other: CAEdgeAntialiasingMask) mutating func intersectInPlace(_ other: CAEdgeAntialiasingMask) mutating func exclusiveOrInPlace(_ other: CAEdgeAntialiasingMask) func isSubsetOf(_ other: CAEdgeAntialiasingMask) -> Bool func isDisjointWith(_ other: CAEdgeAntialiasingMask) -> Bool func isSupersetOf(_ other: CAEdgeAntialiasingMask) -> Bool mutating func subtractInPlace(_ other: CAEdgeAntialiasingMask) func isStrictSupersetOf(_ other: CAEdgeAntialiasingMask) -> Bool func isStrictSubsetOf(_ other: CAEdgeAntialiasingMask) -> Bool } extension CAEdgeAntialiasingMask { func union(_ other: CAEdgeAntialiasingMask) -> CAEdgeAntialiasingMask func intersection(_ other: CAEdgeAntialiasingMask) -> CAEdgeAntialiasingMask func symmetricDifference(_ other: CAEdgeAntialiasingMask) -> CAEdgeAntialiasingMask } extension CAEdgeAntialiasingMask { func contains(_ member: CAEdgeAntialiasingMask) -> Bool mutating func insert(_ newMember: CAEdgeAntialiasingMask) -> (inserted: Bool, memberAfterInsert: CAEdgeAntialiasingMask) mutating func remove(_ member: CAEdgeAntialiasingMask) -> CAEdgeAntialiasingMask? mutating func update(with newMember: CAEdgeAntialiasingMask) -> CAEdgeAntialiasingMask? } extension CAEdgeAntialiasingMask { convenience init() mutating func formUnion(_ other: CAEdgeAntialiasingMask) mutating func formIntersection(_ other: CAEdgeAntialiasingMask) mutating func formSymmetricDifference(_ other: CAEdgeAntialiasingMask) } extension CAEdgeAntialiasingMask { convenience init<S : Sequence where S.Iterator.Element == CAEdgeAntialiasingMask>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: CAEdgeAntialiasingMask...) mutating func subtract(_ other: CAEdgeAntialiasingMask) func isSubset(of other: CAEdgeAntialiasingMask) -> Bool func isSuperset(of other: CAEdgeAntialiasingMask) -> Bool func isDisjoint(with other: CAEdgeAntialiasingMask) -> Bool func subtracting(_ other: CAEdgeAntialiasingMask) -> CAEdgeAntialiasingMask var isEmpty: Bool { get } func isStrictSuperset(of other: CAEdgeAntialiasingMask) -> Bool func isStrictSubset(of other: CAEdgeAntialiasingMask) -> Bool } | OptionSet |
Declaration | |
---|---|
From | static var LayerBottomEdge: CAEdgeAntialiasingMask { get } |
To | static var layerBottomEdge: CAEdgeAntialiasingMask { get } |
Modified CAEdgeAntialiasingMask.layerLeftEdge
Declaration | |
---|---|
From | static var LayerLeftEdge: CAEdgeAntialiasingMask { get } |
To | static var layerLeftEdge: CAEdgeAntialiasingMask { get } |
Declaration | |
---|---|
From | static var LayerRightEdge: CAEdgeAntialiasingMask { get } |
To | static var layerRightEdge: CAEdgeAntialiasingMask { get } |
Modified CAEdgeAntialiasingMask.layerTopEdge
Declaration | |
---|---|
From | static var LayerTopEdge: CAEdgeAntialiasingMask { get } |
To | static var layerTopEdge: CAEdgeAntialiasingMask { get } |
Modified CAEmitterBehavior
Declaration | Protocols | Introduction | |
---|---|---|---|
From | class CAEmitterBehavior : NSObject, NSCoding { class func behaviorTypes() -> [String] init(type type: String) class func behaviorWithType(_ type: String) -> CAEmitterBehavior init(type type: String) var type: String { get } var name: String? var enabled: Bool func inputKeys() -> [AnyObject] class func attributesForKey(_ key: String) -> [NSObject : AnyObject] func attributesForKeyPath(_ keyPath: String) -> [NSObject : AnyObject] } | NSCoding | OS X 10.10 |
To | class CAEmitterBehavior : NSObject, NSCoding { class func behaviorTypes() -> [String] init(type type: String) class func withType(_ type: String) -> CAEmitterBehavior init(type type: String) var type: String { get } var name: String? var isEnabled: Bool func inputKeys() -> [Any] class func attributes(forKey key: String) -> [AnyHashable : Any] func attributes(forKeyPath keyPath: String) -> [AnyHashable : Any] func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? 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 setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: 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 func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) 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 pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? } extension CAEmitterBehavior : CVarArg { } extension CAEmitterBehavior : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding | OS X 10.9 |
Modified CAEmitterBehavior.attributes(forKey: String) -> [AnyHashable : Any] [class]
Declaration | |
---|---|
From | class func attributesForKey(_ key: String) -> [NSObject : AnyObject] |
To | class func attributes(forKey key: String) -> [AnyHashable : Any] |
Modified CAEmitterBehavior.attributes(forKeyPath: String) -> [AnyHashable : Any]
Declaration | |
---|---|
From | func attributesForKeyPath(_ keyPath: String) -> [NSObject : AnyObject] |
To | func attributes(forKeyPath keyPath: String) -> [AnyHashable : Any] |
Modified CAEmitterBehavior.inputKeys() -> [Any]
Declaration | |
---|---|
From | func inputKeys() -> [AnyObject] |
To | func inputKeys() -> [Any] |
Modified CAEmitterBehavior.isEnabled
Declaration | |
---|---|
From | var enabled: Bool |
To | var isEnabled: Bool |
Modified CAEmitterCell
Declaration | Protocols | Introduction | |
---|---|---|---|
From | class CAEmitterCell : NSObject, NSCoding, CAMediaTiming { convenience init() class func emitterCell() -> Self class func defaultValueForKey(_ key: String) -> AnyObject? func shouldArchiveValueForKey(_ key: String) -> Bool var name: String? var enabled: Bool var birthRate: Float var lifetime: Float var lifetimeRange: Float var emissionLatitude: CGFloat var emissionLongitude: CGFloat var emissionRange: CGFloat var velocity: CGFloat var velocityRange: CGFloat var xAcceleration: CGFloat var yAcceleration: CGFloat var zAcceleration: CGFloat var scale: CGFloat var scaleRange: CGFloat var scaleSpeed: CGFloat var spin: CGFloat var spinRange: CGFloat var color: CGColor? var redRange: Float var greenRange: Float var blueRange: Float var alphaRange: Float var redSpeed: Float var greenSpeed: Float var blueSpeed: Float var alphaSpeed: Float var contents: AnyObject? var contentsRect: CGRect var contentsScale: CGFloat var minificationFilter: String var magnificationFilter: String var minificationFilterBias: Float var emitterCells: [CAEmitterCell]? var style: [NSObject : AnyObject]? } | CAMediaTiming, NSCoding | OS X 10.10 |
To | class CAEmitterCell : NSObject, NSCoding, CAMediaTiming { convenience init() class func emitterCell() -> Self class func defaultValue(forKey key: String) -> Any? func shouldArchiveValue(forKey key: String) -> Bool var name: String? var isEnabled: Bool var birthRate: Float var lifetime: Float var lifetimeRange: Float var emissionLatitude: CGFloat var emissionLongitude: CGFloat var emissionRange: CGFloat var velocity: CGFloat var velocityRange: CGFloat var xAcceleration: CGFloat var yAcceleration: CGFloat var zAcceleration: CGFloat var scale: CGFloat var scaleRange: CGFloat var scaleSpeed: CGFloat var spin: CGFloat var spinRange: CGFloat var color: CGColor? var redRange: Float var greenRange: Float var blueRange: Float var alphaRange: Float var redSpeed: Float var greenSpeed: Float var blueSpeed: Float var alphaSpeed: Float var contents: Any? var contentsRect: CGRect var contentsScale: CGFloat var minificationFilter: String var magnificationFilter: String var minificationFilterBias: Float var emitterCells: [CAEmitterCell]? var style: [AnyHashable : Any]? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? 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 setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: 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 func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) 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 pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? } extension CAEmitterCell : CVarArg { } extension CAEmitterCell : Equatable, Hashable { var hashValue: Int { get } } | CAMediaTiming, CVarArg, Equatable, Hashable, NSCoding | OS X 10.6 |
Modified CAEmitterCell.contents
Declaration | |
---|---|
From | var contents: AnyObject? |
To | var contents: Any? |
Declaration | |
---|---|
From | class func defaultValueForKey(_ key: String) -> AnyObject? |
To | class func defaultValue(forKey key: String) -> Any? |
Modified CAEmitterCell.isEnabled
Declaration | |
---|---|
From | var enabled: Bool |
To | var isEnabled: Bool |
Declaration | |
---|---|
From | func shouldArchiveValueForKey(_ key: String) -> Bool |
To | func shouldArchiveValue(forKey key: String) -> Bool |
Modified CAEmitterCell.style
Declaration | |
---|---|
From | var style: [NSObject : AnyObject]? |
To | var style: [AnyHashable : Any]? |
Modified CAEmitterLayer
Declaration | Protocols | Introduction | |
---|---|---|---|
From | class CAEmitterLayer : CALayer { var emitterCells: [CAEmitterCell]? var birthRate: Float var lifetime: Float var emitterPosition: CGPoint var emitterZPosition: CGFloat var emitterSize: CGSize var emitterDepth: CGFloat var emitterShape: String var emitterMode: String var renderMode: String var preservesDepth: Bool var velocity: Float var scale: Float var spin: Float var seed: UInt32 } | -- | OS X 10.10 |
To | class CAEmitterLayer : CALayer { var emitterCells: [CAEmitterCell]? var birthRate: Float var lifetime: Float var emitterPosition: CGPoint var emitterZPosition: CGFloat var emitterSize: CGSize var emitterDepth: CGFloat var emitterShape: String var emitterMode: String var renderMode: String var preservesDepth: Bool var velocity: Float var scale: Float var spin: Float var seed: UInt32 func scroll(_ p: CGPoint) func scrollRectToVisible(_ r: CGRect) var visibleRect: CGRect { get } init(remoteClientId client_id: UInt32) class func withRemoteClientId(_ client_id: UInt32) -> CALayer var constraints: [CAConstraint]? func addConstraint(_ c: CAConstraint) func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? 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 setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: 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 func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) 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 pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? } extension CAEmitterLayer : CVarArg { } extension CAEmitterLayer : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable | OS X 10.6 |
Modified CAGradientLayer
Declaration | Protocols | Introduction | |
---|---|---|---|
From | class CAGradientLayer : CALayer { var colors: [AnyObject]? var locations: [NSNumber]? var startPoint: CGPoint var endPoint: CGPoint var type: String } | -- | OS X 10.10 |
To | class CAGradientLayer : CALayer { var colors: [Any]? var locations: [NSNumber]? var startPoint: CGPoint var endPoint: CGPoint var type: String func scroll(_ p: CGPoint) func scrollRectToVisible(_ r: CGRect) var visibleRect: CGRect { get } init(remoteClientId client_id: UInt32) class func withRemoteClientId(_ client_id: UInt32) -> CALayer var constraints: [CAConstraint]? func addConstraint(_ c: CAConstraint) func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? 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 setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: 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 func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) 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 pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? } extension CAGradientLayer : CVarArg { } extension CAGradientLayer : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable | OS X 10.6 |
Modified CAGradientLayer.colors
Declaration | |
---|---|
From | var colors: [AnyObject]? |
To | var colors: [Any]? |
Modified CAKeyframeAnimation
Declaration | Introduction | |
---|---|---|
From | class CAKeyframeAnimation : CAPropertyAnimation { var values: [AnyObject]? var path: CGPath? var keyTimes: [NSNumber]? var timingFunctions: [CAMediaTimingFunction]? var calculationMode: String var tensionValues: [NSNumber]? var continuityValues: [NSNumber]? var biasValues: [NSNumber]? var rotationMode: String? } | OS X 10.10 |
To | class CAKeyframeAnimation : CAPropertyAnimation { var values: [Any]? var path: CGPath? var keyTimes: [NSNumber]? var timingFunctions: [CAMediaTimingFunction]? var calculationMode: String var tensionValues: [NSNumber]? var continuityValues: [NSNumber]? var biasValues: [NSNumber]? var rotationMode: String? } | OS X 10.5 |
Modified CAKeyframeAnimation.values
Declaration | |
---|---|
From | var values: [AnyObject]? |
To | var values: [Any]? |
Modified CALayer
Declaration | Protocols | Introduction | |
---|---|---|---|
From | class CALayer : NSObject, NSCoding, CAMediaTiming { convenience init() class func layer() -> Self init() init(layer layer: AnyObject) func presentationLayer() -> AnyObject? func modelLayer() -> AnyObject class func defaultValueForKey(_ key: String) -> AnyObject? class func needsDisplayForKey(_ key: String) -> Bool func shouldArchiveValueForKey(_ key: String) -> Bool var bounds: CGRect var position: CGPoint var zPosition: CGFloat var anchorPoint: CGPoint var anchorPointZ: CGFloat var transform: CATransform3D func affineTransform() -> CGAffineTransform func setAffineTransform(_ m: CGAffineTransform) var frame: CGRect var hidden: Bool var doubleSided: Bool var geometryFlipped: Bool func contentsAreFlipped() -> Bool var superlayer: CALayer? { get } func removeFromSuperlayer() var sublayers: [CALayer]? func addSublayer(_ layer: CALayer) func insertSublayer(_ layer: CALayer, atIndex idx: UInt32) func insertSublayer(_ layer: CALayer, below sibling: CALayer?) func insertSublayer(_ layer: CALayer, above sibling: CALayer?) func replaceSublayer(_ layer: CALayer, with layer2: CALayer) var sublayerTransform: CATransform3D var mask: CALayer? var masksToBounds: Bool func convertPoint(_ p: CGPoint, fromLayer l: CALayer?) -> CGPoint func convertPoint(_ p: CGPoint, toLayer l: CALayer?) -> CGPoint func convertRect(_ r: CGRect, fromLayer l: CALayer?) -> CGRect func convertRect(_ r: CGRect, toLayer l: CALayer?) -> CGRect func convertTime(_ t: CFTimeInterval, fromLayer l: CALayer?) -> CFTimeInterval func convertTime(_ t: CFTimeInterval, toLayer l: CALayer?) -> CFTimeInterval func hitTest(_ p: CGPoint) -> CALayer? func containsPoint(_ p: CGPoint) -> Bool var contents: AnyObject? var contentsRect: CGRect var contentsGravity: String var contentsScale: CGFloat var contentsCenter: CGRect var minificationFilter: String var magnificationFilter: String var minificationFilterBias: Float var opaque: Bool func display() func setNeedsDisplay() func setNeedsDisplayInRect(_ r: CGRect) func needsDisplay() -> Bool func displayIfNeeded() var needsDisplayOnBoundsChange: Bool var drawsAsynchronously: Bool func drawInContext(_ ctx: CGContext) func renderInContext(_ ctx: CGContext) var edgeAntialiasingMask: CAEdgeAntialiasingMask var backgroundColor: CGColor? var cornerRadius: CGFloat var borderWidth: CGFloat var borderColor: CGColor? var opacity: Float var compositingFilter: AnyObject? var filters: [AnyObject]? var backgroundFilters: [AnyObject]? var shouldRasterize: Bool var rasterizationScale: CGFloat var shadowColor: CGColor? var shadowOpacity: Float var shadowOffset: CGSize var shadowRadius: CGFloat var shadowPath: CGPath? var autoresizingMask: CAAutoresizingMask var layoutManager: AnyObject? func preferredFrameSize() -> CGSize func setNeedsLayout() func needsLayout() -> Bool func layoutIfNeeded() func layoutSublayers() func resizeSublayersWithOldSize(_ size: CGSize) func resizeWithOldSuperlayerSize(_ size: CGSize) class func defaultActionForKey(_ event: String) -> CAAction? func actionForKey(_ event: String) -> CAAction? var actions: [String : CAAction]? func addAnimation(_ anim: CAAnimation, forKey key: String?) func removeAllAnimations() func removeAnimationForKey(_ key: String) func animationKeys() -> [String]? func animationForKey(_ key: String) -> CAAnimation? var name: String? weak var delegate: AnyObject? var style: [NSObject : AnyObject]? } extension CALayer { var constraints: [CAConstraint]? func addConstraint(_ c: CAConstraint) } extension CALayer { init(remoteClientId client_id: UInt32) class func layerWithRemoteClientId(_ client_id: UInt32) -> CALayer } extension CALayer { func scrollPoint(_ p: CGPoint) func scrollRectToVisible(_ r: CGRect) var visibleRect: CGRect { get } } | CAMediaTiming, NSCoding | OS X 10.10 |
To | class CALayer : NSObject, NSCoding, CAMediaTiming { convenience init() class func layer() -> Self init() init(layer layer: Any) func presentation() -> Self? func model() -> Self class func defaultValue(forKey key: String) -> Any? class func needsDisplay(forKey key: String) -> Bool func shouldArchiveValue(forKey key: String) -> Bool var bounds: CGRect var position: CGPoint var zPosition: CGFloat var anchorPoint: CGPoint var anchorPointZ: CGFloat var transform: CATransform3D func affineTransform() -> CGAffineTransform func setAffineTransform(_ m: CGAffineTransform) var frame: CGRect var isHidden: Bool var isDoubleSided: Bool var isGeometryFlipped: Bool func contentsAreFlipped() -> Bool var superlayer: CALayer? { get } func removeFromSuperlayer() var sublayers: [CALayer]? func addSublayer(_ layer: CALayer) func insertSublayer(_ layer: CALayer, at idx: UInt32) func insertSublayer(_ layer: CALayer, below sibling: CALayer?) func insertSublayer(_ layer: CALayer, above sibling: CALayer?) func replaceSublayer(_ layer: CALayer, with layer2: CALayer) var sublayerTransform: CATransform3D var mask: CALayer? var masksToBounds: Bool func convert(_ p: CGPoint, from l: CALayer?) -> CGPoint func convert(_ p: CGPoint, to l: CALayer?) -> CGPoint func convert(_ r: CGRect, from l: CALayer?) -> CGRect func convert(_ r: CGRect, to l: CALayer?) -> CGRect func convertTime(_ t: CFTimeInterval, from l: CALayer?) -> CFTimeInterval func convertTime(_ t: CFTimeInterval, to l: CALayer?) -> CFTimeInterval func hitTest(_ p: CGPoint) -> CALayer? func contains(_ p: CGPoint) -> Bool var contents: Any? var contentsRect: CGRect var contentsGravity: String var contentsScale: CGFloat var contentsCenter: CGRect var contentsFormat: String var minificationFilter: String var magnificationFilter: String var minificationFilterBias: Float var isOpaque: Bool func display() func setNeedsDisplay() func setNeedsDisplayIn(_ r: CGRect) func needsDisplay() -> Bool func displayIfNeeded() var needsDisplayOnBoundsChange: Bool var drawsAsynchronously: Bool func draw(in ctx: CGContext) func render(in ctx: CGContext) var edgeAntialiasingMask: CAEdgeAntialiasingMask var backgroundColor: CGColor? var cornerRadius: CGFloat var borderWidth: CGFloat var borderColor: CGColor? var opacity: Float var compositingFilter: Any? var filters: [Any]? var backgroundFilters: [Any]? var shouldRasterize: Bool var rasterizationScale: CGFloat var shadowColor: CGColor? var shadowOpacity: Float var shadowOffset: CGSize var shadowRadius: CGFloat var shadowPath: CGPath? var autoresizingMask: CAAutoresizingMask var layoutManager: CALayoutManager? func preferredFrameSize() -> CGSize func setNeedsLayout() func needsLayout() -> Bool func layoutIfNeeded() func layoutSublayers() func resizeSublayers(withOldSize size: CGSize) func resize(withOldSuperlayerSize size: CGSize) class func defaultAction(forKey event: String) -> CAAction? func action(forKey event: String) -> CAAction? var actions: [String : CAAction]? func add(_ anim: CAAnimation, forKey key: String?) func removeAllAnimations() func removeAnimation(forKey key: String) func animationKeys() -> [String]? func animation(forKey key: String) -> CAAnimation? var name: String? weak var delegate: CALayerDelegate? var style: [AnyHashable : Any]? func scroll(_ p: CGPoint) func scrollRectToVisible(_ r: CGRect) var visibleRect: CGRect { get } init(remoteClientId client_id: UInt32) class func withRemoteClientId(_ client_id: UInt32) -> CALayer var constraints: [CAConstraint]? func addConstraint(_ c: CAConstraint) func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? 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 setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: 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 func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) 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 pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? } extension CALayer { var constraints: [CAConstraint]? func addConstraint(_ c: CAConstraint) } extension CALayer : CVarArg { } extension CALayer : Equatable, Hashable { var hashValue: Int { get } } extension CALayer { init(remoteClientId client_id: UInt32) class func withRemoteClientId(_ client_id: UInt32) -> CALayer } extension CALayer { func scroll(_ p: CGPoint) func scrollRectToVisible(_ r: CGRect) var visibleRect: CGRect { get } } | CAMediaTiming, CVarArg, Equatable, Hashable, NSCoding | OS X 10.5 |
Declaration | |
---|---|
From | func actionForKey(_ event: String) -> CAAction? |
To | func action(forKey event: String) -> CAAction? |
Declaration | |
---|---|
From | func addAnimation(_ anim: CAAnimation, forKey key: String?) |
To | func add(_ anim: CAAnimation, forKey key: String?) |
Declaration | |
---|---|
From | func animationForKey(_ key: String) -> CAAnimation? |
To | func animation(forKey key: String) -> CAAnimation? |
Modified CALayer.backgroundFilters
Declaration | |
---|---|
From | var backgroundFilters: [AnyObject]? |
To | var backgroundFilters: [Any]? |
Modified CALayer.compositingFilter
Declaration | |
---|---|
From | var compositingFilter: AnyObject? |
To | var compositingFilter: Any? |
Modified CALayer.contains(_: CGPoint) -> Bool
Declaration | |
---|---|
From | func containsPoint(_ p: CGPoint) -> Bool |
To | func contains(_ p: CGPoint) -> Bool |
Modified CALayer.contents
Declaration | |
---|---|
From | var contents: AnyObject? |
To | var contents: Any? |
Declaration | |
---|---|
From | func convertRect(_ r: CGRect, fromLayer l: CALayer?) -> CGRect |
To | func convert(_ r: CGRect, from l: CALayer?) -> CGRect |
Declaration | |
---|---|
From | func convertPoint(_ p: CGPoint, fromLayer l: CALayer?) -> CGPoint |
To | func convert(_ p: CGPoint, from l: CALayer?) -> CGPoint |
Declaration | |
---|---|
From | func convertPoint(_ p: CGPoint, toLayer l: CALayer?) -> CGPoint |
To | func convert(_ p: CGPoint, to l: CALayer?) -> CGPoint |
Declaration | |
---|---|
From | func convertRect(_ r: CGRect, toLayer l: CALayer?) -> CGRect |
To | func convert(_ r: CGRect, to l: CALayer?) -> CGRect |
Declaration | |
---|---|
From | func convertTime(_ t: CFTimeInterval, fromLayer l: CALayer?) -> CFTimeInterval |
To | func convertTime(_ t: CFTimeInterval, from l: CALayer?) -> CFTimeInterval |
Declaration | |
---|---|
From | func convertTime(_ t: CFTimeInterval, toLayer l: CALayer?) -> CFTimeInterval |
To | func convertTime(_ t: CFTimeInterval, to l: CALayer?) -> CFTimeInterval |
Declaration | |
---|---|
From | class func defaultActionForKey(_ event: String) -> CAAction? |
To | class func defaultAction(forKey event: String) -> CAAction? |
Declaration | |
---|---|
From | class func defaultValueForKey(_ key: String) -> AnyObject? |
To | class func defaultValue(forKey key: String) -> Any? |
Modified CALayer.delegate
Declaration | |
---|---|
From | weak var delegate: AnyObject? |
To | weak var delegate: CALayerDelegate? |
Modified CALayer.draw(in: CGContext)
Declaration | |
---|---|
From | func drawInContext(_ ctx: CGContext) |
To | func draw(in ctx: CGContext) |
Modified CALayer.filters
Declaration | |
---|---|
From | var filters: [AnyObject]? |
To | var filters: [Any]? |
Modified CALayer.init(layer: Any)
Declaration | |
---|---|
From | init(layer layer: AnyObject) |
To | init(layer layer: Any) |
Declaration | |
---|---|
From | func insertSublayer(_ layer: CALayer, atIndex idx: UInt32) |
To | func insertSublayer(_ layer: CALayer, at idx: UInt32) |
Modified CALayer.isDoubleSided
Declaration | |
---|---|
From | var doubleSided: Bool |
To | var isDoubleSided: Bool |
Modified CALayer.isGeometryFlipped
Declaration | |
---|---|
From | var geometryFlipped: Bool |
To | var isGeometryFlipped: Bool |
Modified CALayer.isHidden
Declaration | |
---|---|
From | var hidden: Bool |
To | var isHidden: Bool |
Modified CALayer.isOpaque
Declaration | |
---|---|
From | var opaque: Bool |
To | var isOpaque: Bool |
Modified CALayer.layoutManager
Declaration | |
---|---|
From | var layoutManager: AnyObject? |
To | var layoutManager: CALayoutManager? |
Modified CALayer.model() -> Self
Declaration | |
---|---|
From | func modelLayer() -> AnyObject |
To | func model() -> Self |
Declaration | |
---|---|
From | class func needsDisplayForKey(_ key: String) -> Bool |
To | class func needsDisplay(forKey key: String) -> Bool |
Modified CALayer.presentation() -> Self?
Declaration | |
---|---|
From | func presentationLayer() -> AnyObject? |
To | func presentation() -> Self? |
Declaration | |
---|---|
From | func removeAnimationForKey(_ key: String) |
To | func removeAnimation(forKey key: String) |
Modified CALayer.render(in: CGContext)
Declaration | |
---|---|
From | func renderInContext(_ ctx: CGContext) |
To | func render(in ctx: CGContext) |
Declaration | |
---|---|
From | func resizeWithOldSuperlayerSize(_ size: CGSize) |
To | func resize(withOldSuperlayerSize size: CGSize) |
Declaration | |
---|---|
From | func resizeSublayersWithOldSize(_ size: CGSize) |
To | func resizeSublayers(withOldSize size: CGSize) |
Modified CALayer.scroll(_: CGPoint)
Declaration | |
---|---|
From | func scrollPoint(_ p: CGPoint) |
To | func scroll(_ p: CGPoint) |
Modified CALayer.setNeedsDisplayIn(_: CGRect)
Declaration | |
---|---|
From | func setNeedsDisplayInRect(_ r: CGRect) |
To | func setNeedsDisplayIn(_ r: CGRect) |
Declaration | |
---|---|
From | func shouldArchiveValueForKey(_ key: String) -> Bool |
To | func shouldArchiveValue(forKey key: String) -> Bool |
Modified CALayer.style
Declaration | |
---|---|
From | var style: [NSObject : AnyObject]? |
To | var style: [AnyHashable : Any]? |
Modified CAMediaTimingFunction
Declaration | Protocols | Introduction | |
---|---|---|---|
From | class CAMediaTimingFunction : NSObject, NSCoding { convenience init(name name: String) class func functionWithName(_ name: String) -> Self convenience init(controlPoints c1x: Float, _ c1y: Float, _ c2x: Float, _ c2y: Float) class func functionWithControlPoints(_ c1x: Float, _ c1y: Float, _ c2x: Float, _ c2y: Float) -> Self init(controlPoints c1x: Float, _ c1y: Float, _ c2x: Float, _ c2y: Float) func getControlPointAtIndex(_ idx: Int, values ptr: UnsafeMutablePointer<Float>) } | NSCoding | OS X 10.10 |
To | class CAMediaTimingFunction : NSObject, NSCoding { convenience init(name name: String) class func withName(_ name: String) -> Self convenience init(controlPoints c1x: Float, _ c1y: Float, _ c2x: Float, _ c2y: Float) class func withControlPoints(_ c1x: Float, _ c1y: Float, _ c2x: Float, _ c2y: Float) -> Self init(controlPoints c1x: Float, _ c1y: Float, _ c2x: Float, _ c2y: Float) func getControlPoint(at idx: Int, values ptr: UnsafeMutablePointer<Float>!) func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? 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 setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: 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 func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) 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 pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? } extension CAMediaTimingFunction : CVarArg { } extension CAMediaTimingFunction : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding | OS X 10.5 |
Declaration | |
---|---|
From | func getControlPointAtIndex(_ idx: Int, values ptr: UnsafeMutablePointer<Float>) |
To | func getControlPoint(at idx: Int, values ptr: UnsafeMutablePointer<Float>!) |
Modified CAMetalLayer
Declaration | Protocols | |
---|---|---|
From | class CAMetalLayer : CALayer { var device: MTLDevice? var pixelFormat: MTLPixelFormat var framebufferOnly: Bool var drawableSize: CGSize func nextDrawable() -> CAMetalDrawable? var presentsWithTransaction: Bool var colorspace: CGColorSpace var wantsExtendedDynamicRangeContent: Bool } | -- |
To | class CAMetalLayer : CALayer { var device: MTLDevice? var pixelFormat: MTLPixelFormat var framebufferOnly: Bool var drawableSize: CGSize func nextDrawable() -> CAMetalDrawable? var presentsWithTransaction: Bool var colorspace: CGColorSpace? var wantsExtendedDynamicRangeContent: Bool func scroll(_ p: CGPoint) func scrollRectToVisible(_ r: CGRect) var visibleRect: CGRect { get } init(remoteClientId client_id: UInt32) class func withRemoteClientId(_ client_id: UInt32) -> CALayer var constraints: [CAConstraint]? func addConstraint(_ c: CAConstraint) func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? 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 setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: 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 func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) 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 pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? } extension CAMetalLayer : CVarArg { } extension CAMetalLayer : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified CAMetalLayer.colorspace
Declaration | |
---|---|
From | var colorspace: CGColorSpace |
To | var colorspace: CGColorSpace? |
Modified CAOpenGLLayer
Declaration | Protocols | Introduction | |
---|---|---|---|
From | class CAOpenGLLayer : CALayer { var asynchronous: Bool func canDrawInCGLContext(_ ctx: CGLContextObj, pixelFormat pf: CGLPixelFormatObj, forLayerTime t: CFTimeInterval, displayTime ts: UnsafePointer<CVTimeStamp>) -> Bool func drawInCGLContext(_ ctx: CGLContextObj, pixelFormat pf: CGLPixelFormatObj, forLayerTime t: CFTimeInterval, displayTime ts: UnsafePointer<CVTimeStamp>) func copyCGLPixelFormatForDisplayMask(_ mask: UInt32) -> CGLPixelFormatObj func releaseCGLPixelFormat(_ pf: CGLPixelFormatObj) func copyCGLContextForPixelFormat(_ pf: CGLPixelFormatObj) -> CGLContextObj func releaseCGLContext(_ ctx: CGLContextObj) var colorspace: CGColorSpace var wantsExtendedDynamicRangeContent: Bool } | -- | OS X 10.10 |
To | class CAOpenGLLayer : CALayer { var isAsynchronous: Bool func canDraw(inCGLContext ctx: CGLContextObj, pixelFormat pf: CGLPixelFormatObj, forLayerTime t: CFTimeInterval, displayTime ts: UnsafePointer<CVTimeStamp>?) -> Bool func draw(inCGLContext ctx: CGLContextObj, pixelFormat pf: CGLPixelFormatObj, forLayerTime t: CFTimeInterval, displayTime ts: UnsafePointer<CVTimeStamp>?) func copyCGLPixelFormat(forDisplayMask mask: UInt32) -> CGLPixelFormatObj func releaseCGLPixelFormat(_ pf: CGLPixelFormatObj) func copyCGLContext(forPixelFormat pf: CGLPixelFormatObj) -> CGLContextObj func releaseCGLContext(_ ctx: CGLContextObj) var colorspace: CGColorSpace? var wantsExtendedDynamicRangeContent: Bool func scroll(_ p: CGPoint) func scrollRectToVisible(_ r: CGRect) var visibleRect: CGRect { get } init(remoteClientId client_id: UInt32) class func withRemoteClientId(_ client_id: UInt32) -> CALayer var constraints: [CAConstraint]? func addConstraint(_ c: CAConstraint) func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? 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 setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: 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 func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) 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 pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? } extension CAOpenGLLayer : CVarArg { } extension CAOpenGLLayer : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable | OS X 10.5 |
Declaration | |
---|---|
From | func canDrawInCGLContext(_ ctx: CGLContextObj, pixelFormat pf: CGLPixelFormatObj, forLayerTime t: CFTimeInterval, displayTime ts: UnsafePointer<CVTimeStamp>) -> Bool |
To | func canDraw(inCGLContext ctx: CGLContextObj, pixelFormat pf: CGLPixelFormatObj, forLayerTime t: CFTimeInterval, displayTime ts: UnsafePointer<CVTimeStamp>?) -> Bool |
Modified CAOpenGLLayer.colorspace
Declaration | |
---|---|
From | var colorspace: CGColorSpace |
To | var colorspace: CGColorSpace? |
Declaration | |
---|---|
From | func copyCGLContextForPixelFormat(_ pf: CGLPixelFormatObj) -> CGLContextObj |
To | func copyCGLContext(forPixelFormat pf: CGLPixelFormatObj) -> CGLContextObj |
Declaration | |
---|---|
From | func copyCGLPixelFormatForDisplayMask(_ mask: UInt32) -> CGLPixelFormatObj |
To | func copyCGLPixelFormat(forDisplayMask mask: UInt32) -> CGLPixelFormatObj |
Declaration | |
---|---|
From | func drawInCGLContext(_ ctx: CGLContextObj, pixelFormat pf: CGLPixelFormatObj, forLayerTime t: CFTimeInterval, displayTime ts: UnsafePointer<CVTimeStamp>) |
To | func draw(inCGLContext ctx: CGLContextObj, pixelFormat pf: CGLPixelFormatObj, forLayerTime t: CFTimeInterval, displayTime ts: UnsafePointer<CVTimeStamp>?) |
Modified CAOpenGLLayer.isAsynchronous
Declaration | |
---|---|
From | var asynchronous: Bool |
To | var isAsynchronous: Bool |
Modified CAPropertyAnimation
Declaration | Introduction | |
---|---|---|
From | class CAPropertyAnimation : CAAnimation { convenience init(keyPath path: String?) class func animationWithKeyPath(_ path: String?) -> Self var keyPath: String? var additive: Bool var cumulative: Bool var valueFunction: CAValueFunction? } | OS X 10.10 |
To | class CAPropertyAnimation : CAAnimation { convenience init(keyPath path: String?) class func withKeyPath(_ path: String?) -> Self var keyPath: String? var isAdditive: Bool var isCumulative: Bool var valueFunction: CAValueFunction? } | OS X 10.5 |
Modified CAPropertyAnimation.isAdditive
Declaration | |
---|---|
From | var additive: Bool |
To | var isAdditive: Bool |
Modified CAPropertyAnimation.isCumulative
Declaration | |
---|---|
From | var cumulative: Bool |
To | var isCumulative: Bool |
Modified CARemoteLayerClient
Declaration | Protocols | Introduction | |
---|---|---|---|
From | class CARemoteLayerClient : NSObject { init(serverPort port: mach_port_t) func invalidate() var clientId: UInt32 { get } var layer: CALayer? } | -- | OS X 10.10 |
To | class CARemoteLayerClient : NSObject { init(serverPort port: mach_port_t) func invalidate() var clientId: UInt32 { get } var layer: CALayer? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? 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 setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: 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 func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) 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 pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? } extension CARemoteLayerClient : CVarArg { } extension CARemoteLayerClient : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable | OS X 10.7 |
Modified CARemoteLayerServer
Declaration | Protocols | Introduction | |
---|---|---|---|
From | class CARemoteLayerServer : NSObject { class func sharedServer() -> CARemoteLayerServer var serverPort: mach_port_t { get } } | -- | OS X 10.10 |
To | class CARemoteLayerServer : NSObject { class func shared() -> CARemoteLayerServer var serverPort: mach_port_t { get } func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? 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 setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: 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 func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) 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 pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? } extension CARemoteLayerServer : CVarArg { } extension CARemoteLayerServer : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable | OS X 10.7 |
Declaration | |
---|---|
From | class func sharedServer() -> CARemoteLayerServer |
To | class func shared() -> CARemoteLayerServer |
Modified CARenderer
Declaration | Protocols | Introduction | |
---|---|---|---|
From | class CARenderer : NSObject { init(CGLContext ctx: UnsafeMutablePointer<Void>, options dict: [NSObject : AnyObject]?) class func rendererWithCGLContext(_ ctx: UnsafeMutablePointer<Void>, options dict: [NSObject : AnyObject]?) -> CARenderer var layer: CALayer? var bounds: CGRect func beginFrameAtTime(_ t: CFTimeInterval, timeStamp ts: UnsafeMutablePointer<CVTimeStamp>) func updateBounds() -> CGRect func addUpdateRect(_ r: CGRect) func render() func nextFrameTime() -> CFTimeInterval func endFrame() } | -- | OS X 10.10 |
To | class CARenderer : NSObject { init(cglContext ctx: UnsafeMutableRawPointer, options dict: [AnyHashable : Any]? = nil) class func withCGLContext(_ ctx: UnsafeMutableRawPointer, options dict: [AnyHashable : Any]? = nil) -> CARenderer var layer: CALayer? var bounds: CGRect func beginFrame(atTime t: CFTimeInterval, timeStamp ts: UnsafeMutablePointer<CVTimeStamp>?) func updateBounds() -> CGRect func addUpdate(_ r: CGRect) func render() func nextFrameTime() -> CFTimeInterval func endFrame() func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? 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 setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: 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 func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) 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 pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? } extension CARenderer : CVarArg { } extension CARenderer : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable | OS X 10.5 |
Modified CARenderer.addUpdate(_: CGRect)
Declaration | |
---|---|
From | func addUpdateRect(_ r: CGRect) |
To | func addUpdate(_ r: CGRect) |
Modified CARenderer.beginFrame(atTime: CFTimeInterval, timeStamp: UnsafeMutablePointer<CVTimeStamp>?)
Declaration | |
---|---|
From | func beginFrameAtTime(_ t: CFTimeInterval, timeStamp ts: UnsafeMutablePointer<CVTimeStamp>) |
To | func beginFrame(atTime t: CFTimeInterval, timeStamp ts: UnsafeMutablePointer<CVTimeStamp>?) |
Declaration | |
---|---|
From | init(CGLContext ctx: UnsafeMutablePointer<Void>, options dict: [NSObject : AnyObject]?) |
To | init(cglContext ctx: UnsafeMutableRawPointer, options dict: [AnyHashable : Any]? = nil) |
Modified CAReplicatorLayer
Declaration | Protocols | Introduction | |
---|---|---|---|
From | class CAReplicatorLayer : CALayer { var instanceCount: Int var preservesDepth: Bool var instanceDelay: CFTimeInterval var instanceTransform: CATransform3D var instanceColor: CGColor? var instanceRedOffset: Float var instanceGreenOffset: Float var instanceBlueOffset: Float var instanceAlphaOffset: Float } | -- | OS X 10.10 |
To | class CAReplicatorLayer : CALayer { var instanceCount: Int var preservesDepth: Bool var instanceDelay: CFTimeInterval var instanceTransform: CATransform3D var instanceColor: CGColor? var instanceRedOffset: Float var instanceGreenOffset: Float var instanceBlueOffset: Float var instanceAlphaOffset: Float func scroll(_ p: CGPoint) func scrollRectToVisible(_ r: CGRect) var visibleRect: CGRect { get } init(remoteClientId client_id: UInt32) class func withRemoteClientId(_ client_id: UInt32) -> CALayer var constraints: [CAConstraint]? func addConstraint(_ c: CAConstraint) func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? 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 setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: 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 func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) 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 pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? } extension CAReplicatorLayer : CVarArg { } extension CAReplicatorLayer : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable | OS X 10.6 |
Modified CAScrollLayer
Declaration | Protocols | Introduction | |
---|---|---|---|
From | class CAScrollLayer : CALayer { func scrollToPoint(_ p: CGPoint) func scrollToRect(_ r: CGRect) var scrollMode: String } | -- | OS X 10.10 |
To | class CAScrollLayer : CALayer { func scroll(to p: CGPoint) func scroll(to r: CGRect) var scrollMode: String func scroll(_ p: CGPoint) func scrollRectToVisible(_ r: CGRect) var visibleRect: CGRect { get } init(remoteClientId client_id: UInt32) class func withRemoteClientId(_ client_id: UInt32) -> CALayer var constraints: [CAConstraint]? func addConstraint(_ c: CAConstraint) func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? 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 setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: 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 func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) 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 pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? } extension CAScrollLayer : CVarArg { } extension CAScrollLayer : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable | OS X 10.5 |
Modified CAScrollLayer.scroll(to: CGPoint)
Declaration | |
---|---|
From | func scrollToPoint(_ p: CGPoint) |
To | func scroll(to p: CGPoint) |
Modified CAScrollLayer.scroll(to: CGRect)
Declaration | |
---|---|
From | func scrollToRect(_ r: CGRect) |
To | func scroll(to r: CGRect) |
Modified CAShapeLayer
Declaration | Protocols | Introduction | |
---|---|---|---|
From | class CAShapeLayer : CALayer { var path: CGPath? var fillColor: CGColor? var fillRule: String var strokeColor: CGColor? var strokeStart: CGFloat var strokeEnd: CGFloat var lineWidth: CGFloat var miterLimit: CGFloat var lineCap: String var lineJoin: String var lineDashPhase: CGFloat var lineDashPattern: [NSNumber]? } | -- | OS X 10.10 |
To | class CAShapeLayer : CALayer { var path: CGPath? var fillColor: CGColor? var fillRule: String var strokeColor: CGColor? var strokeStart: CGFloat var strokeEnd: CGFloat var lineWidth: CGFloat var miterLimit: CGFloat var lineCap: String var lineJoin: String var lineDashPhase: CGFloat var lineDashPattern: [NSNumber]? func scroll(_ p: CGPoint) func scrollRectToVisible(_ r: CGRect) var visibleRect: CGRect { get } init(remoteClientId client_id: UInt32) class func withRemoteClientId(_ client_id: UInt32) -> CALayer var constraints: [CAConstraint]? func addConstraint(_ c: CAConstraint) func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? 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 setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: 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 func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) 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 pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? } extension CAShapeLayer : CVarArg { } extension CAShapeLayer : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable | OS X 10.6 |
Modified CATextLayer
Declaration | Protocols | Introduction | |
---|---|---|---|
From | class CATextLayer : CALayer { @NSCopying var string: AnyObject? var font: AnyObject? var fontSize: CGFloat var foregroundColor: CGColor? var wrapped: Bool var truncationMode: String var alignmentMode: String var allowsFontSubpixelQuantization: Bool } | -- | OS X 10.10 |
To | class CATextLayer : CALayer { var string: Any? var font: CFTypeRef? var fontSize: CGFloat var foregroundColor: CGColor? var isWrapped: Bool var truncationMode: String var alignmentMode: String var allowsFontSubpixelQuantization: Bool func scroll(_ p: CGPoint) func scrollRectToVisible(_ r: CGRect) var visibleRect: CGRect { get } init(remoteClientId client_id: UInt32) class func withRemoteClientId(_ client_id: UInt32) -> CALayer var constraints: [CAConstraint]? func addConstraint(_ c: CAConstraint) func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? 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 setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: 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 func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) 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 pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? } extension CATextLayer : CVarArg { } extension CATextLayer : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable | OS X 10.5 |
Modified CATextLayer.font
Declaration | |
---|---|
From | var font: AnyObject? |
To | var font: CFTypeRef? |
Modified CATextLayer.isWrapped
Declaration | |
---|---|
From | var wrapped: Bool |
To | var isWrapped: Bool |
Modified CATextLayer.string
Declaration | |
---|---|
From | @NSCopying var string: AnyObject? |
To | var string: Any? |
Modified CATiledLayer
Declaration | Protocols | Introduction | |
---|---|---|---|
From | class CATiledLayer : CALayer { class func fadeDuration() -> CFTimeInterval var levelsOfDetail: Int var levelsOfDetailBias: Int var tileSize: CGSize } | -- | OS X 10.10 |
To | class CATiledLayer : CALayer { class func fadeDuration() -> CFTimeInterval var levelsOfDetail: Int var levelsOfDetailBias: Int var tileSize: CGSize func scroll(_ p: CGPoint) func scrollRectToVisible(_ r: CGRect) var visibleRect: CGRect { get } init(remoteClientId client_id: UInt32) class func withRemoteClientId(_ client_id: UInt32) -> CALayer var constraints: [CAConstraint]? func addConstraint(_ c: CAConstraint) func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? 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 setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: 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 func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) 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 pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? } extension CATiledLayer : CVarArg { } extension CATiledLayer : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable | OS X 10.5 |
Modified CATransaction
Declaration | Protocols | Introduction | |
---|---|---|---|
From | class CATransaction : NSObject { class func begin() class func commit() class func flush() class func lock() class func unlock() class func animationDuration() -> CFTimeInterval class func setAnimationDuration(_ dur: CFTimeInterval) class func animationTimingFunction() -> CAMediaTimingFunction? class func setAnimationTimingFunction(_ function: CAMediaTimingFunction?) class func disableActions() -> Bool class func setDisableActions(_ flag: Bool) class func completionBlock() -> (() -> Void)? class func setCompletionBlock(_ block: (() -> Void)?) class func valueForKey(_ key: String) -> AnyObject? class func setValue(_ anObject: AnyObject?, forKey key: String) } | -- | OS X 10.10 |
To | class CATransaction : NSObject { class func begin() class func commit() class func flush() class func lock() class func unlock() class func animationDuration() -> CFTimeInterval class func setAnimationDuration(_ dur: CFTimeInterval) class func animationTimingFunction() -> CAMediaTimingFunction? class func setAnimationTimingFunction(_ function: CAMediaTimingFunction?) class func disableActions() -> Bool class func setDisableActions(_ flag: Bool) class func completionBlock() -> (() -> Swift.Void)? class func setCompletionBlock(_ block: (@escaping () -> Swift.Void)?) class func value(forKey key: String) -> Any? class func setValue(_ anObject: Any?, forKey key: String) func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? 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 setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: 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 func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) 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 pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? } extension CATransaction : CVarArg { } extension CATransaction : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable | OS X 10.5 |
Declaration | |
---|---|
From | class func completionBlock() -> (() -> Void)? |
To | class func completionBlock() -> (() -> Swift.Void)? |
Declaration | |
---|---|
From | class func setCompletionBlock(_ block: (() -> Void)?) |
To | class func setCompletionBlock(_ block: (@escaping () -> Swift.Void)?) |
Declaration | |
---|---|
From | class func setValue(_ anObject: AnyObject?, forKey key: String) |
To | class func setValue(_ anObject: Any?, forKey key: String) |
Declaration | |
---|---|
From | class func valueForKey(_ key: String) -> AnyObject? |
To | class func value(forKey key: String) -> Any? |
Modified CATransformLayer
Declaration | Protocols | Introduction | |
---|---|---|---|
From | class CATransformLayer : CALayer { } | -- | OS X 10.10 |
To | class CATransformLayer : CALayer { func scroll(_ p: CGPoint) func scrollRectToVisible(_ r: CGRect) var visibleRect: CGRect { get } init(remoteClientId client_id: UInt32) class func withRemoteClientId(_ client_id: UInt32) -> CALayer var constraints: [CAConstraint]? func addConstraint(_ c: CAConstraint) func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? 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 setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: 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 func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) 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 pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? } extension CATransformLayer : CVarArg { } extension CATransformLayer : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable | OS X 10.6 |
Modified CATransition
Declaration | Introduction | |
---|---|---|
From | class CATransition : CAAnimation { var type: String var subtype: String? var startProgress: Float var endProgress: Float var filter: AnyObject? } | OS X 10.10 |
To | class CATransition : CAAnimation { var type: String var subtype: String? var startProgress: Float var endProgress: Float var filter: Any? } | OS X 10.5 |
Modified CATransition.filter
Declaration | |
---|---|
From | var filter: AnyObject? |
To | var filter: Any? |
Modified CAValueFunction
Declaration | Protocols | Introduction | |
---|---|---|---|
From | class CAValueFunction : NSObject, NSCoding { convenience init?(name name: String) class func functionWithName(_ name: String) -> Self? var name: String { get } } | NSCoding | OS X 10.10 |
To | class CAValueFunction : NSObject, NSCoding { convenience init?(name name: String) class func withName(_ name: String) -> Self? var name: String { get } func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? 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 setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: 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 func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) 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 pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? } extension CAValueFunction : CVarArg { } extension CAValueFunction : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding | OS X 10.6 |
Modified NSValue.caTransform3DValue
Declaration | |
---|---|
From | var CATransform3DValue: CATransform3D { get } |
To | var caTransform3DValue: CATransform3D { get } |
Declaration | |
---|---|
From | init(CATransform3D t: CATransform3D) |
To | init(caTransform3D t: CATransform3D) |