Contents

removeMonitor(_:)

Removes the specified event monitor.

Declaration

class func removeMonitor(_ eventMonitor: Any)

Parameters

  • eventMonitor:

    The event handler object to remove.

Discussion

You must ensure that eventMonitor is removed only once. Removing the same eventMonitor instance multiple times results in an over-release condition, even in a Garbage Collected environment

See Also

Monitoring app events