eggswift / pull-to-refresh

#Busy Re-Building....# An easy way to use pull to refresh and infinite scrolling in Swift. Pod 'ESPullToRefresh'
MIT License
1.82k stars 253 forks source link

fix for XCode 10.3 #164

Closed dsame closed 4 years ago

dsame commented 4 years ago

Fix for

/Users/vsts/agent/2.155.1/work/1/s/Pods/ESPullToRefresh/Sources/Animator/ESRefreshFooterAnimator.swift:50:53: error: 'init(style:)' has been renamed to 'init(activityIndicatorStyle:)'
        let indicatorView = UIActivityIndicatorView.init(style: .gray)
                                                    ^    ~~~~~
                                                         activityIndicatorStyle
UIKit.UIActivityIndicatorView:6:12: note: 'init(style:)' was introduced in Swift 4.2
    public init(style: UIActivityIndicatorViewStyle)