 // MARK: - ScreenBrightnessMonitoring
 
 extension ScreenBrightness: ScreenBrightnessMonitoring {
-    
+
     func subscribeToNotifications() {
         let center = self.notificationCenter
         center.addObserver(self,


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

 A `class` that detects changes in screen brightness.
 */
public class ScreenBrightness {

    /**
     A delegate that conforms to `ScreenBrightnessMonitoring` protocol.
     */
    public weak var delegate: ScreenBrightnessMonitoring?

    /**
     Returns screen brightness value.
     - important: Returned value is between 0 and 1.
