Contents

isSelectorExcluded(fromWebScript:)

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

Declaration

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

Parameters

  • selector:

    The selector.

Return Value

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

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 YES.

See Also

Getting attributes