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 moreDeclaration
Swift
public enum Event -
Initializes a new
BundleClassLoadMonitor.Declaration
Swift
public init(bundle: Bundle, queue: OperationQueue = .main, handler: @escaping (Event) -> Void)Parameters
bundleThe bundle to monitor.
queueThe operation queue on which the handler executes. By default, the main operation queue is used.
handlerThe 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()
View on GitHub
Install in Dash
BundleClassLoadMonitor Class Reference