         loadingStackView.addArrangedSubview(spinner)
         spinner.hidesWhenStopped = false
         
-        loadingLabel.text = loadingText
+        loadingLabel.text = defaultLoadingText
         loadingLabel.font = UIFont.systemFontOfSize(UIFont.smallSystemFontSize())
         loadingStackView.addArrangedSubview(loadingLabel)
         

    // MARK: - Public functions
    
    public func showLoading() {
        errorMessage = nil
        loadingStackView.hidden = false
        errorStackView.hidden = true
        showing = true
        toggleBanner()
    }
    
    public func dismiss() {
        dismissBanner()
    }
    
    public func showError(message: String?) {
        errorMessage = message
        errorLabel.text = message
        errorStackView.hidden = false
        loadingStackView.hidden = true
        showing = true
        toggleBanner()
    }

}



    private var showing = false
    
    
    // MARK: - Constants
    
    private let defaultLoadingText = "Loading…"
    
    
    // MARK: - Initializers
    
    override public init(frame: CGRect) {
