     ///
     /// - Parameter active: The view should activate/deactivate.
     func activateInformationView(_ active: Bool) {
-        textInformation.alpha = active ? 1 : 0
+        textInformation.isHidden = !active
     }
 }
 

import UIKit

/// A type that represents an `InformationView`.
private class InformationView: UIView {
    
    /// Constants for UI purposes.
    private enum DesignConstants {
        
        /// The color for the top and button borders in the current `InformationView`.
        static let lineColor = UIColor(red: 0.8, green: 0.81, blue: 0.82, alpha: 1)

        dots.setLineDash(dashes, count: dashes.count, phase: 0)
        dots.stroke()
        
        textInformation.frame = CGRect(origin: CGPoint(x: 0, y: DesignConstants.borderLinesWidth),
                                       size: CGSize(width: rect.width, height: rect.height - (DesignConstants.borderLinesWidth * 2)))
        addSubview(textInformation)
        
        createLine(from: .zero, to: CGPoint(x: rect.width, y: 0))
        createLine(from: CGPoint(x: 0, y: rect.height), to: CGPoint(x: rect.width, y: rect.height))
        
