     ///
     /// - 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)

        textInformation.text = "Release to Cancel"
        textInformation.textAlignment = .center
        textInformation.font = UIFont.boldSystemFont(ofSize: 12)
        textInformation.isHidden = true
        return textInformation
    }()
    
    open override func draw(_ rect: CGRect) {
       
        func createLine(from: CGPoint, to: CGPoint) {
            let line = UIBezierPath()
            line.move(to: from)
            line.addLine(to: to)
            DesignConstants.lineColor.setStroke()
            line.lineWidth = DesignConstants.borderLinesWidth
            line.stroke()
        }
        
