     ///   - releaseText: text display for dragging when reach the trigger, default is 'Release to refresh'
     ///   - height: refresh view height and also the trigger requirement, default is 60
     ///   - action: refresh action
-    public func spr_setTextHeader(loadingText: String = Default.loadingText,
-                                  pullingText: String = Default.pullingText,
-                                  releaseText: String = Default.releaseText,
-                                  height: CGFloat = Default.short,
+    public func spr_setTextHeader(loadingText: String = DefaultSPTR.loadingText,
+                                  pullingText: String = DefaultSPTR.pullingText,
+                                  releaseText: String = DefaultSPTR.releaseText,
+                                  height: CGFloat = DefaultSPTR.short,
                                   action: @escaping () -> Void) {
         let textItem = TextItem(loadingText: loadingText, pullingText: pullingText, releaseText: releaseText)
         spr_refreshHeader = TextHeader(textItem: textItem, height: height, action: action)
     }
-
+    
     /// GIF header
     ///
     /// - Parameters:

            newValue.map { insertSubview($0, at: 0) }
        }
    }

    /// Indicator header
    ///
    /// - Parameters:
    ///   - height: refresh view height and also the trigger requirement, default is 60
    ///   - action: refresh action
    public func spr_setIndicatorHeader(height: CGFloat = Default.short,
                                       action: @escaping () -> Void) {
        spr_refreshHeader = IndicatorHeader(height: height, action: action)
    }

    /// Text header
    ///
    /// - Parameters:

    public func spr_setCustomFooter(footerView: RefreshView) {
        spr_refreshFooter = footerView
    }
    
    /// begin refreshing with header
    public func spr_beginRefreshing() {
        spr_refreshHeader?.beginRefreshing()
    }
    
    /// end refreshing with both header and footer
    public func spr_endRefreshing() {
        spr_refreshHeader?.endRefreshing()
        spr_refreshFooter?.endRefreshing()
    }
    
    /// end refreshing with footer and remove it
    ///
    /// - Parameter message: show a label with message below the content, default is nil
