JavaScriptCore Changes for Swift
JavaScriptCore
Removed JSClassDefinition.init(version: Int32, attributes: JSClassAttributes, className: UnsafePointer<Int8>, parentClass: JSClassRef, staticValues: UnsafePointer<JSStaticValue>, staticFunctions: UnsafePointer<JSStaticFunction>, initialize: JSObjectInitializeCallback!, finalize: JSObjectFinalizeCallback!, hasProperty: JSObjectHasPropertyCallback!, getProperty: JSObjectGetPropertyCallback!, setProperty: JSObjectSetPropertyCallback!, deleteProperty: JSObjectDeletePropertyCallback!, getPropertyNames: JSObjectGetPropertyNamesCallback!, callAsFunction: JSObjectCallAsFunctionCallback!, callAsConstructor: JSObjectCallAsConstructorCallback!, hasInstance: JSObjectHasInstanceCallback!, convertToType: JSObjectConvertToTypeCallback!)
Removed JSStaticFunction.init(name: UnsafePointer<Int8>, callAsFunction: JSObjectCallAsFunctionCallback!, attributes: JSPropertyAttributes)
Removed JSStaticValue.init(name: UnsafePointer<Int8>, getProperty: JSObjectGetPropertyCallback!, setProperty: JSObjectSetPropertyCallback!, attributes: JSPropertyAttributes)
Added kJSTypedArrayTypeNone
Modified JSClassDefinition [struct]
| Declaration | |
|---|---|
| From | struct JSClassDefinition {
var version: Int32
var attributes: JSClassAttributes
var className: UnsafePointer<Int8>
var parentClass: JSClassRef
var staticValues: UnsafePointer<JSStaticValue>
var staticFunctions: UnsafePointer<JSStaticFunction>
var initialize: JSObjectInitializeCallback!
var finalize: JSObjectFinalizeCallback!
var hasProperty: JSObjectHasPropertyCallback!
var getProperty: JSObjectGetPropertyCallback!
var setProperty: JSObjectSetPropertyCallback!
var deleteProperty: JSObjectDeletePropertyCallback!
var getPropertyNames: JSObjectGetPropertyNamesCallback!
var callAsFunction: JSObjectCallAsFunctionCallback!
var callAsConstructor: JSObjectCallAsConstructorCallback!
var hasInstance: JSObjectHasInstanceCallback!
var convertToType: JSObjectConvertToTypeCallback!
init()
init(version version: Int32, attributes attributes: JSClassAttributes, className className: UnsafePointer<Int8>, parentClass parentClass: JSClassRef, staticValues staticValues: UnsafePointer<JSStaticValue>, staticFunctions staticFunctions: UnsafePointer<JSStaticFunction>, initialize initialize: JSObjectInitializeCallback!, finalize finalize: JSObjectFinalizeCallback!, hasProperty hasProperty: JSObjectHasPropertyCallback!, getProperty getProperty: JSObjectGetPropertyCallback!, setProperty setProperty: JSObjectSetPropertyCallback!, deleteProperty deleteProperty: JSObjectDeletePropertyCallback!, getPropertyNames getPropertyNames: JSObjectGetPropertyNamesCallback!, callAsFunction callAsFunction: JSObjectCallAsFunctionCallback!, callAsConstructor callAsConstructor: JSObjectCallAsConstructorCallback!, hasInstance hasInstance: JSObjectHasInstanceCallback!, convertToType convertToType: JSObjectConvertToTypeCallback!)
} |
| To | struct JSClassDefinition {
var version: Int32
var attributes: JSClassAttributes
var className: UnsafePointer<Int8>!
var parentClass: JSClassRef!
var staticValues: UnsafePointer<JSStaticValue>!
var staticFunctions: UnsafePointer<JSStaticFunction>!
var initialize: JavaScriptCore.JSObjectInitializeCallback!
var finalize: JavaScriptCore.JSObjectFinalizeCallback!
var hasProperty: JavaScriptCore.JSObjectHasPropertyCallback!
var getProperty: JavaScriptCore.JSObjectGetPropertyCallback!
var setProperty: JavaScriptCore.JSObjectSetPropertyCallback!
var deleteProperty: JavaScriptCore.JSObjectDeletePropertyCallback!
var getPropertyNames: JavaScriptCore.JSObjectGetPropertyNamesCallback!
var callAsFunction: JavaScriptCore.JSObjectCallAsFunctionCallback!
var callAsConstructor: JavaScriptCore.JSObjectCallAsConstructorCallback!
var hasInstance: JavaScriptCore.JSObjectHasInstanceCallback!
var convertToType: JavaScriptCore.JSObjectConvertToTypeCallback!
init()
init(version version: Int32, attributes attributes: JSClassAttributes, className className: UnsafePointer<Int8>!, parentClass parentClass: JSClassRef!, staticValues staticValues: UnsafePointer<JSStaticValue>!, staticFunctions staticFunctions: UnsafePointer<JSStaticFunction>!, initialize initialize: JavaScriptCore.JSObjectInitializeCallback!, finalize finalize: JavaScriptCore.JSObjectFinalizeCallback!, hasProperty hasProperty: JavaScriptCore.JSObjectHasPropertyCallback!, getProperty getProperty: JavaScriptCore.JSObjectGetPropertyCallback!, setProperty setProperty: JavaScriptCore.JSObjectSetPropertyCallback!, deleteProperty deleteProperty: JavaScriptCore.JSObjectDeletePropertyCallback!, getPropertyNames getPropertyNames: JavaScriptCore.JSObjectGetPropertyNamesCallback!, callAsFunction callAsFunction: JavaScriptCore.JSObjectCallAsFunctionCallback!, callAsConstructor callAsConstructor: JavaScriptCore.JSObjectCallAsConstructorCallback!, hasInstance hasInstance: JavaScriptCore.JSObjectHasInstanceCallback!, convertToType convertToType: JavaScriptCore.JSObjectConvertToTypeCallback!)
} |
Modified JSClassDefinition.callAsConstructor
| Declaration | |
|---|---|
| From | var callAsConstructor: JSObjectCallAsConstructorCallback! |
| To | var callAsConstructor: JavaScriptCore.JSObjectCallAsConstructorCallback! |
Modified JSClassDefinition.callAsFunction
| Declaration | |
|---|---|
| From | var callAsFunction: JSObjectCallAsFunctionCallback! |
| To | var callAsFunction: JavaScriptCore.JSObjectCallAsFunctionCallback! |
Modified JSClassDefinition.className
| Declaration | |
|---|---|
| From | var className: UnsafePointer<Int8> |
| To | var className: UnsafePointer<Int8>! |
Modified JSClassDefinition.convertToType
| Declaration | |
|---|---|
| From | var convertToType: JSObjectConvertToTypeCallback! |
| To | var convertToType: JavaScriptCore.JSObjectConvertToTypeCallback! |
Modified JSClassDefinition.deleteProperty
| Declaration | |
|---|---|
| From | var deleteProperty: JSObjectDeletePropertyCallback! |
| To | var deleteProperty: JavaScriptCore.JSObjectDeletePropertyCallback! |
Modified JSClassDefinition.finalize
| Declaration | |
|---|---|
| From | var finalize: JSObjectFinalizeCallback! |
| To | var finalize: JavaScriptCore.JSObjectFinalizeCallback! |
Modified JSClassDefinition.getProperty
| Declaration | |
|---|---|
| From | var getProperty: JSObjectGetPropertyCallback! |
| To | var getProperty: JavaScriptCore.JSObjectGetPropertyCallback! |
Modified JSClassDefinition.getPropertyNames
| Declaration | |
|---|---|
| From | var getPropertyNames: JSObjectGetPropertyNamesCallback! |
| To | var getPropertyNames: JavaScriptCore.JSObjectGetPropertyNamesCallback! |
Modified JSClassDefinition.hasInstance
| Declaration | |
|---|---|
| From | var hasInstance: JSObjectHasInstanceCallback! |
| To | var hasInstance: JavaScriptCore.JSObjectHasInstanceCallback! |
Modified JSClassDefinition.hasProperty
| Declaration | |
|---|---|
| From | var hasProperty: JSObjectHasPropertyCallback! |
| To | var hasProperty: JavaScriptCore.JSObjectHasPropertyCallback! |
Modified JSClassDefinition.initialize
| Declaration | |
|---|---|
| From | var initialize: JSObjectInitializeCallback! |
| To | var initialize: JavaScriptCore.JSObjectInitializeCallback! |
Modified JSClassDefinition.parentClass
| Declaration | |
|---|---|
| From | var parentClass: JSClassRef |
| To | var parentClass: JSClassRef! |
Modified JSClassDefinition.setProperty
| Declaration | |
|---|---|
| From | var setProperty: JSObjectSetPropertyCallback! |
| To | var setProperty: JavaScriptCore.JSObjectSetPropertyCallback! |
Modified JSClassDefinition.staticFunctions
| Declaration | |
|---|---|
| From | var staticFunctions: UnsafePointer<JSStaticFunction> |
| To | var staticFunctions: UnsafePointer<JSStaticFunction>! |
Modified JSClassDefinition.staticValues
| Declaration | |
|---|---|
| From | var staticValues: UnsafePointer<JSStaticValue> |
| To | var staticValues: UnsafePointer<JSStaticValue>! |
Modified JSContext
| Declaration | Protocols | |
|---|---|---|
| From | class JSContext : NSObject {
init!()
init!(virtualMachine virtualMachine: JSVirtualMachine!)
func evaluateScript(_ script: String!) -> JSValue!
func evaluateScript(_ script: String!, withSourceURL sourceURL: NSURL!) -> JSValue!
class func currentContext() -> JSContext!
class func currentCallee() -> JSValue!
class func currentThis() -> JSValue!
class func currentArguments() -> [AnyObject]!
var globalObject: JSValue! { get }
var exception: JSValue!
var exceptionHandler: ((JSContext!, JSValue!) -> Void)!
var virtualMachine: JSVirtualMachine! { get }
var name: String!
}
extension JSContext {
func objectForKeyedSubscript(_ key: AnyObject!) -> JSValue!
func setObject(_ object: AnyObject!, forKeyedSubscript key: protocol<NSCopying, NSObjectProtocol>!)
}
extension JSContext {
init!(JSGlobalContextRef jsGlobalContextRef: JSGlobalContextRef)
class func contextWithJSGlobalContextRef(_ jsGlobalContextRef: JSGlobalContextRef) -> JSContext!
var JSGlobalContextRef: JSGlobalContextRef { get }
} | -- |
| To | class JSContext : NSObject {
init!()
init!(virtualMachine virtualMachine: JSVirtualMachine!)
func evaluateScript(_ script: String!) -> JSValue!
func evaluateScript(_ script: String!, withSourceURL sourceURL: URL!) -> JSValue!
class func current() -> JSContext!
class func currentCallee() -> JSValue!
class func currentThis() -> JSValue!
class func currentArguments() -> [Any]!
var globalObject: JSValue! { get }
var exception: JSValue!
var exceptionHandler: ((JSContext?, JSValue?) -> Swift.Void)!
var virtualMachine: JSVirtualMachine! { get }
var name: String!
init!(jsGlobalContextRef jsGlobalContextRef: JSGlobalContextRef!)
class func withJSGlobalContextRef(_ jsGlobalContextRef: JSGlobalContextRef!) -> JSContext!
var jsGlobalContextRef: JSGlobalContextRef! { get }
func objectForKeyedSubscript(_ key: Any!) -> JSValue!
func setObject(_ object: Any!, forKeyedSubscript key: (NSCopying & NSObjectProtocol)!)
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 JSContext : CVarArg {
}
extension JSContext : Equatable, Hashable {
var hashValue: Int { get }
}
extension JSContext {
func objectForKeyedSubscript(_ key: Any!) -> JSValue!
func setObject(_ object: Any!, forKeyedSubscript key: (NSCopying & NSObjectProtocol)!)
}
extension JSContext {
init!(jsGlobalContextRef jsGlobalContextRef: JSGlobalContextRef!)
class func withJSGlobalContextRef(_ jsGlobalContextRef: JSGlobalContextRef!) -> JSContext!
var jsGlobalContextRef: JSGlobalContextRef! { get }
} | CVarArg, Equatable, Hashable |
| Declaration | |
|---|---|
| From | class func currentContext() -> JSContext! |
| To | class func current() -> JSContext! |
| Declaration | |
|---|---|
| From | class func currentArguments() -> [AnyObject]! |
| To | class func currentArguments() -> [Any]! |
| Declaration | |
|---|---|
| From | func evaluateScript(_ script: String!, withSourceURL sourceURL: NSURL!) -> JSValue! |
| To | func evaluateScript(_ script: String!, withSourceURL sourceURL: URL!) -> JSValue! |
Modified JSContext.exceptionHandler
| Declaration | |
|---|---|
| From | var exceptionHandler: ((JSContext!, JSValue!) -> Void)! |
| To | var exceptionHandler: ((JSContext?, JSValue?) -> Swift.Void)! |
| Declaration | |
|---|---|
| From | init!(JSGlobalContextRef jsGlobalContextRef: JSGlobalContextRef) |
| To | init!(jsGlobalContextRef jsGlobalContextRef: JSGlobalContextRef!) |
Modified JSContext.jsGlobalContextRef
| Declaration | |
|---|---|
| From | var JSGlobalContextRef: JSGlobalContextRef { get } |
| To | var jsGlobalContextRef: JSGlobalContextRef! { get } |
| Declaration | |
|---|---|
| From | func objectForKeyedSubscript(_ key: AnyObject!) -> JSValue! |
| To | func objectForKeyedSubscript(_ key: Any!) -> JSValue! |
| Declaration | |
|---|---|
| From | func setObject(_ object: AnyObject!, forKeyedSubscript key: protocol<NSCopying, NSObjectProtocol>!) |
| To | func setObject(_ object: Any!, forKeyedSubscript key: (NSCopying & NSObjectProtocol)!) |
Modified JSManagedValue
| Declaration | Protocols | |
|---|---|---|
| From | class JSManagedValue : NSObject {
init!(value value: JSValue!)
class func managedValueWithValue(_ value: JSValue!) -> JSManagedValue!
init!(value value: JSValue!, andOwner owner: AnyObject!)
class func managedValueWithValue(_ value: JSValue!, andOwner owner: AnyObject!) -> JSManagedValue!
init!(value value: JSValue!)
var value: JSValue! { get }
} | -- |
| To | class JSManagedValue : NSObject {
init!(value value: JSValue!)
class func withValue(_ value: JSValue!) -> JSManagedValue!
init!(value value: JSValue!, andOwner owner: Any!)
class func withValue(_ value: JSValue!, andOwner owner: Any!) -> JSManagedValue!
init!(value value: JSValue!)
var value: JSValue! { get }
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 JSManagedValue : CVarArg {
}
extension JSManagedValue : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
| Declaration | |
|---|---|
| From | init!(value value: JSValue!, andOwner owner: AnyObject!) |
| To | init!(value value: JSValue!, andOwner owner: Any!) |
Modified JSStaticFunction [struct]
| Declaration | |
|---|---|
| From | struct JSStaticFunction {
var name: UnsafePointer<Int8>
var callAsFunction: JSObjectCallAsFunctionCallback!
var attributes: JSPropertyAttributes
init()
init(name name: UnsafePointer<Int8>, callAsFunction callAsFunction: JSObjectCallAsFunctionCallback!, attributes attributes: JSPropertyAttributes)
} |
| To | struct JSStaticFunction {
var name: UnsafePointer<Int8>!
var callAsFunction: JavaScriptCore.JSObjectCallAsFunctionCallback!
var attributes: JSPropertyAttributes
init()
init(name name: UnsafePointer<Int8>!, callAsFunction callAsFunction: JavaScriptCore.JSObjectCallAsFunctionCallback!, attributes attributes: JSPropertyAttributes)
} |
Modified JSStaticFunction.callAsFunction
| Declaration | |
|---|---|
| From | var callAsFunction: JSObjectCallAsFunctionCallback! |
| To | var callAsFunction: JavaScriptCore.JSObjectCallAsFunctionCallback! |
Modified JSStaticFunction.name
| Declaration | |
|---|---|
| From | var name: UnsafePointer<Int8> |
| To | var name: UnsafePointer<Int8>! |
Modified JSStaticValue [struct]
| Declaration | |
|---|---|
| From | struct JSStaticValue {
var name: UnsafePointer<Int8>
var getProperty: JSObjectGetPropertyCallback!
var setProperty: JSObjectSetPropertyCallback!
var attributes: JSPropertyAttributes
init()
init(name name: UnsafePointer<Int8>, getProperty getProperty: JSObjectGetPropertyCallback!, setProperty setProperty: JSObjectSetPropertyCallback!, attributes attributes: JSPropertyAttributes)
} |
| To | struct JSStaticValue {
var name: UnsafePointer<Int8>!
var getProperty: JavaScriptCore.JSObjectGetPropertyCallback!
var setProperty: JavaScriptCore.JSObjectSetPropertyCallback!
var attributes: JSPropertyAttributes
init()
init(name name: UnsafePointer<Int8>!, getProperty getProperty: JavaScriptCore.JSObjectGetPropertyCallback!, setProperty setProperty: JavaScriptCore.JSObjectSetPropertyCallback!, attributes attributes: JSPropertyAttributes)
} |
Modified JSStaticValue.getProperty
| Declaration | |
|---|---|
| From | var getProperty: JSObjectGetPropertyCallback! |
| To | var getProperty: JavaScriptCore.JSObjectGetPropertyCallback! |
Modified JSStaticValue.name
| Declaration | |
|---|---|
| From | var name: UnsafePointer<Int8> |
| To | var name: UnsafePointer<Int8>! |
Modified JSStaticValue.setProperty
| Declaration | |
|---|---|
| From | var setProperty: JSObjectSetPropertyCallback! |
| To | var setProperty: JavaScriptCore.JSObjectSetPropertyCallback! |
Modified JSValue
| Declaration | Protocols | |
|---|---|---|
| From | class JSValue : NSObject {
var context: JSContext! { get }
init!(object value: AnyObject!, inContext context: JSContext!)
class func valueWithObject(_ value: AnyObject!, inContext context: JSContext!) -> JSValue!
init!(bool value: Bool, inContext context: JSContext!)
class func valueWithBool(_ value: Bool, inContext context: JSContext!) -> JSValue!
init!(double value: Double, inContext context: JSContext!)
class func valueWithDouble(_ value: Double, inContext context: JSContext!) -> JSValue!
init!(int32 value: Int32, inContext context: JSContext!)
class func valueWithInt32(_ value: Int32, inContext context: JSContext!) -> JSValue!
init!(UInt32 value: UInt32, inContext context: JSContext!)
class func valueWithUInt32(_ value: UInt32, inContext context: JSContext!) -> JSValue!
init!(newObjectInContext context: JSContext!)
class func valueWithNewObjectInContext(_ context: JSContext!) -> JSValue!
init!(newArrayInContext context: JSContext!)
class func valueWithNewArrayInContext(_ context: JSContext!) -> JSValue!
init!(newRegularExpressionFromPattern pattern: String!, flags flags: String!, inContext context: JSContext!)
class func valueWithNewRegularExpressionFromPattern(_ pattern: String!, flags flags: String!, inContext context: JSContext!) -> JSValue!
init!(newErrorFromMessage message: String!, inContext context: JSContext!)
class func valueWithNewErrorFromMessage(_ message: String!, inContext context: JSContext!) -> JSValue!
init!(nullInContext context: JSContext!)
class func valueWithNullInContext(_ context: JSContext!) -> JSValue!
init!(undefinedInContext context: JSContext!)
class func valueWithUndefinedInContext(_ context: JSContext!) -> JSValue!
func toObject() -> AnyObject!
func toObjectOfClass(_ expectedClass: AnyClass!) -> AnyObject!
func toBool() -> Bool
func toDouble() -> Double
func toInt32() -> Int32
func toUInt32() -> UInt32
func toNumber() -> NSNumber!
func toString() -> String!
func toDate() -> NSDate!
func toArray() -> [AnyObject]!
func toDictionary() -> [NSObject : AnyObject]!
func valueForProperty(_ property: String!) -> JSValue!
func setValue(_ value: AnyObject!, forProperty property: String!)
func deleteProperty(_ property: String!) -> Bool
func hasProperty(_ property: String!) -> Bool
func defineProperty(_ property: String!, descriptor descriptor: AnyObject!)
func valueAtIndex(_ index: Int) -> JSValue!
func setValue(_ value: AnyObject!, atIndex index: Int)
var isUndefined: Bool { get }
var isNull: Bool { get }
var isBoolean: Bool { get }
var isNumber: Bool { get }
var isString: Bool { get }
var isObject: Bool { get }
var isArray: Bool { get }
var isDate: Bool { get }
func isEqualToObject(_ value: AnyObject!) -> Bool
func isEqualWithTypeCoercionToObject(_ value: AnyObject!) -> Bool
func isInstanceOf(_ value: AnyObject!) -> Bool
func callWithArguments(_ arguments: [AnyObject]!) -> JSValue!
func constructWithArguments(_ arguments: [AnyObject]!) -> JSValue!
func invokeMethod(_ method: String!, withArguments arguments: [AnyObject]!) -> JSValue!
}
extension JSValue {
init!(point point: CGPoint, inContext context: JSContext!)
class func valueWithPoint(_ point: CGPoint, inContext context: JSContext!) -> JSValue!
init!(range range: NSRange, inContext context: JSContext!)
class func valueWithRange(_ range: NSRange, inContext context: JSContext!) -> JSValue!
init!(rect rect: CGRect, inContext context: JSContext!)
class func valueWithRect(_ rect: CGRect, inContext context: JSContext!) -> JSValue!
init!(size size: CGSize, inContext context: JSContext!)
class func valueWithSize(_ size: CGSize, inContext context: JSContext!) -> JSValue!
func toPoint() -> CGPoint
func toRange() -> NSRange
func toRect() -> CGRect
func toSize() -> CGSize
}
extension JSValue {
func objectForKeyedSubscript(_ key: AnyObject!) -> JSValue!
func objectAtIndexedSubscript(_ index: Int) -> JSValue!
func setObject(_ object: AnyObject!, forKeyedSubscript key: protocol<NSCopying, NSObjectProtocol>!)
func setObject(_ object: AnyObject!, atIndexedSubscript index: Int)
}
extension JSValue {
init!(JSValueRef value: JSValueRef, inContext context: JSContext!)
class func valueWithJSValueRef(_ value: JSValueRef, inContext context: JSContext!) -> JSValue!
var JSValueRef: JSValueRef { get }
} | -- |
| To | class JSValue : NSObject {
var context: JSContext! { get }
init!(object value: Any!, in context: JSContext!)
class func withObject(_ value: Any!, in context: JSContext!) -> JSValue!
init!(bool value: Bool, in context: JSContext!)
class func withBool(_ value: Bool, in context: JSContext!) -> JSValue!
init!(double value: Double, in context: JSContext!)
class func withDouble(_ value: Double, in context: JSContext!) -> JSValue!
init!(int32 value: Int32, in context: JSContext!)
class func withInt32(_ value: Int32, in context: JSContext!) -> JSValue!
init!(uInt32 value: UInt32, in context: JSContext!)
class func withUInt32(_ value: UInt32, in context: JSContext!) -> JSValue!
init!(newObjectIn context: JSContext!)
class func withNewObject(in context: JSContext!) -> JSValue!
init!(newArrayIn context: JSContext!)
class func withNewArray(in context: JSContext!) -> JSValue!
init!(newRegularExpressionFromPattern pattern: String!, flags flags: String!, in context: JSContext!)
class func withNewRegularExpression(fromPattern pattern: String!, flags flags: String!, in context: JSContext!) -> JSValue!
init!(newErrorFromMessage message: String!, in context: JSContext!)
class func withNewError(fromMessage message: String!, in context: JSContext!) -> JSValue!
init!(nullIn context: JSContext!)
class func withNullIn(_ context: JSContext!) -> JSValue!
init!(undefinedIn context: JSContext!)
class func withUndefinedIn(_ context: JSContext!) -> JSValue!
func toObject() -> Any!
func toObjectOf(_ expectedClass: Swift.AnyClass!) -> Any!
func toBool() -> Bool
func toDouble() -> Double
func toInt32() -> Int32
func toUInt32() -> UInt32
func toNumber() -> NSNumber!
func toString() -> String!
func toDate() -> Date!
func toArray() -> [Any]!
func toDictionary() -> [AnyHashable : Any]!
func forProperty(_ property: String!) -> JSValue!
func setValue(_ value: Any!, forProperty property: String!)
func deleteProperty(_ property: String!) -> Bool
func hasProperty(_ property: String!) -> Bool
func defineProperty(_ property: String!, descriptor descriptor: Any!)
func atIndex(_ index: Int) -> JSValue!
func setValue(_ value: Any!, at index: Int)
var isUndefined: Bool { get }
var isNull: Bool { get }
var isBoolean: Bool { get }
var isNumber: Bool { get }
var isString: Bool { get }
var isObject: Bool { get }
var isArray: Bool { get }
var isDate: Bool { get }
func isEqual(to value: Any!) -> Bool
func isEqualWithTypeCoercion(to value: Any!) -> Bool
func isInstance(of value: Any!) -> Bool
func call(withArguments arguments: [Any]!) -> JSValue!
func construct(withArguments arguments: [Any]!) -> JSValue!
func invokeMethod(_ method: String!, withArguments arguments: [Any]!) -> JSValue!
init!(jsValueRef value: JSValueRef!, in context: JSContext!)
class func withJSValueRef(_ value: JSValueRef!, in context: JSContext!) -> JSValue!
var jsValueRef: JSValueRef! { get }
func objectForKeyedSubscript(_ key: Any!) -> JSValue!
func objectAtIndexedSubscript(_ index: Int) -> JSValue!
func setObject(_ object: Any!, forKeyedSubscript key: (NSCopying & NSObjectProtocol)!)
func setObject(_ object: Any!, atIndexedSubscript index: Int)
init!(point point: CGPoint, in context: JSContext!)
class func withPoint(_ point: CGPoint, in context: JSContext!) -> JSValue!
init!(range range: NSRange, in context: JSContext!)
class func withRange(_ range: NSRange, in context: JSContext!) -> JSValue!
init!(rect rect: CGRect, in context: JSContext!)
class func withRect(_ rect: CGRect, in context: JSContext!) -> JSValue!
init!(size size: CGSize, in context: JSContext!)
class func withSize(_ size: CGSize, in context: JSContext!) -> JSValue!
func toPoint() -> CGPoint
func toRange() -> NSRange
func toRect() -> CGRect
func toSize() -> CGSize
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 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 JSValue : CVarArg {
}
extension JSValue : Equatable, Hashable {
var hashValue: Int { get }
}
extension JSValue {
init!(point point: CGPoint, in context: JSContext!)
class func withPoint(_ point: CGPoint, in context: JSContext!) -> JSValue!
init!(range range: NSRange, in context: JSContext!)
class func withRange(_ range: NSRange, in context: JSContext!) -> JSValue!
init!(rect rect: CGRect, in context: JSContext!)
class func withRect(_ rect: CGRect, in context: JSContext!) -> JSValue!
init!(size size: CGSize, in context: JSContext!)
class func withSize(_ size: CGSize, in context: JSContext!) -> JSValue!
func toPoint() -> CGPoint
func toRange() -> NSRange
func toRect() -> CGRect
func toSize() -> CGSize
}
extension JSValue {
func objectForKeyedSubscript(_ key: Any!) -> JSValue!
func objectAtIndexedSubscript(_ index: Int) -> JSValue!
func setObject(_ object: Any!, forKeyedSubscript key: (NSCopying & NSObjectProtocol)!)
func setObject(_ object: Any!, atIndexedSubscript index: Int)
}
extension JSValue {
init!(jsValueRef value: JSValueRef!, in context: JSContext!)
class func withJSValueRef(_ value: JSValueRef!, in context: JSContext!) -> JSValue!
var jsValueRef: JSValueRef! { get }
} | CVarArg, Equatable, Hashable |
Modified JSValue.atIndex(_: Int) -> JSValue!
| Declaration | |
|---|---|
| From | func valueAtIndex(_ index: Int) -> JSValue! |
| To | func atIndex(_ index: Int) -> JSValue! |
| Declaration | |
|---|---|
| From | func callWithArguments(_ arguments: [AnyObject]!) -> JSValue! |
| To | func call(withArguments arguments: [Any]!) -> JSValue! |
| Declaration | |
|---|---|
| From | func constructWithArguments(_ arguments: [AnyObject]!) -> JSValue! |
| To | func construct(withArguments arguments: [Any]!) -> JSValue! |
| Declaration | |
|---|---|
| From | func defineProperty(_ property: String!, descriptor descriptor: AnyObject!) |
| To | func defineProperty(_ property: String!, descriptor descriptor: Any!) |
| Declaration | |
|---|---|
| From | func valueForProperty(_ property: String!) -> JSValue! |
| To | func forProperty(_ property: String!) -> JSValue! |
| Declaration | |
|---|---|
| From | init!(bool value: Bool, inContext context: JSContext!) |
| To | init!(bool value: Bool, in context: JSContext!) |
| Declaration | |
|---|---|
| From | init!(double value: Double, inContext context: JSContext!) |
| To | init!(double value: Double, in context: JSContext!) |
| Declaration | |
|---|---|
| From | init!(int32 value: Int32, inContext context: JSContext!) |
| To | init!(int32 value: Int32, in context: JSContext!) |
| Declaration | |
|---|---|
| From | init!(JSValueRef value: JSValueRef, inContext context: JSContext!) |
| To | init!(jsValueRef value: JSValueRef!, in context: JSContext!) |
Modified JSValue.init(newArrayIn: JSContext!)
| Declaration | |
|---|---|
| From | init!(newArrayInContext context: JSContext!) |
| To | init!(newArrayIn context: JSContext!) |
| Declaration | |
|---|---|
| From | init!(newErrorFromMessage message: String!, inContext context: JSContext!) |
| To | init!(newErrorFromMessage message: String!, in context: JSContext!) |
| Declaration | |
|---|---|
| From | init!(newObjectInContext context: JSContext!) |
| To | init!(newObjectIn context: JSContext!) |
| Declaration | |
|---|---|
| From | init!(newRegularExpressionFromPattern pattern: String!, flags flags: String!, inContext context: JSContext!) |
| To | init!(newRegularExpressionFromPattern pattern: String!, flags flags: String!, in context: JSContext!) |
Modified JSValue.init(nullIn: JSContext!)
| Declaration | |
|---|---|
| From | init!(nullInContext context: JSContext!) |
| To | init!(nullIn context: JSContext!) |
| Declaration | |
|---|---|
| From | init!(object value: AnyObject!, inContext context: JSContext!) |
| To | init!(object value: Any!, in context: JSContext!) |
| Declaration | |
|---|---|
| From | init!(point point: CGPoint, inContext context: JSContext!) |
| To | init!(point point: CGPoint, in context: JSContext!) |
| Declaration | |
|---|---|
| From | init!(range range: NSRange, inContext context: JSContext!) |
| To | init!(range range: NSRange, in context: JSContext!) |
| Declaration | |
|---|---|
| From | init!(rect rect: CGRect, inContext context: JSContext!) |
| To | init!(rect rect: CGRect, in context: JSContext!) |
| Declaration | |
|---|---|
| From | init!(size size: CGSize, inContext context: JSContext!) |
| To | init!(size size: CGSize, in context: JSContext!) |
| Declaration | |
|---|---|
| From | init!(UInt32 value: UInt32, inContext context: JSContext!) |
| To | init!(uInt32 value: UInt32, in context: JSContext!) |
| Declaration | |
|---|---|
| From | init!(undefinedInContext context: JSContext!) |
| To | init!(undefinedIn context: JSContext!) |
| Declaration | |
|---|---|
| From | func invokeMethod(_ method: String!, withArguments arguments: [AnyObject]!) -> JSValue! |
| To | func invokeMethod(_ method: String!, withArguments arguments: [Any]!) -> JSValue! |
Modified JSValue.isEqual(to: Any!) -> Bool
| Declaration | |
|---|---|
| From | func isEqualToObject(_ value: AnyObject!) -> Bool |
| To | func isEqual(to value: Any!) -> Bool |
| Declaration | |
|---|---|
| From | func isEqualWithTypeCoercionToObject(_ value: AnyObject!) -> Bool |
| To | func isEqualWithTypeCoercion(to value: Any!) -> Bool |
Modified JSValue.isInstance(of: Any!) -> Bool
| Declaration | |
|---|---|
| From | func isInstanceOf(_ value: AnyObject!) -> Bool |
| To | func isInstance(of value: Any!) -> Bool |
Modified JSValue.jsValueRef
| Declaration | |
|---|---|
| From | var JSValueRef: JSValueRef { get } |
| To | var jsValueRef: JSValueRef! { get } |
| Declaration | |
|---|---|
| From | func objectForKeyedSubscript(_ key: AnyObject!) -> JSValue! |
| To | func objectForKeyedSubscript(_ key: Any!) -> JSValue! |
| Declaration | |
|---|---|
| From | func setObject(_ object: AnyObject!, atIndexedSubscript index: Int) |
| To | func setObject(_ object: Any!, atIndexedSubscript index: Int) |
| Declaration | |
|---|---|
| From | func setObject(_ object: AnyObject!, forKeyedSubscript key: protocol<NSCopying, NSObjectProtocol>!) |
| To | func setObject(_ object: Any!, forKeyedSubscript key: (NSCopying & NSObjectProtocol)!) |
Modified JSValue.setValue(_: Any!, at: Int)
| Declaration | |
|---|---|
| From | func setValue(_ value: AnyObject!, atIndex index: Int) |
| To | func setValue(_ value: Any!, at index: Int) |
| Declaration | |
|---|---|
| From | func setValue(_ value: AnyObject!, forProperty property: String!) |
| To | func setValue(_ value: Any!, forProperty property: String!) |
Modified JSValue.toArray() -> [Any]!
| Declaration | |
|---|---|
| From | func toArray() -> [AnyObject]! |
| To | func toArray() -> [Any]! |
Modified JSValue.toDate() -> Date!
| Declaration | |
|---|---|
| From | func toDate() -> NSDate! |
| To | func toDate() -> Date! |
| Declaration | |
|---|---|
| From | func toDictionary() -> [NSObject : AnyObject]! |
| To | func toDictionary() -> [AnyHashable : Any]! |
Modified JSValue.toObject() -> Any!
| Declaration | |
|---|---|
| From | func toObject() -> AnyObject! |
| To | func toObject() -> Any! |
| Declaration | |
|---|---|
| From | func toObjectOfClass(_ expectedClass: AnyClass!) -> AnyObject! |
| To | func toObjectOf(_ expectedClass: Swift.AnyClass!) -> Any! |
Modified JSVirtualMachine
| Declaration | Protocols | |
|---|---|---|
| From | class JSVirtualMachine : NSObject {
init!()
func addManagedReference(_ object: AnyObject!, withOwner owner: AnyObject!)
func removeManagedReference(_ object: AnyObject!, withOwner owner: AnyObject!)
} | -- |
| To | class JSVirtualMachine : NSObject {
init!()
func addManagedReference(_ object: Any!, withOwner owner: Any!)
func removeManagedReference(_ object: Any!, withOwner owner: 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 JSVirtualMachine : CVarArg {
}
extension JSVirtualMachine : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
| Declaration | |
|---|---|
| From | func addManagedReference(_ object: AnyObject!, withOwner owner: AnyObject!) |
| To | func addManagedReference(_ object: Any!, withOwner owner: Any!) |
| Declaration | |
|---|---|
| From | func removeManagedReference(_ object: AnyObject!, withOwner owner: AnyObject!) |
| To | func removeManagedReference(_ object: Any!, withOwner owner: Any!) |
| Declaration | |
|---|---|
| From | func JSCheckScriptSyntax(_ ctx: JSContextRef, _ script: JSStringRef, _ sourceURL: JSStringRef, _ startingLineNumber: Int32, _ exception: UnsafeMutablePointer<JSValueRef>) -> Bool |
| To | func JSCheckScriptSyntax(_ ctx: JSContextRef!, _ script: JSStringRef!, _ sourceURL: JSStringRef!, _ startingLineNumber: Int32, _ exception: UnsafeMutablePointer<JSValueRef?>!) -> Bool |
| Declaration | |
|---|---|
| From | func JSClassCreate(_ definition: UnsafePointer<JSClassDefinition>) -> JSClassRef |
| To | func JSClassCreate(_ definition: UnsafePointer<JSClassDefinition>!) -> JSClassRef! |
Modified JSClassRef
| Declaration | |
|---|---|
| From | typealias JSClassRef = COpaquePointer |
| To | typealias JSClassRef = OpaquePointer |
Modified JSClassRelease(_: JSClassRef!)
| Declaration | |
|---|---|
| From | func JSClassRelease(_ jsClass: JSClassRef) |
| To | func JSClassRelease(_ jsClass: JSClassRef!) |
| Declaration | |
|---|---|
| From | func JSClassRetain(_ jsClass: JSClassRef) -> JSClassRef |
| To | func JSClassRetain(_ jsClass: JSClassRef!) -> JSClassRef! |
| Declaration | |
|---|---|
| From | func JSContextGetGlobalContext(_ ctx: JSContextRef) -> JSGlobalContextRef |
| To | func JSContextGetGlobalContext(_ ctx: JSContextRef!) -> JSGlobalContextRef! |
| Declaration | |
|---|---|
| From | func JSContextGetGlobalObject(_ ctx: JSContextRef) -> JSObjectRef |
| To | func JSContextGetGlobalObject(_ ctx: JSContextRef!) -> JSObjectRef! |
| Declaration | |
|---|---|
| From | func JSContextGetGroup(_ ctx: JSContextRef) -> JSContextGroupRef |
| To | func JSContextGetGroup(_ ctx: JSContextRef!) -> JSContextGroupRef! |
| Declaration | |
|---|---|
| From | func JSContextGroupCreate() -> JSContextGroupRef |
| To | func JSContextGroupCreate() -> JSContextGroupRef! |
Modified JSContextGroupRef
| Declaration | |
|---|---|
| From | typealias JSContextGroupRef = COpaquePointer |
| To | typealias JSContextGroupRef = OpaquePointer |
| Declaration | |
|---|---|
| From | func JSContextGroupRelease(_ group: JSContextGroupRef) |
| To | func JSContextGroupRelease(_ group: JSContextGroupRef!) |
| Declaration | |
|---|---|
| From | func JSContextGroupRetain(_ group: JSContextGroupRef) -> JSContextGroupRef |
| To | func JSContextGroupRetain(_ group: JSContextGroupRef!) -> JSContextGroupRef! |
Modified JSContextRef
| Declaration | |
|---|---|
| From | typealias JSContextRef = COpaquePointer |
| To | typealias JSContextRef = OpaquePointer |
| Declaration | |
|---|---|
| From | func JSEvaluateScript(_ ctx: JSContextRef, _ script: JSStringRef, _ thisObject: JSObjectRef, _ sourceURL: JSStringRef, _ startingLineNumber: Int32, _ exception: UnsafeMutablePointer<JSValueRef>) -> JSValueRef |
| To | func JSEvaluateScript(_ ctx: JSContextRef!, _ script: JSStringRef!, _ thisObject: JSObjectRef!, _ sourceURL: JSStringRef!, _ startingLineNumber: Int32, _ exception: UnsafeMutablePointer<JSValueRef?>!) -> JSValueRef! |
Modified JSGarbageCollect(_: JSContextRef!)
| Declaration | |
|---|---|
| From | func JSGarbageCollect(_ ctx: JSContextRef) |
| To | func JSGarbageCollect(_ ctx: JSContextRef!) |
| Declaration | |
|---|---|
| From | func JSGlobalContextCopyName(_ ctx: JSGlobalContextRef) -> JSStringRef |
| To | func JSGlobalContextCopyName(_ ctx: JSGlobalContextRef!) -> JSStringRef! |
| Declaration | |
|---|---|
| From | func JSGlobalContextCreate(_ globalObjectClass: JSClassRef) -> JSGlobalContextRef |
| To | func JSGlobalContextCreate(_ globalObjectClass: JSClassRef!) -> JSGlobalContextRef! |
| Declaration | |
|---|---|
| From | func JSGlobalContextCreateInGroup(_ group: JSContextGroupRef, _ globalObjectClass: JSClassRef) -> JSGlobalContextRef |
| To | func JSGlobalContextCreateInGroup(_ group: JSContextGroupRef!, _ globalObjectClass: JSClassRef!) -> JSGlobalContextRef! |
Modified JSGlobalContextRef
| Declaration | |
|---|---|
| From | typealias JSGlobalContextRef = COpaquePointer |
| To | typealias JSGlobalContextRef = OpaquePointer |
| Declaration | |
|---|---|
| From | func JSGlobalContextRelease(_ ctx: JSGlobalContextRef) |
| To | func JSGlobalContextRelease(_ ctx: JSGlobalContextRef!) |
| Declaration | |
|---|---|
| From | func JSGlobalContextRetain(_ ctx: JSGlobalContextRef) -> JSGlobalContextRef |
| To | func JSGlobalContextRetain(_ ctx: JSGlobalContextRef!) -> JSGlobalContextRef! |
| Declaration | |
|---|---|
| From | func JSGlobalContextSetName(_ ctx: JSGlobalContextRef, _ name: JSStringRef) |
| To | func JSGlobalContextSetName(_ ctx: JSGlobalContextRef!, _ name: JSStringRef!) |
| Declaration | |
|---|---|
| From | func JSObjectCallAsConstructor(_ ctx: JSContextRef, _ object: JSObjectRef, _ argumentCount: Int, _ arguments: UnsafePointer<JSValueRef>, _ exception: UnsafeMutablePointer<JSValueRef>) -> JSObjectRef |
| To | func JSObjectCallAsConstructor(_ ctx: JSContextRef!, _ object: JSObjectRef!, _ argumentCount: Int, _ arguments: UnsafePointer<JSValueRef?>!, _ exception: UnsafeMutablePointer<JSValueRef?>!) -> JSObjectRef! |
Modified JSObjectCallAsConstructorCallback
| Declaration | |
|---|---|
| From | typealias JSObjectCallAsConstructorCallback = (JSContextRef, JSObjectRef, Int, UnsafePointer<JSValueRef>, UnsafeMutablePointer<JSValueRef>) -> JSObjectRef |
| To | typealias JSObjectCallAsConstructorCallback = (JSContextRef?, JSObjectRef?, Int, UnsafePointer<JSValueRef?>?, UnsafeMutablePointer<JSValueRef?>?) -> JSObjectRef? |
| Declaration | |
|---|---|
| From | func JSObjectCallAsFunction(_ ctx: JSContextRef, _ object: JSObjectRef, _ thisObject: JSObjectRef, _ argumentCount: Int, _ arguments: UnsafePointer<JSValueRef>, _ exception: UnsafeMutablePointer<JSValueRef>) -> JSValueRef |
| To | func JSObjectCallAsFunction(_ ctx: JSContextRef!, _ object: JSObjectRef!, _ thisObject: JSObjectRef!, _ argumentCount: Int, _ arguments: UnsafePointer<JSValueRef?>!, _ exception: UnsafeMutablePointer<JSValueRef?>!) -> JSValueRef! |
Modified JSObjectCallAsFunctionCallback
| Declaration | |
|---|---|
| From | typealias JSObjectCallAsFunctionCallback = (JSContextRef, JSObjectRef, JSObjectRef, Int, UnsafePointer<JSValueRef>, UnsafeMutablePointer<JSValueRef>) -> JSValueRef |
| To | typealias JSObjectCallAsFunctionCallback = (JSContextRef?, JSObjectRef?, JSObjectRef?, Int, UnsafePointer<JSValueRef?>?, UnsafeMutablePointer<JSValueRef?>?) -> JSValueRef? |
Modified JSObjectConvertToTypeCallback
| Declaration | |
|---|---|
| From | typealias JSObjectConvertToTypeCallback = (JSContextRef, JSObjectRef, JSType, UnsafeMutablePointer<JSValueRef>) -> JSValueRef |
| To | typealias JSObjectConvertToTypeCallback = (JSContextRef?, JSObjectRef?, JSType, UnsafeMutablePointer<JSValueRef?>?) -> JSValueRef? |
| Declaration | |
|---|---|
| From | func JSObjectCopyPropertyNames(_ ctx: JSContextRef, _ object: JSObjectRef) -> JSPropertyNameArrayRef |
| To | func JSObjectCopyPropertyNames(_ ctx: JSContextRef!, _ object: JSObjectRef!) -> JSPropertyNameArrayRef! |
| Declaration | |
|---|---|
| From | func JSObjectDeleteProperty(_ ctx: JSContextRef, _ object: JSObjectRef, _ propertyName: JSStringRef, _ exception: UnsafeMutablePointer<JSValueRef>) -> Bool |
| To | func JSObjectDeleteProperty(_ ctx: JSContextRef!, _ object: JSObjectRef!, _ propertyName: JSStringRef!, _ exception: UnsafeMutablePointer<JSValueRef?>!) -> Bool |
Modified JSObjectDeletePropertyCallback
| Declaration | |
|---|---|
| From | typealias JSObjectDeletePropertyCallback = (JSContextRef, JSObjectRef, JSStringRef, UnsafeMutablePointer<JSValueRef>) -> Bool |
| To | typealias JSObjectDeletePropertyCallback = (JSContextRef?, JSObjectRef?, JSStringRef?, UnsafeMutablePointer<JSValueRef?>?) -> Bool |
Modified JSObjectFinalizeCallback
| Declaration | |
|---|---|
| From | typealias JSObjectFinalizeCallback = (JSObjectRef) -> Void |
| To | typealias JSObjectFinalizeCallback = (JSObjectRef?) -> Swift.Void |
| Declaration | |
|---|---|
| From | func JSObjectGetPrivate(_ object: JSObjectRef) -> UnsafeMutablePointer<Void> |
| To | func JSObjectGetPrivate(_ object: JSObjectRef!) -> UnsafeMutableRawPointer! |
| Declaration | |
|---|---|
| From | func JSObjectGetProperty(_ ctx: JSContextRef, _ object: JSObjectRef, _ propertyName: JSStringRef, _ exception: UnsafeMutablePointer<JSValueRef>) -> JSValueRef |
| To | func JSObjectGetProperty(_ ctx: JSContextRef!, _ object: JSObjectRef!, _ propertyName: JSStringRef!, _ exception: UnsafeMutablePointer<JSValueRef?>!) -> JSValueRef! |
| Declaration | |
|---|---|
| From | func JSObjectGetPropertyAtIndex(_ ctx: JSContextRef, _ object: JSObjectRef, _ propertyIndex: UInt32, _ exception: UnsafeMutablePointer<JSValueRef>) -> JSValueRef |
| To | func JSObjectGetPropertyAtIndex(_ ctx: JSContextRef!, _ object: JSObjectRef!, _ propertyIndex: UInt32, _ exception: UnsafeMutablePointer<JSValueRef?>!) -> JSValueRef! |
Modified JSObjectGetPropertyCallback
| Declaration | |
|---|---|
| From | typealias JSObjectGetPropertyCallback = (JSContextRef, JSObjectRef, JSStringRef, UnsafeMutablePointer<JSValueRef>) -> JSValueRef |
| To | typealias JSObjectGetPropertyCallback = (JSContextRef?, JSObjectRef?, JSStringRef?, UnsafeMutablePointer<JSValueRef?>?) -> JSValueRef? |
Modified JSObjectGetPropertyNamesCallback
| Declaration | |
|---|---|
| From | typealias JSObjectGetPropertyNamesCallback = (JSContextRef, JSObjectRef, JSPropertyNameAccumulatorRef) -> Void |
| To | typealias JSObjectGetPropertyNamesCallback = (JSContextRef?, JSObjectRef?, JSPropertyNameAccumulatorRef?) -> Swift.Void |
| Declaration | |
|---|---|
| From | func JSObjectGetPrototype(_ ctx: JSContextRef, _ object: JSObjectRef) -> JSValueRef |
| To | func JSObjectGetPrototype(_ ctx: JSContextRef!, _ object: JSObjectRef!) -> JSValueRef! |
Modified JSObjectHasInstanceCallback
| Declaration | |
|---|---|
| From | typealias JSObjectHasInstanceCallback = (JSContextRef, JSObjectRef, JSValueRef, UnsafeMutablePointer<JSValueRef>) -> Bool |
| To | typealias JSObjectHasInstanceCallback = (JSContextRef?, JSObjectRef?, JSValueRef?, UnsafeMutablePointer<JSValueRef?>?) -> Bool |
| Declaration | |
|---|---|
| From | func JSObjectHasProperty(_ ctx: JSContextRef, _ object: JSObjectRef, _ propertyName: JSStringRef) -> Bool |
| To | func JSObjectHasProperty(_ ctx: JSContextRef!, _ object: JSObjectRef!, _ propertyName: JSStringRef!) -> Bool |
Modified JSObjectHasPropertyCallback
| Declaration | |
|---|---|
| From | typealias JSObjectHasPropertyCallback = (JSContextRef, JSObjectRef, JSStringRef) -> Bool |
| To | typealias JSObjectHasPropertyCallback = (JSContextRef?, JSObjectRef?, JSStringRef?) -> Bool |
Modified JSObjectInitializeCallback
| Declaration | |
|---|---|
| From | typealias JSObjectInitializeCallback = (JSContextRef, JSObjectRef) -> Void |
| To | typealias JSObjectInitializeCallback = (JSContextRef?, JSObjectRef?) -> Swift.Void |
| Declaration | |
|---|---|
| From | func JSObjectIsConstructor(_ ctx: JSContextRef, _ object: JSObjectRef) -> Bool |
| To | func JSObjectIsConstructor(_ ctx: JSContextRef!, _ object: JSObjectRef!) -> Bool |
| Declaration | |
|---|---|
| From | func JSObjectIsFunction(_ ctx: JSContextRef, _ object: JSObjectRef) -> Bool |
| To | func JSObjectIsFunction(_ ctx: JSContextRef!, _ object: JSObjectRef!) -> Bool |
Modified JSObjectMake(_: JSContextRef!, _: JSClassRef!, _: UnsafeMutableRawPointer!) -> JSObjectRef!
| Declaration | |
|---|---|
| From | func JSObjectMake(_ ctx: JSContextRef, _ jsClass: JSClassRef, _ data: UnsafeMutablePointer<Void>) -> JSObjectRef |
| To | func JSObjectMake(_ ctx: JSContextRef!, _ jsClass: JSClassRef!, _ data: UnsafeMutableRawPointer!) -> JSObjectRef! |
| Declaration | |
|---|---|
| From | func JSObjectMakeArray(_ ctx: JSContextRef, _ argumentCount: Int, _ arguments: UnsafePointer<JSValueRef>, _ exception: UnsafeMutablePointer<JSValueRef>) -> JSObjectRef |
| To | func JSObjectMakeArray(_ ctx: JSContextRef!, _ argumentCount: Int, _ arguments: UnsafePointer<JSValueRef?>!, _ exception: UnsafeMutablePointer<JSValueRef?>!) -> JSObjectRef! |
| Declaration | |
|---|---|
| From | func JSObjectMakeConstructor(_ ctx: JSContextRef, _ jsClass: JSClassRef, _ callAsConstructor: JSObjectCallAsConstructorCallback!) -> JSObjectRef |
| To | func JSObjectMakeConstructor(_ ctx: JSContextRef!, _ jsClass: JSClassRef!, _ callAsConstructor: JavaScriptCore.JSObjectCallAsConstructorCallback!) -> JSObjectRef! |
| Declaration | |
|---|---|
| From | func JSObjectMakeDate(_ ctx: JSContextRef, _ argumentCount: Int, _ arguments: UnsafePointer<JSValueRef>, _ exception: UnsafeMutablePointer<JSValueRef>) -> JSObjectRef |
| To | func JSObjectMakeDate(_ ctx: JSContextRef!, _ argumentCount: Int, _ arguments: UnsafePointer<JSValueRef?>!, _ exception: UnsafeMutablePointer<JSValueRef?>!) -> JSObjectRef! |
| Declaration | |
|---|---|
| From | func JSObjectMakeError(_ ctx: JSContextRef, _ argumentCount: Int, _ arguments: UnsafePointer<JSValueRef>, _ exception: UnsafeMutablePointer<JSValueRef>) -> JSObjectRef |
| To | func JSObjectMakeError(_ ctx: JSContextRef!, _ argumentCount: Int, _ arguments: UnsafePointer<JSValueRef?>!, _ exception: UnsafeMutablePointer<JSValueRef?>!) -> JSObjectRef! |
| Declaration | |
|---|---|
| From | func JSObjectMakeFunction(_ ctx: JSContextRef, _ name: JSStringRef, _ parameterCount: UInt32, _ parameterNames: UnsafePointer<JSStringRef>, _ body: JSStringRef, _ sourceURL: JSStringRef, _ startingLineNumber: Int32, _ exception: UnsafeMutablePointer<JSValueRef>) -> JSObjectRef |
| To | func JSObjectMakeFunction(_ ctx: JSContextRef!, _ name: JSStringRef!, _ parameterCount: UInt32, _ parameterNames: UnsafePointer<JSStringRef?>!, _ body: JSStringRef!, _ sourceURL: JSStringRef!, _ startingLineNumber: Int32, _ exception: UnsafeMutablePointer<JSValueRef?>!) -> JSObjectRef! |
| Declaration | |
|---|---|
| From | func JSObjectMakeFunctionWithCallback(_ ctx: JSContextRef, _ name: JSStringRef, _ callAsFunction: JSObjectCallAsFunctionCallback!) -> JSObjectRef |
| To | func JSObjectMakeFunctionWithCallback(_ ctx: JSContextRef!, _ name: JSStringRef!, _ callAsFunction: JavaScriptCore.JSObjectCallAsFunctionCallback!) -> JSObjectRef! |
| Declaration | |
|---|---|
| From | func JSObjectMakeRegExp(_ ctx: JSContextRef, _ argumentCount: Int, _ arguments: UnsafePointer<JSValueRef>, _ exception: UnsafeMutablePointer<JSValueRef>) -> JSObjectRef |
| To | func JSObjectMakeRegExp(_ ctx: JSContextRef!, _ argumentCount: Int, _ arguments: UnsafePointer<JSValueRef?>!, _ exception: UnsafeMutablePointer<JSValueRef?>!) -> JSObjectRef! |
Modified JSObjectRef
| Declaration | |
|---|---|
| From | typealias JSObjectRef = COpaquePointer |
| To | typealias JSObjectRef = OpaquePointer |
| Declaration | |
|---|---|
| From | func JSObjectSetPrivate(_ object: JSObjectRef, _ data: UnsafeMutablePointer<Void>) -> Bool |
| To | func JSObjectSetPrivate(_ object: JSObjectRef!, _ data: UnsafeMutableRawPointer!) -> Bool |
| Declaration | |
|---|---|
| From | func JSObjectSetProperty(_ ctx: JSContextRef, _ object: JSObjectRef, _ propertyName: JSStringRef, _ value: JSValueRef, _ attributes: JSPropertyAttributes, _ exception: UnsafeMutablePointer<JSValueRef>) |
| To | func JSObjectSetProperty(_ ctx: JSContextRef!, _ object: JSObjectRef!, _ propertyName: JSStringRef!, _ value: JSValueRef!, _ attributes: JSPropertyAttributes, _ exception: UnsafeMutablePointer<JSValueRef?>!) |
| Declaration | |
|---|---|
| From | func JSObjectSetPropertyAtIndex(_ ctx: JSContextRef, _ object: JSObjectRef, _ propertyIndex: UInt32, _ value: JSValueRef, _ exception: UnsafeMutablePointer<JSValueRef>) |
| To | func JSObjectSetPropertyAtIndex(_ ctx: JSContextRef!, _ object: JSObjectRef!, _ propertyIndex: UInt32, _ value: JSValueRef!, _ exception: UnsafeMutablePointer<JSValueRef?>!) |
Modified JSObjectSetPropertyCallback
| Declaration | |
|---|---|
| From | typealias JSObjectSetPropertyCallback = (JSContextRef, JSObjectRef, JSStringRef, JSValueRef, UnsafeMutablePointer<JSValueRef>) -> Bool |
| To | typealias JSObjectSetPropertyCallback = (JSContextRef?, JSObjectRef?, JSStringRef?, JSValueRef?, UnsafeMutablePointer<JSValueRef?>?) -> Bool |
| Declaration | |
|---|---|
| From | func JSObjectSetPrototype(_ ctx: JSContextRef, _ object: JSObjectRef, _ value: JSValueRef) |
| To | func JSObjectSetPrototype(_ ctx: JSContextRef!, _ object: JSObjectRef!, _ value: JSValueRef!) |
| Declaration | |
|---|---|
| From | func JSPropertyNameAccumulatorAddName(_ accumulator: JSPropertyNameAccumulatorRef, _ propertyName: JSStringRef) |
| To | func JSPropertyNameAccumulatorAddName(_ accumulator: JSPropertyNameAccumulatorRef!, _ propertyName: JSStringRef!) |
Modified JSPropertyNameAccumulatorRef
| Declaration | |
|---|---|
| From | typealias JSPropertyNameAccumulatorRef = COpaquePointer |
| To | typealias JSPropertyNameAccumulatorRef = OpaquePointer |
| Declaration | |
|---|---|
| From | func JSPropertyNameArrayGetCount(_ array: JSPropertyNameArrayRef) -> Int |
| To | func JSPropertyNameArrayGetCount(_ array: JSPropertyNameArrayRef!) -> Int |
| Declaration | |
|---|---|
| From | func JSPropertyNameArrayGetNameAtIndex(_ array: JSPropertyNameArrayRef, _ index: Int) -> JSStringRef |
| To | func JSPropertyNameArrayGetNameAtIndex(_ array: JSPropertyNameArrayRef!, _ index: Int) -> JSStringRef! |
Modified JSPropertyNameArrayRef
| Declaration | |
|---|---|
| From | typealias JSPropertyNameArrayRef = COpaquePointer |
| To | typealias JSPropertyNameArrayRef = OpaquePointer |
| Declaration | |
|---|---|
| From | func JSPropertyNameArrayRelease(_ array: JSPropertyNameArrayRef) |
| To | func JSPropertyNameArrayRelease(_ array: JSPropertyNameArrayRef!) |
| Declaration | |
|---|---|
| From | func JSPropertyNameArrayRetain(_ array: JSPropertyNameArrayRef) -> JSPropertyNameArrayRef |
| To | func JSPropertyNameArrayRetain(_ array: JSPropertyNameArrayRef!) -> JSPropertyNameArrayRef! |
| Declaration | |
|---|---|
| From | func JSStringCopyCFString(_ alloc: CFAllocator!, _ string: JSStringRef) -> CFString! |
| To | func JSStringCopyCFString(_ alloc: CFAllocator!, _ string: JSStringRef!) -> CFString! |
| Declaration | |
|---|---|
| From | func JSStringCreateWithCFString(_ string: CFString!) -> JSStringRef |
| To | func JSStringCreateWithCFString(_ string: CFString!) -> JSStringRef! |
| Declaration | |
|---|---|
| From | func JSStringCreateWithCharacters(_ chars: UnsafePointer<JSChar>, _ numChars: Int) -> JSStringRef |
| To | func JSStringCreateWithCharacters(_ chars: UnsafePointer<JSChar>!, _ numChars: Int) -> JSStringRef! |
| Declaration | |
|---|---|
| From | func JSStringCreateWithUTF8CString(_ string: UnsafePointer<Int8>) -> JSStringRef |
| To | func JSStringCreateWithUTF8CString(_ string: UnsafePointer<Int8>!) -> JSStringRef! |
| Declaration | |
|---|---|
| From | func JSStringGetCharactersPtr(_ string: JSStringRef) -> UnsafePointer<JSChar> |
| To | func JSStringGetCharactersPtr(_ string: JSStringRef!) -> UnsafePointer<JSChar>! |
| Declaration | |
|---|---|
| From | func JSStringGetLength(_ string: JSStringRef) -> Int |
| To | func JSStringGetLength(_ string: JSStringRef!) -> Int |
| Declaration | |
|---|---|
| From | func JSStringGetMaximumUTF8CStringSize(_ string: JSStringRef) -> Int |
| To | func JSStringGetMaximumUTF8CStringSize(_ string: JSStringRef!) -> Int |
| Declaration | |
|---|---|
| From | func JSStringGetUTF8CString(_ string: JSStringRef, _ buffer: UnsafeMutablePointer<Int8>, _ bufferSize: Int) -> Int |
| To | func JSStringGetUTF8CString(_ string: JSStringRef!, _ buffer: UnsafeMutablePointer<Int8>!, _ bufferSize: Int) -> Int |
| Declaration | |
|---|---|
| From | func JSStringIsEqual(_ a: JSStringRef, _ b: JSStringRef) -> Bool |
| To | func JSStringIsEqual(_ a: JSStringRef!, _ b: JSStringRef!) -> Bool |
| Declaration | |
|---|---|
| From | func JSStringIsEqualToUTF8CString(_ a: JSStringRef, _ b: UnsafePointer<Int8>) -> Bool |
| To | func JSStringIsEqualToUTF8CString(_ a: JSStringRef!, _ b: UnsafePointer<Int8>!) -> Bool |
Modified JSStringRef
| Declaration | |
|---|---|
| From | typealias JSStringRef = COpaquePointer |
| To | typealias JSStringRef = OpaquePointer |
Modified JSStringRelease(_: JSStringRef!)
| Declaration | |
|---|---|
| From | func JSStringRelease(_ string: JSStringRef) |
| To | func JSStringRelease(_ string: JSStringRef!) |
| Declaration | |
|---|---|
| From | func JSStringRetain(_ string: JSStringRef) -> JSStringRef |
| To | func JSStringRetain(_ string: JSStringRef!) -> JSStringRef! |
| Declaration | |
|---|---|
| From | func JSValueCreateJSONString(_ ctx: JSContextRef, _ value: JSValueRef, _ indent: UInt32, _ exception: UnsafeMutablePointer<JSValueRef>) -> JSStringRef |
| To | func JSValueCreateJSONString(_ ctx: JSContextRef!, _ value: JSValueRef!, _ indent: UInt32, _ exception: UnsafeMutablePointer<JSValueRef?>!) -> JSStringRef! |
| Declaration | |
|---|---|
| From | func JSValueGetType(_ ctx: JSContextRef, _ _: JSValueRef) -> JSType |
| To | func JSValueGetType(_ ctx: JSContextRef!, _ _: JSValueRef!) -> JSType |
| Declaration | |
|---|---|
| From | func JSValueIsArray(_ ctx: JSContextRef, _ value: JSValueRef) -> Bool |
| To | func JSValueIsArray(_ ctx: JSContextRef!, _ value: JSValueRef!) -> Bool |
| Declaration | |
|---|---|
| From | func JSValueIsBoolean(_ ctx: JSContextRef, _ value: JSValueRef) -> Bool |
| To | func JSValueIsBoolean(_ ctx: JSContextRef!, _ value: JSValueRef!) -> Bool |
| Declaration | |
|---|---|
| From | func JSValueIsDate(_ ctx: JSContextRef, _ value: JSValueRef) -> Bool |
| To | func JSValueIsDate(_ ctx: JSContextRef!, _ value: JSValueRef!) -> Bool |
| Declaration | |
|---|---|
| From | func JSValueIsEqual(_ ctx: JSContextRef, _ a: JSValueRef, _ b: JSValueRef, _ exception: UnsafeMutablePointer<JSValueRef>) -> Bool |
| To | func JSValueIsEqual(_ ctx: JSContextRef!, _ a: JSValueRef!, _ b: JSValueRef!, _ exception: UnsafeMutablePointer<JSValueRef?>!) -> Bool |
| Declaration | |
|---|---|
| From | func JSValueIsInstanceOfConstructor(_ ctx: JSContextRef, _ value: JSValueRef, _ constructor: JSObjectRef, _ exception: UnsafeMutablePointer<JSValueRef>) -> Bool |
| To | func JSValueIsInstanceOfConstructor(_ ctx: JSContextRef!, _ value: JSValueRef!, _ constructor: JSObjectRef!, _ exception: UnsafeMutablePointer<JSValueRef?>!) -> Bool |
| Declaration | |
|---|---|
| From | func JSValueIsNull(_ ctx: JSContextRef, _ value: JSValueRef) -> Bool |
| To | func JSValueIsNull(_ ctx: JSContextRef!, _ value: JSValueRef!) -> Bool |
| Declaration | |
|---|---|
| From | func JSValueIsNumber(_ ctx: JSContextRef, _ value: JSValueRef) -> Bool |
| To | func JSValueIsNumber(_ ctx: JSContextRef!, _ value: JSValueRef!) -> Bool |
| Declaration | |
|---|---|
| From | func JSValueIsObject(_ ctx: JSContextRef, _ value: JSValueRef) -> Bool |
| To | func JSValueIsObject(_ ctx: JSContextRef!, _ value: JSValueRef!) -> Bool |
| Declaration | |
|---|---|
| From | func JSValueIsObjectOfClass(_ ctx: JSContextRef, _ value: JSValueRef, _ jsClass: JSClassRef) -> Bool |
| To | func JSValueIsObjectOfClass(_ ctx: JSContextRef!, _ value: JSValueRef!, _ jsClass: JSClassRef!) -> Bool |
| Declaration | |
|---|---|
| From | func JSValueIsStrictEqual(_ ctx: JSContextRef, _ a: JSValueRef, _ b: JSValueRef) -> Bool |
| To | func JSValueIsStrictEqual(_ ctx: JSContextRef!, _ a: JSValueRef!, _ b: JSValueRef!) -> Bool |
| Declaration | |
|---|---|
| From | func JSValueIsString(_ ctx: JSContextRef, _ value: JSValueRef) -> Bool |
| To | func JSValueIsString(_ ctx: JSContextRef!, _ value: JSValueRef!) -> Bool |
| Declaration | |
|---|---|
| From | func JSValueIsUndefined(_ ctx: JSContextRef, _ value: JSValueRef) -> Bool |
| To | func JSValueIsUndefined(_ ctx: JSContextRef!, _ value: JSValueRef!) -> Bool |
| Declaration | |
|---|---|
| From | func JSValueMakeBoolean(_ ctx: JSContextRef, _ boolean: Bool) -> JSValueRef |
| To | func JSValueMakeBoolean(_ ctx: JSContextRef!, _ boolean: Bool) -> JSValueRef! |
| Declaration | |
|---|---|
| From | func JSValueMakeFromJSONString(_ ctx: JSContextRef, _ string: JSStringRef) -> JSValueRef |
| To | func JSValueMakeFromJSONString(_ ctx: JSContextRef!, _ string: JSStringRef!) -> JSValueRef! |
| Declaration | |
|---|---|
| From | func JSValueMakeNull(_ ctx: JSContextRef) -> JSValueRef |
| To | func JSValueMakeNull(_ ctx: JSContextRef!) -> JSValueRef! |
| Declaration | |
|---|---|
| From | func JSValueMakeNumber(_ ctx: JSContextRef, _ number: Double) -> JSValueRef |
| To | func JSValueMakeNumber(_ ctx: JSContextRef!, _ number: Double) -> JSValueRef! |
| Declaration | |
|---|---|
| From | func JSValueMakeString(_ ctx: JSContextRef, _ string: JSStringRef) -> JSValueRef |
| To | func JSValueMakeString(_ ctx: JSContextRef!, _ string: JSStringRef!) -> JSValueRef! |
| Declaration | |
|---|---|
| From | func JSValueMakeUndefined(_ ctx: JSContextRef) -> JSValueRef |
| To | func JSValueMakeUndefined(_ ctx: JSContextRef!) -> JSValueRef! |
| Declaration | |
|---|---|
| From | func JSValueProtect(_ ctx: JSContextRef, _ value: JSValueRef) |
| To | func JSValueProtect(_ ctx: JSContextRef!, _ value: JSValueRef!) |
Modified JSValueRef
| Declaration | |
|---|---|
| From | typealias JSValueRef = COpaquePointer |
| To | typealias JSValueRef = OpaquePointer |
| Declaration | |
|---|---|
| From | func JSValueToBoolean(_ ctx: JSContextRef, _ value: JSValueRef) -> Bool |
| To | func JSValueToBoolean(_ ctx: JSContextRef!, _ value: JSValueRef!) -> Bool |
Modified JSValueToNumber(_: JSContextRef!, _: JSValueRef!, _: UnsafeMutablePointer<JSValueRef?>!) -> Double
| Declaration | |
|---|---|
| From | func JSValueToNumber(_ ctx: JSContextRef, _ value: JSValueRef, _ exception: UnsafeMutablePointer<JSValueRef>) -> Double |
| To | func JSValueToNumber(_ ctx: JSContextRef!, _ value: JSValueRef!, _ exception: UnsafeMutablePointer<JSValueRef?>!) -> Double |
| Declaration | |
|---|---|
| From | func JSValueToObject(_ ctx: JSContextRef, _ value: JSValueRef, _ exception: UnsafeMutablePointer<JSValueRef>) -> JSObjectRef |
| To | func JSValueToObject(_ ctx: JSContextRef!, _ value: JSValueRef!, _ exception: UnsafeMutablePointer<JSValueRef?>!) -> JSObjectRef! |
| Declaration | |
|---|---|
| From | func JSValueToStringCopy(_ ctx: JSContextRef, _ value: JSValueRef, _ exception: UnsafeMutablePointer<JSValueRef>) -> JSStringRef |
| To | func JSValueToStringCopy(_ ctx: JSContextRef!, _ value: JSValueRef!, _ exception: UnsafeMutablePointer<JSValueRef?>!) -> JSStringRef! |
| Declaration | |
|---|---|
| From | func JSValueUnprotect(_ ctx: JSContextRef, _ value: JSValueRef) |
| To | func JSValueUnprotect(_ ctx: JSContextRef!, _ value: JSValueRef!) |