BundleClassLoadMonitor

public class BundleClassLoadMonitor : BaseNotificationMonitor

A BundleClassLoadMonitor instance monitors a bundle for dynamic loads of classes.

  • Encapsulates dynamic loads of classes in the bundle.

    See more

    Declaration

    Swift

    public enum Event
  • Initializes a new BundleClassLoadMonitor.

    Declaration

    Swift

    public init(bundle: Bundle,
                queue: OperationQueue = .main,
                handler: @escaping (Event) -> Void)

    Parameters

    bundle

    The bundle to monitor.

    queue

    The operation queue on which the handler executes. By default, the main operation queue is used.

    handler

    The handler to call when the bundle dynamically loads classes.

  • The bundle being monitored.

    Declaration

    Swift

    public let bundle: Bundle
  • Declaration

    Swift

    override public func addNotificationObservers()