Type Method

isSelectorExcluded(fromWebScript:)

Returns whether a selector should be hidden from the scripting environment.

Declaration

class func isSelectorExcluded(fromWebScript selector: Selector!) -> Bool

Parameters

aSelector

The selector.

Return Value

true if the selector specified by aSelector should be hidden from the scripting environment; otherwise, false.

Discussion

Only methods with valid parameters and return types are exported to the WebKit JavaScript environment. The valid types are Objective-C objects and scalars. The default value is true.

See Also

Getting attributes

class func webScriptName(forKey: UnsafePointer<Int8>!) -> String!

Returns the scripting environment name for an attribute specified by a key.

class func webScriptName(for: Selector!) -> String!

Returns the scripting environment name for a selector.

class func isKeyExcluded(fromWebScript: UnsafePointer<Int8>!) -> Bool

Returns whether a key should be hidden from the scripting environment.