diff --git a/PullToMakeSoup.podspec b/PullToMakeSoup.podspec index 8bb678f..ff1f7fd 100644 --- a/PullToMakeSoup.podspec +++ b/PullToMakeSoup.podspec @@ -18,6 +18,6 @@ Pod::Spec.new do |s| s.requires_arc = true s.frameworks = 'CoreGraphics', 'QuartzCore' - s.dependency 'PullToRefresher', '~> 2.0' + s.dependency 'PullToRefresher' end diff --git a/PullToMakeSoup/PullToMakeSoup/PullToMakeSoup.swift b/PullToMakeSoup/PullToMakeSoup/PullToMakeSoup.swift index c2bb705..9780a46 100644 --- a/PullToMakeSoup/PullToMakeSoup/PullToMakeSoup.swift +++ b/PullToMakeSoup/PullToMakeSoup/PullToMakeSoup.swift @@ -14,6 +14,7 @@ open class PullToMakeSoup: PullToRefresh { public convenience init(at position: Position = .top) { let refreshView = Bundle(for: type(of: self)).loadNibNamed("SoupView", owner: nil, options: nil)!.first as! SoupView + refreshView.backgroundColor = UIColor.clear let animator = SoupAnimator(refreshView: refreshView) self.init(refreshView: refreshView, animator: animator, height : refreshView.frame.size.height, position : position) }