                            name: UIScreenBrightnessDidChangeNotification,
                            object: nil)
     }
-    
+
     @objc func onScreenBrightnessDidChange() {
         self.screenBrightnessDidChange()
     }
-    
+
     /**
      Called when a `brightness` of device screen changes.
      */


/**
 `ScreenBrightness` delegate.
 
 A class with ability to receive changes in screen brightness.
 */
public protocol ScreenBrightnessMonitoring: class {
    
    /**
     Called when a `brightness` of device screen changes.
     */

// MARK: - ScreenBrightnessMonitoring

extension ScreenBrightness: ScreenBrightnessMonitoring {

    func subscribeToNotifications() {
        let center = self.notificationCenter
        center.addObserver(self,
