├── .gitignore ├── .swift-version ├── .travis.yml ├── AARefreshControl.podspec ├── AARefreshControl ├── Assets │ └── .gitkeep └── Classes │ ├── .gitkeep │ └── AARefreshControl.swift ├── Example ├── AARefreshControl.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ └── AARefreshControl-Example.xcscheme ├── AARefreshControl.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist ├── AARefreshControl │ ├── AppDelegate.swift │ ├── Base.lproj │ │ ├── LaunchScreen.xib │ │ └── Main.storyboard │ ├── Images.xcassets │ │ ├── AA.imageset │ │ │ ├── 17049477.png │ │ │ └── Contents.json │ │ ├── AppIcon.appiconset │ │ │ ├── Contents.json │ │ │ ├── Icon-App-20x20@1x.png │ │ │ ├── Icon-App-20x20@2x.png │ │ │ ├── Icon-App-20x20@3x.png │ │ │ ├── Icon-App-29x29@1x.png │ │ │ ├── Icon-App-29x29@2x.png │ │ │ ├── Icon-App-29x29@3x.png │ │ │ ├── Icon-App-40x40@1x.png │ │ │ ├── Icon-App-40x40@2x.png │ │ │ ├── Icon-App-40x40@3x.png │ │ │ ├── Icon-App-57x57@1x.png │ │ │ ├── Icon-App-57x57@2x.png │ │ │ ├── Icon-App-60x60@2x.png │ │ │ ├── Icon-App-60x60@3x.png │ │ │ ├── Icon-App-72x72@1x.png │ │ │ ├── Icon-App-72x72@2x.png │ │ │ ├── Icon-App-76x76@1x.png │ │ │ ├── Icon-App-76x76@2x.png │ │ │ ├── Icon-App-83.5x83.5@2x.png │ │ │ ├── Icon-Small-50x50@1x.png │ │ │ └── Icon-Small-50x50@2x.png │ │ └── Contents.json │ ├── Info.plist │ └── ViewController.swift ├── Podfile ├── Podfile.lock ├── Pods │ ├── Local Podspecs │ │ └── AARefreshControl.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ └── project.pbxproj │ └── Target Support Files │ │ ├── AARefreshControl │ │ ├── AARefreshControl-Info.plist │ │ ├── AARefreshControl-dummy.m │ │ ├── AARefreshControl-prefix.pch │ │ ├── AARefreshControl-umbrella.h │ │ ├── AARefreshControl.modulemap │ │ └── AARefreshControl.xcconfig │ │ ├── Pods-AARefreshControl_Example │ │ ├── Pods-AARefreshControl_Example-Info.plist │ │ ├── Pods-AARefreshControl_Example-acknowledgements.markdown │ │ ├── Pods-AARefreshControl_Example-acknowledgements.plist │ │ ├── Pods-AARefreshControl_Example-dummy.m │ │ ├── Pods-AARefreshControl_Example-frameworks.sh │ │ ├── Pods-AARefreshControl_Example-umbrella.h │ │ ├── Pods-AARefreshControl_Example.debug.xcconfig │ │ ├── Pods-AARefreshControl_Example.modulemap │ │ └── Pods-AARefreshControl_Example.release.xcconfig │ │ └── Pods-AARefreshControl_Tests │ │ ├── Pods-AARefreshControl_Tests-Info.plist │ │ ├── Pods-AARefreshControl_Tests-acknowledgements.markdown │ │ ├── Pods-AARefreshControl_Tests-acknowledgements.plist │ │ ├── Pods-AARefreshControl_Tests-dummy.m │ │ ├── Pods-AARefreshControl_Tests-umbrella.h │ │ ├── Pods-AARefreshControl_Tests.debug.xcconfig │ │ ├── Pods-AARefreshControl_Tests.modulemap │ │ └── Pods-AARefreshControl_Tests.release.xcconfig └── Tests │ ├── Info.plist │ └── Tests.swift ├── LICENSE ├── README.md └── _Pods.xcodeproj /.gitignore: -------------------------------------------------------------------------------- 1 | # OS X 2 | .DS_Store 3 | 4 | # Xcode 5 | build/ 6 | *.pbxuser 7 | !default.pbxuser 8 | *.mode1v3 9 | !default.mode1v3 10 | *.mode2v3 11 | !default.mode2v3 12 | *.perspectivev3 13 | !default.perspectivev3 14 | xcuserdata/ 15 | *.xccheckout 16 | profile 17 | *.moved-aside 18 | DerivedData 19 | *.hmap 20 | *.ipa 21 | 22 | # Bundler 23 | .bundle 24 | 25 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 26 | # Carthage/Checkouts 27 | 28 | Carthage/Build 29 | 30 | # We recommend against adding the Pods directory to your .gitignore. However 31 | # you should judge for yourself, the pros and cons are mentioned at: 32 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control 33 | # 34 | # Note: if you ignore the Pods directory, make sure to uncomment 35 | # `pod install` in .travis.yml 36 | # 37 | # Pods/ 38 | -------------------------------------------------------------------------------- /.swift-version: -------------------------------------------------------------------------------- 1 | 5.0 2 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | # references: 2 | # * https://www.objc.io/issues/6-build-tools/travis-ci/ 3 | # * https://github.com/supermarin/xcpretty#usage 4 | 5 | osx_image: xcode7.3 6 | language: objective-c 7 | # cache: cocoapods 8 | # podfile: Example/Podfile 9 | # before_install: 10 | # - gem install cocoapods # Since Travis is not always on latest version 11 | # - pod install --project-directory=Example 12 | script: 13 | - set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/AARefreshControl.xcworkspace -scheme AARefreshControl-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty 14 | - pod lib lint 15 | -------------------------------------------------------------------------------- /AARefreshControl.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # Be sure to run `pod lib lint AARefreshControl.podspec' to ensure this is a 3 | # valid spec before submitting. 4 | # 5 | # Any lines starting with a # are optional, but their use is encouraged 6 | # To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html 7 | # 8 | 9 | Pod::Spec.new do |s| 10 | s.name = 'AARefreshControl' 11 | s.version = '0.1.0' 12 | s.summary = 'AARefreshControl is pull to refresh control for UITableView and UICollectionView' 13 | 14 | # This description is used to generate tags and improve search results. 15 | # * Think: What does it do? Why did you write it? What is the focus? 16 | # * Try to keep it short, snappy and to the point. 17 | # * Write the description between the DESC delimiters below. 18 | # * Finally, don't worry about the indent, CocoaPods strips it! 19 | 20 | s.description = <<-DESC 21 | TODO: Add long description of the pod here. 22 | DESC 23 | 24 | s.homepage = 'https://github.com/EngrAhsanAli/AARefreshControl' 25 | # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' 26 | s.license = { :type => 'MIT', :file => 'LICENSE' } 27 | s.author = { 'EngrAhsanAli' => 'hafiz.m.ahsan.ali@gmail.com' } 28 | s.source = { :git => 'https://github.com/EngrAhsanAli/AARefreshControl.git', :tag => s.version.to_s } 29 | # s.social_media_url = 'https://twitter.com/' 30 | 31 | s.ios.deployment_target = '8.0' 32 | 33 | s.source_files = 'AARefreshControl/Classes/**/*' 34 | 35 | # s.resource_bundles = { 36 | # 'AARefreshControl' => ['AARefreshControl/Assets/*.png'] 37 | # } 38 | 39 | # s.public_header_files = 'Pod/Classes/**/*.h' 40 | # s.frameworks = 'UIKit', 'MapKit' 41 | # s.dependency 'AFNetworking', '~> 2.3' 42 | end 43 | -------------------------------------------------------------------------------- /AARefreshControl/Assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AARefreshControl/103210982779cc35313a6deb7ea2d3472555bec8/AARefreshControl/Assets/.gitkeep -------------------------------------------------------------------------------- /AARefreshControl/Classes/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AARefreshControl/103210982779cc35313a6deb7ea2d3472555bec8/AARefreshControl/Classes/.gitkeep -------------------------------------------------------------------------------- /AARefreshControl/Classes/AARefreshControl.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AARefreshControl.swift 3 | // AARefreshControl 4 | // 5 | // Created by Ahsan Ali on 31/05/2019. 6 | // 7 | // 8 | // Permission is hereby granted, free of charge, to any person obtaining a copy 9 | // of this software and associated documentation files (the "Software"), to deal 10 | // in the Software without restriction, including without limitation the rights 11 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | // copies of the Software, and to permit persons to whom the Software is 13 | // furnished to do so, subject to the following conditions: 14 | // 15 | // The above copyright notice and this permission notice shall be included in 16 | // all copies or substantial portions of the Software. 17 | // 18 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | // THE SOFTWARE. 25 | 26 | /// AARefreshControl for UITableView and UICollectionView 27 | open class AARefreshControl: UIControl { 28 | 29 | var kTotalViewHeight : CGFloat = 400 30 | var kOpenedViewHeight : CGFloat = 44 31 | var kMinTopPadding : CGFloat = 9 32 | var kMaxTopPadding : CGFloat = 5 33 | var kMinTopRadius : CGFloat = 12.5 34 | var kMaxTopRadius : CGFloat = 16 35 | var kMinBottomRadius : CGFloat = 3 36 | var kMaxBottomRadius : CGFloat = 16 37 | var kMinBottomPadding : CGFloat = 4 38 | var kMaxBottomPadding : CGFloat = 6 39 | var kMinArrowSize : CGFloat = 2 40 | var kMaxArrowSize : CGFloat = 3 41 | var kMinArrowRadius : CGFloat = 5 42 | var kMaxArrowRadius : CGFloat = 7 43 | var kMaxDistance : CGFloat = 53 44 | 45 | var activity: UIView! 46 | fileprivate var shapeLayer: CAShapeLayer! 47 | fileprivate var arrowLayer: CAShapeLayer! 48 | fileprivate var highlightLayer: CAShapeLayer! 49 | fileprivate var scrollView: UIScrollView! 50 | fileprivate var originalContentInset: UIEdgeInsets = .zero 51 | 52 | private(set) open var refreshing = false 53 | private(set) var canRefresh = false 54 | fileprivate var ignoreInset = false 55 | fileprivate var ignoreOffset = false 56 | fileprivate var didSetInset = false 57 | fileprivate var hasSectionHeaders = false 58 | fileprivate var lastOffset: CGFloat = 0.0 59 | 60 | open var activityIndicatorViewStyle: UIActivityIndicatorView.Style { 61 | get { 62 | if let a = activity as? UIActivityIndicatorView { 63 | return a.style 64 | } 65 | return .gray 66 | } 67 | set { 68 | if let a = activity as? UIActivityIndicatorView { 69 | a.style = newValue 70 | } 71 | } 72 | } 73 | 74 | open var activityIndicatorViewColor: UIColor? { 75 | get { 76 | if let a = activity as? UIActivityIndicatorView { 77 | return a.color 78 | } 79 | return nil 80 | } 81 | set { 82 | if let a = activity as? UIActivityIndicatorView { 83 | a.color = newValue 84 | } 85 | } 86 | } 87 | 88 | fileprivate func lerp(a: CGFloat, b: CGFloat, p: CGFloat) -> CGFloat { 89 | return a + (b - a) * p; 90 | } 91 | 92 | public init(scrollView: UIScrollView, activityView: UIView? = nil) { 93 | super.init(frame: CGRect(x: 0, y: -(kTotalViewHeight + scrollView.contentInset.top), 94 | width: scrollView.frame.size.width, height: kTotalViewHeight)) 95 | self.scrollView = scrollView 96 | originalContentInset = scrollView.contentInset 97 | autoresizingMask = .flexibleWidth 98 | scrollView.addSubview(self) 99 | scrollView.addObserver(self, forKeyPath: "contentOffset", options: .new, context: nil) 100 | scrollView.addObserver(self, forKeyPath: "contentInset", options: .new, context: nil) 101 | activity = activityView != nil ? activityView : UIActivityIndicatorView(style: .gray) 102 | activity.center = CGPoint(x: self.frame.size.width / 2, y: self.frame.size.height / 2) 103 | activity.autoresizingMask = [.flexibleLeftMargin, .flexibleRightMargin] 104 | activity.alpha = 0 105 | if let a = activity as? UIActivityIndicatorView { 106 | a.startAnimating() 107 | } 108 | addSubview(activity) 109 | 110 | refreshing = false 111 | canRefresh = true 112 | ignoreInset = false 113 | ignoreOffset = false 114 | didSetInset = false 115 | hasSectionHeaders = false 116 | tintColor = UIColor(red:155.0 / 255.0, green: 162.0 / 255.0, blue: 172.0 / 255.0, alpha: 1.0) 117 | 118 | shapeLayer = CAShapeLayer() 119 | shapeLayer.fillColor = tintColor.cgColor 120 | shapeLayer.strokeColor = UIColor.darkGray.withAlphaComponent(0.5).cgColor 121 | shapeLayer.lineWidth = 0.5 122 | shapeLayer.shadowColor = UIColor.black.cgColor 123 | shapeLayer.shadowOffset = CGSize(width: 0, height: 1) 124 | shapeLayer.shadowOpacity = 0.4 125 | shapeLayer.shadowRadius = 0.5 126 | layer.addSublayer(shapeLayer) 127 | 128 | arrowLayer = CAShapeLayer() 129 | arrowLayer.strokeColor = UIColor.darkGray.withAlphaComponent(0.5).cgColor 130 | arrowLayer.lineWidth = 0.5 131 | arrowLayer.fillColor = UIColor.white.cgColor 132 | shapeLayer.addSublayer(arrowLayer) 133 | 134 | highlightLayer = CAShapeLayer() 135 | highlightLayer.fillColor = UIColor.white.withAlphaComponent(0.2).cgColor 136 | shapeLayer.addSublayer(highlightLayer) 137 | 138 | } 139 | 140 | required public init?(coder aDecoder: NSCoder) { 141 | fatalError("AAExtensions:- init(coder:) has not been implemented") 142 | } 143 | 144 | deinit { 145 | scrollView.removeObserver(self, forKeyPath: "contentOffset") 146 | scrollView.removeObserver(self, forKeyPath: "contentInset") 147 | scrollView = nil 148 | } 149 | 150 | override open var isEnabled: Bool { 151 | didSet { 152 | if shapeLayer != nil { 153 | shapeLayer.isHidden = !isEnabled 154 | } 155 | } 156 | } 157 | 158 | override open func willMove(toSuperview newSuperview: UIView?) { 159 | super.willMove(toSuperview: newSuperview) 160 | if newSuperview == nil { 161 | scrollView.removeObserver(self, forKeyPath: "contentOffset") 162 | scrollView.removeObserver(self, forKeyPath: "contentInset") 163 | scrollView = nil 164 | } 165 | } 166 | 167 | override open var tintColor: UIColor! { 168 | didSet { 169 | if shapeLayer != nil { 170 | shapeLayer.fillColor = tintColor.cgColor 171 | } 172 | } 173 | } 174 | 175 | override open func observeValue(forKeyPath keyPath: String?, of object: Any?, change: [NSKeyValueChangeKey : Any]?, context: UnsafeMutableRawPointer?) { 176 | if keyPath == "contentInset" { 177 | if !ignoreInset { 178 | if let value = change?[.newKey] as? UIEdgeInsets { 179 | originalContentInset = value 180 | } 181 | frame = CGRect(x: 0, y: -(kTotalViewHeight + self.scrollView.contentInset.top), 182 | width: self.scrollView.frame.size.width, height: kTotalViewHeight) 183 | } 184 | return 185 | } 186 | 187 | if !isEnabled || ignoreOffset { 188 | return 189 | } 190 | 191 | var offset: CGFloat = 0 192 | if let value = change?[.newKey] as? CGPoint { 193 | offset = value.y + originalContentInset.top 194 | } 195 | 196 | if refreshing { 197 | if offset != 0 { 198 | // Keep thing pinned at the top 199 | 200 | CATransaction.begin() 201 | CATransaction.setValue(kCFBooleanTrue, forKey: kCATransactionDisableActions) 202 | shapeLayer.position = CGPoint(x: 0, y: kMaxDistance + offset + kOpenedViewHeight) 203 | CATransaction.commit() 204 | 205 | activity.center = CGPoint(x: floor(frame.size.width / 2.0), 206 | y: min(offset + frame.size.height + floor(kOpenedViewHeight / 2.0), 207 | frame.size.height - kOpenedViewHeight / 2.0)) 208 | ignoreInset = true 209 | ignoreOffset = true 210 | 211 | if offset < 0 { 212 | // Set the inset depending on the situation 213 | if offset >= -kOpenedViewHeight { 214 | if !scrollView.isDragging { 215 | if !didSetInset { 216 | didSetInset = true 217 | hasSectionHeaders = false 218 | if let tableView = scrollView as? UITableView { 219 | for i in 0..= 0 { 261 | // We can refresh again after the control is scrolled out of view 262 | canRefresh = true 263 | didSetInset = false 264 | }else { 265 | dontDraw = true 266 | } 267 | }else { 268 | if offset >= 0 { 269 | // Don't draw if the control is not visible 270 | dontDraw = true 271 | } 272 | } 273 | if offset > 0 && (lastOffset > offset) && !scrollView.isTracking { 274 | // If we are scrolling too fast, don't draw, and don't trigger unless the scrollView bounced back 275 | canRefresh = false 276 | dontDraw = true 277 | } 278 | if dontDraw { 279 | shapeLayer.path = nil 280 | shapeLayer.shadowPath = nil 281 | arrowLayer.path = nil 282 | highlightLayer.path = nil 283 | lastOffset = offset 284 | return 285 | } 286 | } 287 | 288 | lastOffset = offset 289 | 290 | var triggered = false 291 | 292 | let path = CGMutablePath() 293 | 294 | //Calculate some useful points and values 295 | let verticalShift = max(0, -((kMaxTopRadius + kMaxBottomRadius + kMaxTopPadding + kMaxBottomPadding) + offset)) 296 | let distance = min(kMaxDistance, abs(verticalShift)) 297 | let percentage = 1 - (distance / kMaxDistance) 298 | 299 | let currentTopPadding = lerp(a: kMinTopPadding, b: kMaxTopPadding, p: percentage) 300 | let currentTopRadius = lerp(a: kMinTopRadius, b: kMaxTopRadius, p: percentage) 301 | let currentBottomRadius = lerp(a: kMinBottomRadius, b: kMaxBottomRadius, p: percentage) 302 | let currentBottomPadding = lerp(a: kMinBottomPadding, b: kMaxBottomPadding, p: percentage) 303 | 304 | var bottomOrigin = CGPoint(x: floor(self.bounds.size.width / 2), y: self.bounds.size.height - currentBottomPadding - currentBottomRadius) 305 | var topOrigin = CGPoint.zero 306 | if distance == 0 { 307 | topOrigin = CGPoint(x: floor(self.bounds.size.width / 2), y: bottomOrigin.y) 308 | }else { 309 | topOrigin = CGPoint(x: floor(self.bounds.size.width / 2), y: self.bounds.size.height + offset + currentTopPadding + currentTopRadius) 310 | if percentage == 0 { 311 | bottomOrigin.y -= (abs(verticalShift) - kMaxDistance) 312 | triggered = true 313 | } 314 | } 315 | 316 | //Top semicircle 317 | path.addArc(center: topOrigin, radius: currentTopRadius, startAngle: 0, endAngle: .pi, clockwise: true) 318 | 319 | //Left curve 320 | let leftCp1 = CGPoint( 321 | x: lerp(a: (topOrigin.x - currentTopRadius), b: (bottomOrigin.x - currentBottomRadius), p: 0.1), 322 | y: lerp(a: topOrigin.y, b: bottomOrigin.y, p: 0.2)) 323 | let leftCp2 = CGPoint( 324 | x: lerp(a: (topOrigin.x - currentTopRadius), b: (bottomOrigin.x - currentBottomRadius), p: 0.9), 325 | y: lerp(a: topOrigin.y, b: bottomOrigin.y, p: 0.2)) 326 | let leftDestination = CGPoint(x: bottomOrigin.x - currentBottomRadius, y: bottomOrigin.y) 327 | 328 | path.addCurve(to: leftDestination, 329 | control1: leftCp1, 330 | control2: leftCp2) 331 | //Bottom semicircle 332 | path.addArc(center: bottomOrigin, radius: currentBottomRadius, startAngle: .pi, endAngle: 0, clockwise: true) 333 | 334 | //Right curve 335 | let rightCp2 = CGPoint( 336 | x: lerp(a: (topOrigin.x + currentTopRadius), b: (bottomOrigin.x + currentBottomRadius), p: 0.1), 337 | y: lerp(a: topOrigin.y, b: bottomOrigin.y, p: 0.2)) 338 | let rightCp1 = CGPoint( 339 | x: lerp(a: (topOrigin.x + currentTopRadius), b: (bottomOrigin.x + currentBottomRadius), p: 0.9), 340 | y: lerp(a: topOrigin.y, b: bottomOrigin.y, p: 0.2)) 341 | let rightDestination = CGPoint(x: topOrigin.x + currentTopRadius, y: topOrigin.y) 342 | 343 | path.addCurve(to: rightDestination, 344 | control1: rightCp1, 345 | control2: rightCp2) 346 | path.closeSubpath() 347 | 348 | if !triggered { 349 | // Set paths 350 | 351 | shapeLayer.path = path 352 | shapeLayer.shadowPath = path 353 | 354 | let currentArrowSize = lerp(a: kMinArrowSize, b: kMaxArrowSize, p: percentage) 355 | let currentArrowRadius = lerp(a: kMinArrowRadius, b: kMaxArrowRadius, p: percentage) 356 | let arrowBigRadius = currentArrowRadius + (currentArrowSize / 2) 357 | let arrowSmallRadius = currentArrowRadius - (currentArrowSize / 2) 358 | let arrowPath = CGMutablePath() 359 | 360 | arrowPath.addArc(center: topOrigin, radius: arrowBigRadius, startAngle: 0, endAngle: CGFloat(3 * (Double.pi/2)), clockwise: false) 361 | arrowPath.addLine(to: CGPoint(x: topOrigin.x, y: topOrigin.y - arrowBigRadius - currentArrowSize)) 362 | arrowPath.addLine(to: CGPoint(x: topOrigin.x + (2 * currentArrowSize), y: topOrigin.y - arrowBigRadius + (currentArrowSize / 2))) 363 | arrowPath.addLine(to: CGPoint(x: topOrigin.x, y: topOrigin.y - arrowBigRadius + (2 * currentArrowSize))) 364 | arrowPath.addLine(to: CGPoint(x: topOrigin.x, y: topOrigin.y - arrowBigRadius + currentArrowSize)) 365 | arrowPath.addArc(center: topOrigin, radius: arrowSmallRadius, startAngle: CGFloat(3 * (Double.pi/2)), endAngle: 0, clockwise: true) 366 | arrowPath.closeSubpath() 367 | arrowLayer.path = arrowPath 368 | arrowLayer.fillRule = CAShapeLayerFillRule.evenOdd 369 | 370 | let highlightPath = CGMutablePath() 371 | highlightPath.addArc(center: topOrigin, radius: currentTopRadius, startAngle: 0, endAngle: .pi, clockwise: true) 372 | highlightPath.addArc(center: CGPoint(x: topOrigin.x, y: topOrigin.y + 1.25), radius: currentTopRadius, startAngle: .pi, endAngle: 0, clockwise: false) 373 | highlightLayer.path = highlightPath 374 | highlightLayer.fillRule = CAShapeLayerFillRule.nonZero 375 | }else { 376 | 377 | let radius = lerp(a: kMinBottomRadius, b: kMaxBottomRadius, p: 0.2) 378 | let pathMorph = CABasicAnimation(keyPath: "path") 379 | pathMorph.duration = 0.15 380 | pathMorph.fillMode = CAMediaTimingFillMode.forwards 381 | pathMorph.isRemovedOnCompletion = false 382 | 383 | let toPath = CGMutablePath() 384 | toPath.addArc(center: topOrigin, radius: radius, startAngle: 0, endAngle: .pi, clockwise: true) 385 | toPath.addCurve(to: CGPoint(x: topOrigin.x - radius, y: topOrigin.y), 386 | control1: CGPoint(x: topOrigin.x - radius, y: topOrigin.y), 387 | control2: CGPoint(x: topOrigin.x - radius, y: topOrigin.y)) 388 | toPath.addArc(center: topOrigin, radius: radius, startAngle: .pi, endAngle: 0, clockwise: true) 389 | toPath.addCurve(to: CGPoint(x: topOrigin.x + radius, y: topOrigin.y), 390 | control1: CGPoint(x: topOrigin.x + radius, y: topOrigin.y), 391 | control2: CGPoint(x: topOrigin.x + radius, y: topOrigin.y)) 392 | toPath.closeSubpath() 393 | pathMorph.toValue = toPath 394 | shapeLayer.add(pathMorph, forKey: nil) 395 | 396 | let shadowPathMorph = CABasicAnimation(keyPath: "shadowPath") 397 | shadowPathMorph.duration = 0.15 398 | shadowPathMorph.fillMode = CAMediaTimingFillMode.forwards 399 | shadowPathMorph.isRemovedOnCompletion = false 400 | shadowPathMorph.toValue = toPath 401 | shapeLayer.add(shadowPathMorph, forKey: nil) 402 | 403 | let shapeAlphaAnimation = CABasicAnimation(keyPath: "opacity") 404 | shapeAlphaAnimation.duration = 0.1 405 | shapeAlphaAnimation.beginTime = CACurrentMediaTime() + 0.1 406 | shapeAlphaAnimation.toValue = NSNumber(value: 0) 407 | shapeAlphaAnimation.fillMode = CAMediaTimingFillMode.forwards 408 | shapeAlphaAnimation.isRemovedOnCompletion = false 409 | shapeLayer.add(shapeAlphaAnimation, forKey: nil) 410 | 411 | let alphaAnimation = CABasicAnimation(keyPath: "opacity") 412 | alphaAnimation.duration = 0.1 413 | alphaAnimation.toValue = NSNumber(value: 0) 414 | alphaAnimation.fillMode = CAMediaTimingFillMode.forwards 415 | alphaAnimation.isRemovedOnCompletion = false 416 | arrowLayer.add(alphaAnimation, forKey: nil) 417 | highlightLayer.add(alphaAnimation, forKey: nil) 418 | 419 | CATransaction.begin() 420 | CATransaction.setValue(kCFBooleanTrue, forKey: kCATransactionDisableActions) 421 | activity.layer.transform = CATransform3DMakeScale(0.1, 0.1, 1) 422 | CATransaction.commit() 423 | UIView.animate(withDuration: 0.2, delay: 0.15, options: .curveLinear, animations: { 424 | self.activity.alpha = 1 425 | self.activity.layer.transform = CATransform3DMakeScale(1, 1, 1) 426 | }, completion: nil) 427 | 428 | refreshing = true 429 | canRefresh = false 430 | sendActions(for: .valueChanged) 431 | } 432 | } 433 | 434 | open func beginRefreshing() { 435 | if !refreshing { 436 | let alphaAnimation = CABasicAnimation(keyPath: "opacity") 437 | alphaAnimation.duration = 0.0001 438 | alphaAnimation.toValue = NSNumber(value: 0) 439 | alphaAnimation.fillMode = CAMediaTimingFillMode.forwards 440 | alphaAnimation.isRemovedOnCompletion = false 441 | shapeLayer.add(alphaAnimation, forKey: nil) 442 | arrowLayer.add(alphaAnimation, forKey: nil) 443 | highlightLayer.add(alphaAnimation, forKey: nil) 444 | 445 | activity.alpha = 1 446 | activity.layer.transform = CATransform3DMakeScale(1, 1, 1) 447 | 448 | let offset = self.scrollView.contentOffset 449 | ignoreInset = true 450 | scrollView.contentInset = UIEdgeInsets(top: kOpenedViewHeight + originalContentInset.top, left: originalContentInset.left, bottom: originalContentInset.bottom, right: originalContentInset.right) 451 | ignoreInset = false 452 | scrollView.setContentOffset(offset, animated: false) 453 | 454 | refreshing = true 455 | canRefresh = false 456 | } 457 | } 458 | 459 | open func endRefreshing() { 460 | if refreshing { 461 | refreshing = false 462 | let sv = scrollView 463 | UIView.animate(withDuration: 0.4, animations: { [weak sv] in 464 | self.ignoreInset = true 465 | sv?.contentInset = self.originalContentInset 466 | self.ignoreInset = false 467 | self.activity.alpha = 0 468 | self.activity.layer.transform = CATransform3DMakeScale(0.1, 0.1, 1) 469 | }, completion: { [weak sv](finished) in 470 | self.shapeLayer.removeAllAnimations() 471 | self.shapeLayer.path = nil 472 | self.shapeLayer.shadowPath = nil 473 | self.shapeLayer.position = .zero 474 | self.arrowLayer.removeAllAnimations() 475 | self.arrowLayer.path = nil 476 | self.highlightLayer.removeAllAnimations() 477 | self.highlightLayer.path = nil 478 | self.ignoreInset = true 479 | sv?.contentInset = self.originalContentInset 480 | self.ignoreInset = false 481 | }) 482 | } 483 | } 484 | 485 | } 486 | -------------------------------------------------------------------------------- /Example/AARefreshControl.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 00EEBBA10A11315372BE7741 /* Pods_AARefreshControl_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0F013A15F09FC2D28575F5D8 /* Pods_AARefreshControl_Tests.framework */; }; 11 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; 12 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* ViewController.swift */; }; 13 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; }; 14 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; 15 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; 16 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; }; 17 | 638A14C02199ABB822D4ACB3 /* Pods_AARefreshControl_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5468D18CBE220B034B15B62A /* Pods_AARefreshControl_Example.framework */; }; 18 | /* End PBXBuildFile section */ 19 | 20 | /* Begin PBXContainerItemProxy section */ 21 | 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */ = { 22 | isa = PBXContainerItemProxy; 23 | containerPortal = 607FACC81AFB9204008FA782 /* Project object */; 24 | proxyType = 1; 25 | remoteGlobalIDString = 607FACCF1AFB9204008FA782; 26 | remoteInfo = AARefreshControl; 27 | }; 28 | /* End PBXContainerItemProxy section */ 29 | 30 | /* Begin PBXFileReference section */ 31 | 0F013A15F09FC2D28575F5D8 /* Pods_AARefreshControl_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AARefreshControl_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 32 | 1F9CF1C3EA112757CD28BEC6 /* AARefreshControl.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = AARefreshControl.podspec; path = ../AARefreshControl.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 33 | 2026E022B99E06614A62CFA3 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 34 | 27D66F36382981364E5F4E69 /* Pods-AARefreshControl_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AARefreshControl_Tests.release.xcconfig"; path = "Target Support Files/Pods-AARefreshControl_Tests/Pods-AARefreshControl_Tests.release.xcconfig"; sourceTree = ""; }; 35 | 3486E5D5668C7F5918A4F577 /* Pods-AARefreshControl_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AARefreshControl_Tests.debug.xcconfig"; path = "Target Support Files/Pods-AARefreshControl_Tests/Pods-AARefreshControl_Tests.debug.xcconfig"; sourceTree = ""; }; 36 | 5468D18CBE220B034B15B62A /* Pods_AARefreshControl_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AARefreshControl_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 37 | 607FACD01AFB9204008FA782 /* AARefreshControl_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = AARefreshControl_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 38 | 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 39 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 40 | 607FACD71AFB9204008FA782 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 41 | 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 42 | 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 43 | 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 44 | 607FACE51AFB9204008FA782 /* AARefreshControl_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = AARefreshControl_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 45 | 607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 46 | 607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; }; 47 | 70810AC7B41A68D8981FBE4E /* Pods-AARefreshControl_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AARefreshControl_Example.debug.xcconfig"; path = "Target Support Files/Pods-AARefreshControl_Example/Pods-AARefreshControl_Example.debug.xcconfig"; sourceTree = ""; }; 48 | D02812B63596B9F0A40A992F /* Pods-AARefreshControl_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AARefreshControl_Example.release.xcconfig"; path = "Target Support Files/Pods-AARefreshControl_Example/Pods-AARefreshControl_Example.release.xcconfig"; sourceTree = ""; }; 49 | E4E9C8C6F83F6934AB36A233 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 50 | /* End PBXFileReference section */ 51 | 52 | /* Begin PBXFrameworksBuildPhase section */ 53 | 607FACCD1AFB9204008FA782 /* Frameworks */ = { 54 | isa = PBXFrameworksBuildPhase; 55 | buildActionMask = 2147483647; 56 | files = ( 57 | 638A14C02199ABB822D4ACB3 /* Pods_AARefreshControl_Example.framework in Frameworks */, 58 | ); 59 | runOnlyForDeploymentPostprocessing = 0; 60 | }; 61 | 607FACE21AFB9204008FA782 /* Frameworks */ = { 62 | isa = PBXFrameworksBuildPhase; 63 | buildActionMask = 2147483647; 64 | files = ( 65 | 00EEBBA10A11315372BE7741 /* Pods_AARefreshControl_Tests.framework in Frameworks */, 66 | ); 67 | runOnlyForDeploymentPostprocessing = 0; 68 | }; 69 | /* End PBXFrameworksBuildPhase section */ 70 | 71 | /* Begin PBXGroup section */ 72 | 46DE245FC3A11A6AAD68200C /* Frameworks */ = { 73 | isa = PBXGroup; 74 | children = ( 75 | 5468D18CBE220B034B15B62A /* Pods_AARefreshControl_Example.framework */, 76 | 0F013A15F09FC2D28575F5D8 /* Pods_AARefreshControl_Tests.framework */, 77 | ); 78 | name = Frameworks; 79 | sourceTree = ""; 80 | }; 81 | 607FACC71AFB9204008FA782 = { 82 | isa = PBXGroup; 83 | children = ( 84 | 607FACF51AFB993E008FA782 /* Podspec Metadata */, 85 | 607FACD21AFB9204008FA782 /* Example for AARefreshControl */, 86 | 607FACE81AFB9204008FA782 /* Tests */, 87 | 607FACD11AFB9204008FA782 /* Products */, 88 | D41D973F654C64065DCB95E0 /* Pods */, 89 | 46DE245FC3A11A6AAD68200C /* Frameworks */, 90 | ); 91 | sourceTree = ""; 92 | }; 93 | 607FACD11AFB9204008FA782 /* Products */ = { 94 | isa = PBXGroup; 95 | children = ( 96 | 607FACD01AFB9204008FA782 /* AARefreshControl_Example.app */, 97 | 607FACE51AFB9204008FA782 /* AARefreshControl_Tests.xctest */, 98 | ); 99 | name = Products; 100 | sourceTree = ""; 101 | }; 102 | 607FACD21AFB9204008FA782 /* Example for AARefreshControl */ = { 103 | isa = PBXGroup; 104 | children = ( 105 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */, 106 | 607FACD71AFB9204008FA782 /* ViewController.swift */, 107 | 607FACD91AFB9204008FA782 /* Main.storyboard */, 108 | 607FACDC1AFB9204008FA782 /* Images.xcassets */, 109 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, 110 | 607FACD31AFB9204008FA782 /* Supporting Files */, 111 | ); 112 | name = "Example for AARefreshControl"; 113 | path = AARefreshControl; 114 | sourceTree = ""; 115 | }; 116 | 607FACD31AFB9204008FA782 /* Supporting Files */ = { 117 | isa = PBXGroup; 118 | children = ( 119 | 607FACD41AFB9204008FA782 /* Info.plist */, 120 | ); 121 | name = "Supporting Files"; 122 | sourceTree = ""; 123 | }; 124 | 607FACE81AFB9204008FA782 /* Tests */ = { 125 | isa = PBXGroup; 126 | children = ( 127 | 607FACEB1AFB9204008FA782 /* Tests.swift */, 128 | 607FACE91AFB9204008FA782 /* Supporting Files */, 129 | ); 130 | path = Tests; 131 | sourceTree = ""; 132 | }; 133 | 607FACE91AFB9204008FA782 /* Supporting Files */ = { 134 | isa = PBXGroup; 135 | children = ( 136 | 607FACEA1AFB9204008FA782 /* Info.plist */, 137 | ); 138 | name = "Supporting Files"; 139 | sourceTree = ""; 140 | }; 141 | 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { 142 | isa = PBXGroup; 143 | children = ( 144 | 1F9CF1C3EA112757CD28BEC6 /* AARefreshControl.podspec */, 145 | 2026E022B99E06614A62CFA3 /* README.md */, 146 | E4E9C8C6F83F6934AB36A233 /* LICENSE */, 147 | ); 148 | name = "Podspec Metadata"; 149 | sourceTree = ""; 150 | }; 151 | D41D973F654C64065DCB95E0 /* Pods */ = { 152 | isa = PBXGroup; 153 | children = ( 154 | 70810AC7B41A68D8981FBE4E /* Pods-AARefreshControl_Example.debug.xcconfig */, 155 | D02812B63596B9F0A40A992F /* Pods-AARefreshControl_Example.release.xcconfig */, 156 | 3486E5D5668C7F5918A4F577 /* Pods-AARefreshControl_Tests.debug.xcconfig */, 157 | 27D66F36382981364E5F4E69 /* Pods-AARefreshControl_Tests.release.xcconfig */, 158 | ); 159 | path = Pods; 160 | sourceTree = ""; 161 | }; 162 | /* End PBXGroup section */ 163 | 164 | /* Begin PBXNativeTarget section */ 165 | 607FACCF1AFB9204008FA782 /* AARefreshControl_Example */ = { 166 | isa = PBXNativeTarget; 167 | buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "AARefreshControl_Example" */; 168 | buildPhases = ( 169 | A3CD0FAA017E8AEFB4CDA7FD /* [CP] Check Pods Manifest.lock */, 170 | 607FACCC1AFB9204008FA782 /* Sources */, 171 | 607FACCD1AFB9204008FA782 /* Frameworks */, 172 | 607FACCE1AFB9204008FA782 /* Resources */, 173 | DD24BA5752B194D3A0003005 /* [CP] Embed Pods Frameworks */, 174 | ); 175 | buildRules = ( 176 | ); 177 | dependencies = ( 178 | ); 179 | name = AARefreshControl_Example; 180 | productName = AARefreshControl; 181 | productReference = 607FACD01AFB9204008FA782 /* AARefreshControl_Example.app */; 182 | productType = "com.apple.product-type.application"; 183 | }; 184 | 607FACE41AFB9204008FA782 /* AARefreshControl_Tests */ = { 185 | isa = PBXNativeTarget; 186 | buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "AARefreshControl_Tests" */; 187 | buildPhases = ( 188 | B9459261EEAF508D6336100B /* [CP] Check Pods Manifest.lock */, 189 | 607FACE11AFB9204008FA782 /* Sources */, 190 | 607FACE21AFB9204008FA782 /* Frameworks */, 191 | 607FACE31AFB9204008FA782 /* Resources */, 192 | ); 193 | buildRules = ( 194 | ); 195 | dependencies = ( 196 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */, 197 | ); 198 | name = AARefreshControl_Tests; 199 | productName = Tests; 200 | productReference = 607FACE51AFB9204008FA782 /* AARefreshControl_Tests.xctest */; 201 | productType = "com.apple.product-type.bundle.unit-test"; 202 | }; 203 | /* End PBXNativeTarget section */ 204 | 205 | /* Begin PBXProject section */ 206 | 607FACC81AFB9204008FA782 /* Project object */ = { 207 | isa = PBXProject; 208 | attributes = { 209 | LastSwiftUpdateCheck = 0830; 210 | LastUpgradeCheck = 0830; 211 | ORGANIZATIONNAME = CocoaPods; 212 | TargetAttributes = { 213 | 607FACCF1AFB9204008FA782 = { 214 | CreatedOnToolsVersion = 6.3.1; 215 | LastSwiftMigration = 1020; 216 | }; 217 | 607FACE41AFB9204008FA782 = { 218 | CreatedOnToolsVersion = 6.3.1; 219 | LastSwiftMigration = 1020; 220 | TestTargetID = 607FACCF1AFB9204008FA782; 221 | }; 222 | }; 223 | }; 224 | buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "AARefreshControl" */; 225 | compatibilityVersion = "Xcode 3.2"; 226 | developmentRegion = English; 227 | hasScannedForEncodings = 0; 228 | knownRegions = ( 229 | English, 230 | en, 231 | Base, 232 | ); 233 | mainGroup = 607FACC71AFB9204008FA782; 234 | productRefGroup = 607FACD11AFB9204008FA782 /* Products */; 235 | projectDirPath = ""; 236 | projectRoot = ""; 237 | targets = ( 238 | 607FACCF1AFB9204008FA782 /* AARefreshControl_Example */, 239 | 607FACE41AFB9204008FA782 /* AARefreshControl_Tests */, 240 | ); 241 | }; 242 | /* End PBXProject section */ 243 | 244 | /* Begin PBXResourcesBuildPhase section */ 245 | 607FACCE1AFB9204008FA782 /* Resources */ = { 246 | isa = PBXResourcesBuildPhase; 247 | buildActionMask = 2147483647; 248 | files = ( 249 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */, 250 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */, 251 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, 252 | ); 253 | runOnlyForDeploymentPostprocessing = 0; 254 | }; 255 | 607FACE31AFB9204008FA782 /* Resources */ = { 256 | isa = PBXResourcesBuildPhase; 257 | buildActionMask = 2147483647; 258 | files = ( 259 | ); 260 | runOnlyForDeploymentPostprocessing = 0; 261 | }; 262 | /* End PBXResourcesBuildPhase section */ 263 | 264 | /* Begin PBXShellScriptBuildPhase section */ 265 | A3CD0FAA017E8AEFB4CDA7FD /* [CP] Check Pods Manifest.lock */ = { 266 | isa = PBXShellScriptBuildPhase; 267 | buildActionMask = 2147483647; 268 | files = ( 269 | ); 270 | inputFileListPaths = ( 271 | ); 272 | inputPaths = ( 273 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 274 | "${PODS_ROOT}/Manifest.lock", 275 | ); 276 | name = "[CP] Check Pods Manifest.lock"; 277 | outputFileListPaths = ( 278 | ); 279 | outputPaths = ( 280 | "$(DERIVED_FILE_DIR)/Pods-AARefreshControl_Example-checkManifestLockResult.txt", 281 | ); 282 | runOnlyForDeploymentPostprocessing = 0; 283 | shellPath = /bin/sh; 284 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 285 | showEnvVarsInLog = 0; 286 | }; 287 | B9459261EEAF508D6336100B /* [CP] Check Pods Manifest.lock */ = { 288 | isa = PBXShellScriptBuildPhase; 289 | buildActionMask = 2147483647; 290 | files = ( 291 | ); 292 | inputFileListPaths = ( 293 | ); 294 | inputPaths = ( 295 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 296 | "${PODS_ROOT}/Manifest.lock", 297 | ); 298 | name = "[CP] Check Pods Manifest.lock"; 299 | outputFileListPaths = ( 300 | ); 301 | outputPaths = ( 302 | "$(DERIVED_FILE_DIR)/Pods-AARefreshControl_Tests-checkManifestLockResult.txt", 303 | ); 304 | runOnlyForDeploymentPostprocessing = 0; 305 | shellPath = /bin/sh; 306 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 307 | showEnvVarsInLog = 0; 308 | }; 309 | DD24BA5752B194D3A0003005 /* [CP] Embed Pods Frameworks */ = { 310 | isa = PBXShellScriptBuildPhase; 311 | buildActionMask = 2147483647; 312 | files = ( 313 | ); 314 | inputFileListPaths = ( 315 | ); 316 | inputPaths = ( 317 | "${PODS_ROOT}/Target Support Files/Pods-AARefreshControl_Example/Pods-AARefreshControl_Example-frameworks.sh", 318 | "${BUILT_PRODUCTS_DIR}/AARefreshControl/AARefreshControl.framework", 319 | ); 320 | name = "[CP] Embed Pods Frameworks"; 321 | outputFileListPaths = ( 322 | ); 323 | outputPaths = ( 324 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AARefreshControl.framework", 325 | ); 326 | runOnlyForDeploymentPostprocessing = 0; 327 | shellPath = /bin/sh; 328 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-AARefreshControl_Example/Pods-AARefreshControl_Example-frameworks.sh\"\n"; 329 | showEnvVarsInLog = 0; 330 | }; 331 | /* End PBXShellScriptBuildPhase section */ 332 | 333 | /* Begin PBXSourcesBuildPhase section */ 334 | 607FACCC1AFB9204008FA782 /* Sources */ = { 335 | isa = PBXSourcesBuildPhase; 336 | buildActionMask = 2147483647; 337 | files = ( 338 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */, 339 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, 340 | ); 341 | runOnlyForDeploymentPostprocessing = 0; 342 | }; 343 | 607FACE11AFB9204008FA782 /* Sources */ = { 344 | isa = PBXSourcesBuildPhase; 345 | buildActionMask = 2147483647; 346 | files = ( 347 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */, 348 | ); 349 | runOnlyForDeploymentPostprocessing = 0; 350 | }; 351 | /* End PBXSourcesBuildPhase section */ 352 | 353 | /* Begin PBXTargetDependency section */ 354 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */ = { 355 | isa = PBXTargetDependency; 356 | target = 607FACCF1AFB9204008FA782 /* AARefreshControl_Example */; 357 | targetProxy = 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */; 358 | }; 359 | /* End PBXTargetDependency section */ 360 | 361 | /* Begin PBXVariantGroup section */ 362 | 607FACD91AFB9204008FA782 /* Main.storyboard */ = { 363 | isa = PBXVariantGroup; 364 | children = ( 365 | 607FACDA1AFB9204008FA782 /* Base */, 366 | ); 367 | name = Main.storyboard; 368 | sourceTree = ""; 369 | }; 370 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { 371 | isa = PBXVariantGroup; 372 | children = ( 373 | 607FACDF1AFB9204008FA782 /* Base */, 374 | ); 375 | name = LaunchScreen.xib; 376 | sourceTree = ""; 377 | }; 378 | /* End PBXVariantGroup section */ 379 | 380 | /* Begin XCBuildConfiguration section */ 381 | 607FACED1AFB9204008FA782 /* Debug */ = { 382 | isa = XCBuildConfiguration; 383 | buildSettings = { 384 | ALWAYS_SEARCH_USER_PATHS = NO; 385 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 386 | CLANG_CXX_LIBRARY = "libc++"; 387 | CLANG_ENABLE_MODULES = YES; 388 | CLANG_ENABLE_OBJC_ARC = YES; 389 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 390 | CLANG_WARN_BOOL_CONVERSION = YES; 391 | CLANG_WARN_COMMA = YES; 392 | CLANG_WARN_CONSTANT_CONVERSION = YES; 393 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 394 | CLANG_WARN_EMPTY_BODY = YES; 395 | CLANG_WARN_ENUM_CONVERSION = YES; 396 | CLANG_WARN_INFINITE_RECURSION = YES; 397 | CLANG_WARN_INT_CONVERSION = YES; 398 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 399 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 400 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 401 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 402 | CLANG_WARN_STRICT_PROTOTYPES = YES; 403 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 404 | CLANG_WARN_UNREACHABLE_CODE = YES; 405 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 406 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 407 | COPY_PHASE_STRIP = NO; 408 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 409 | ENABLE_STRICT_OBJC_MSGSEND = YES; 410 | ENABLE_TESTABILITY = YES; 411 | GCC_C_LANGUAGE_STANDARD = gnu99; 412 | GCC_DYNAMIC_NO_PIC = NO; 413 | GCC_NO_COMMON_BLOCKS = YES; 414 | GCC_OPTIMIZATION_LEVEL = 0; 415 | GCC_PREPROCESSOR_DEFINITIONS = ( 416 | "DEBUG=1", 417 | "$(inherited)", 418 | ); 419 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 420 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 421 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 422 | GCC_WARN_UNDECLARED_SELECTOR = YES; 423 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 424 | GCC_WARN_UNUSED_FUNCTION = YES; 425 | GCC_WARN_UNUSED_VARIABLE = YES; 426 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 427 | MTL_ENABLE_DEBUG_INFO = YES; 428 | ONLY_ACTIVE_ARCH = YES; 429 | SDKROOT = iphoneos; 430 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 431 | }; 432 | name = Debug; 433 | }; 434 | 607FACEE1AFB9204008FA782 /* Release */ = { 435 | isa = XCBuildConfiguration; 436 | buildSettings = { 437 | ALWAYS_SEARCH_USER_PATHS = NO; 438 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 439 | CLANG_CXX_LIBRARY = "libc++"; 440 | CLANG_ENABLE_MODULES = YES; 441 | CLANG_ENABLE_OBJC_ARC = YES; 442 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 443 | CLANG_WARN_BOOL_CONVERSION = YES; 444 | CLANG_WARN_COMMA = YES; 445 | CLANG_WARN_CONSTANT_CONVERSION = YES; 446 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 447 | CLANG_WARN_EMPTY_BODY = YES; 448 | CLANG_WARN_ENUM_CONVERSION = YES; 449 | CLANG_WARN_INFINITE_RECURSION = YES; 450 | CLANG_WARN_INT_CONVERSION = YES; 451 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 452 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 453 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 454 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 455 | CLANG_WARN_STRICT_PROTOTYPES = YES; 456 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 457 | CLANG_WARN_UNREACHABLE_CODE = YES; 458 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 459 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 460 | COPY_PHASE_STRIP = NO; 461 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 462 | ENABLE_NS_ASSERTIONS = NO; 463 | ENABLE_STRICT_OBJC_MSGSEND = YES; 464 | GCC_C_LANGUAGE_STANDARD = gnu99; 465 | GCC_NO_COMMON_BLOCKS = YES; 466 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 467 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 468 | GCC_WARN_UNDECLARED_SELECTOR = YES; 469 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 470 | GCC_WARN_UNUSED_FUNCTION = YES; 471 | GCC_WARN_UNUSED_VARIABLE = YES; 472 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 473 | MTL_ENABLE_DEBUG_INFO = NO; 474 | SDKROOT = iphoneos; 475 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 476 | VALIDATE_PRODUCT = YES; 477 | }; 478 | name = Release; 479 | }; 480 | 607FACF01AFB9204008FA782 /* Debug */ = { 481 | isa = XCBuildConfiguration; 482 | baseConfigurationReference = 70810AC7B41A68D8981FBE4E /* Pods-AARefreshControl_Example.debug.xcconfig */; 483 | buildSettings = { 484 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 485 | INFOPLIST_FILE = AARefreshControl/Info.plist; 486 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 487 | MODULE_NAME = ExampleApp; 488 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 489 | PRODUCT_NAME = "$(TARGET_NAME)"; 490 | SWIFT_VERSION = 5.0; 491 | }; 492 | name = Debug; 493 | }; 494 | 607FACF11AFB9204008FA782 /* Release */ = { 495 | isa = XCBuildConfiguration; 496 | baseConfigurationReference = D02812B63596B9F0A40A992F /* Pods-AARefreshControl_Example.release.xcconfig */; 497 | buildSettings = { 498 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 499 | INFOPLIST_FILE = AARefreshControl/Info.plist; 500 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 501 | MODULE_NAME = ExampleApp; 502 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 503 | PRODUCT_NAME = "$(TARGET_NAME)"; 504 | SWIFT_VERSION = 5.0; 505 | }; 506 | name = Release; 507 | }; 508 | 607FACF31AFB9204008FA782 /* Debug */ = { 509 | isa = XCBuildConfiguration; 510 | baseConfigurationReference = 3486E5D5668C7F5918A4F577 /* Pods-AARefreshControl_Tests.debug.xcconfig */; 511 | buildSettings = { 512 | FRAMEWORK_SEARCH_PATHS = ( 513 | "$(SDKROOT)/Developer/Library/Frameworks", 514 | "$(inherited)", 515 | ); 516 | GCC_PREPROCESSOR_DEFINITIONS = ( 517 | "DEBUG=1", 518 | "$(inherited)", 519 | ); 520 | INFOPLIST_FILE = Tests/Info.plist; 521 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 522 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 523 | PRODUCT_NAME = "$(TARGET_NAME)"; 524 | SWIFT_VERSION = 5.0; 525 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/AARefreshControl_Example.app/AARefreshControl_Example"; 526 | }; 527 | name = Debug; 528 | }; 529 | 607FACF41AFB9204008FA782 /* Release */ = { 530 | isa = XCBuildConfiguration; 531 | baseConfigurationReference = 27D66F36382981364E5F4E69 /* Pods-AARefreshControl_Tests.release.xcconfig */; 532 | buildSettings = { 533 | FRAMEWORK_SEARCH_PATHS = ( 534 | "$(SDKROOT)/Developer/Library/Frameworks", 535 | "$(inherited)", 536 | ); 537 | INFOPLIST_FILE = Tests/Info.plist; 538 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 539 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 540 | PRODUCT_NAME = "$(TARGET_NAME)"; 541 | SWIFT_VERSION = 5.0; 542 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/AARefreshControl_Example.app/AARefreshControl_Example"; 543 | }; 544 | name = Release; 545 | }; 546 | /* End XCBuildConfiguration section */ 547 | 548 | /* Begin XCConfigurationList section */ 549 | 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "AARefreshControl" */ = { 550 | isa = XCConfigurationList; 551 | buildConfigurations = ( 552 | 607FACED1AFB9204008FA782 /* Debug */, 553 | 607FACEE1AFB9204008FA782 /* Release */, 554 | ); 555 | defaultConfigurationIsVisible = 0; 556 | defaultConfigurationName = Release; 557 | }; 558 | 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "AARefreshControl_Example" */ = { 559 | isa = XCConfigurationList; 560 | buildConfigurations = ( 561 | 607FACF01AFB9204008FA782 /* Debug */, 562 | 607FACF11AFB9204008FA782 /* Release */, 563 | ); 564 | defaultConfigurationIsVisible = 0; 565 | defaultConfigurationName = Release; 566 | }; 567 | 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "AARefreshControl_Tests" */ = { 568 | isa = XCConfigurationList; 569 | buildConfigurations = ( 570 | 607FACF31AFB9204008FA782 /* Debug */, 571 | 607FACF41AFB9204008FA782 /* Release */, 572 | ); 573 | defaultConfigurationIsVisible = 0; 574 | defaultConfigurationName = Release; 575 | }; 576 | /* End XCConfigurationList section */ 577 | }; 578 | rootObject = 607FACC81AFB9204008FA782 /* Project object */; 579 | } 580 | -------------------------------------------------------------------------------- /Example/AARefreshControl.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/AARefreshControl.xcodeproj/xcshareddata/xcschemes/AARefreshControl-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 45 | 46 | 48 | 54 | 55 | 56 | 57 | 58 | 64 | 65 | 66 | 67 | 68 | 69 | 80 | 82 | 88 | 89 | 90 | 91 | 92 | 93 | 99 | 101 | 107 | 108 | 109 | 110 | 112 | 113 | 116 | 117 | 118 | -------------------------------------------------------------------------------- /Example/AARefreshControl.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/AARefreshControl.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/AARefreshControl/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // AARefreshControl 4 | // 5 | // Created by EngrAhsanAli on 06/15/2019. 6 | // Copyright (c) 2019 EngrAhsanAli. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | @UIApplicationMain 12 | class AppDelegate: UIResponder, UIApplicationDelegate { 13 | 14 | var window: UIWindow? 15 | 16 | 17 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { 18 | // Override point for customization after application launch. 19 | return true 20 | } 21 | 22 | func applicationWillResignActive(_ application: UIApplication) { 23 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 24 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 25 | } 26 | 27 | func applicationDidEnterBackground(_ application: UIApplication) { 28 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 29 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 30 | } 31 | 32 | func applicationWillEnterForeground(_ application: UIApplication) { 33 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 34 | } 35 | 36 | func applicationDidBecomeActive(_ application: UIApplication) { 37 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 38 | } 39 | 40 | func applicationWillTerminate(_ application: UIApplication) { 41 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 42 | } 43 | 44 | 45 | } 46 | 47 | -------------------------------------------------------------------------------- /Example/AARefreshControl/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 27 | 28 | 29 | 30 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /Example/AARefreshControl/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /Example/AARefreshControl/Images.xcassets/AA.imageset/17049477.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AARefreshControl/103210982779cc35313a6deb7ea2d3472555bec8/Example/AARefreshControl/Images.xcassets/AA.imageset/17049477.png -------------------------------------------------------------------------------- /Example/AARefreshControl/Images.xcassets/AA.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "17049477.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Example/AARefreshControl/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "size" : "20x20", 5 | "idiom" : "iphone", 6 | "filename" : "Icon-App-20x20@2x.png", 7 | "scale" : "2x" 8 | }, 9 | { 10 | "size" : "20x20", 11 | "idiom" : "iphone", 12 | "filename" : "Icon-App-20x20@3x.png", 13 | "scale" : "3x" 14 | }, 15 | { 16 | "size" : "29x29", 17 | "idiom" : "iphone", 18 | "filename" : "Icon-App-29x29@1x.png", 19 | "scale" : "1x" 20 | }, 21 | { 22 | "size" : "29x29", 23 | "idiom" : "iphone", 24 | "filename" : "Icon-App-29x29@2x.png", 25 | "scale" : "2x" 26 | }, 27 | { 28 | "size" : "29x29", 29 | "idiom" : "iphone", 30 | "filename" : "Icon-App-29x29@3x.png", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "size" : "40x40", 35 | "idiom" : "iphone", 36 | "filename" : "Icon-App-40x40@2x.png", 37 | "scale" : "2x" 38 | }, 39 | { 40 | "size" : "40x40", 41 | "idiom" : "iphone", 42 | "filename" : "Icon-App-40x40@3x.png", 43 | "scale" : "3x" 44 | }, 45 | { 46 | "size" : "57x57", 47 | "idiom" : "iphone", 48 | "filename" : "Icon-App-57x57@1x.png", 49 | "scale" : "1x" 50 | }, 51 | { 52 | "size" : "57x57", 53 | "idiom" : "iphone", 54 | "filename" : "Icon-App-57x57@2x.png", 55 | "scale" : "2x" 56 | }, 57 | { 58 | "size" : "60x60", 59 | "idiom" : "iphone", 60 | "filename" : "Icon-App-60x60@2x.png", 61 | "scale" : "2x" 62 | }, 63 | { 64 | "size" : "60x60", 65 | "idiom" : "iphone", 66 | "filename" : "Icon-App-60x60@3x.png", 67 | "scale" : "3x" 68 | }, 69 | { 70 | "size" : "20x20", 71 | "idiom" : "ipad", 72 | "filename" : "Icon-App-20x20@1x.png", 73 | "scale" : "1x" 74 | }, 75 | { 76 | "size" : "20x20", 77 | "idiom" : "ipad", 78 | "filename" : "Icon-App-20x20@2x.png", 79 | "scale" : "2x" 80 | }, 81 | { 82 | "size" : "29x29", 83 | "idiom" : "ipad", 84 | "filename" : "Icon-App-29x29@1x.png", 85 | "scale" : "1x" 86 | }, 87 | { 88 | "size" : "29x29", 89 | "idiom" : "ipad", 90 | "filename" : "Icon-App-29x29@2x.png", 91 | "scale" : "2x" 92 | }, 93 | { 94 | "size" : "40x40", 95 | "idiom" : "ipad", 96 | "filename" : "Icon-App-40x40@1x.png", 97 | "scale" : "1x" 98 | }, 99 | { 100 | "size" : "40x40", 101 | "idiom" : "ipad", 102 | "filename" : "Icon-App-40x40@2x.png", 103 | "scale" : "2x" 104 | }, 105 | { 106 | "size" : "50x50", 107 | "idiom" : "ipad", 108 | "filename" : "Icon-Small-50x50@1x.png", 109 | "scale" : "1x" 110 | }, 111 | { 112 | "size" : "50x50", 113 | "idiom" : "ipad", 114 | "filename" : "Icon-Small-50x50@2x.png", 115 | "scale" : "2x" 116 | }, 117 | { 118 | "size" : "72x72", 119 | "idiom" : "ipad", 120 | "filename" : "Icon-App-72x72@1x.png", 121 | "scale" : "1x" 122 | }, 123 | { 124 | "size" : "72x72", 125 | "idiom" : "ipad", 126 | "filename" : "Icon-App-72x72@2x.png", 127 | "scale" : "2x" 128 | }, 129 | { 130 | "size" : "76x76", 131 | "idiom" : "ipad", 132 | "filename" : "Icon-App-76x76@1x.png", 133 | "scale" : "1x" 134 | }, 135 | { 136 | "size" : "76x76", 137 | "idiom" : "ipad", 138 | "filename" : "Icon-App-76x76@2x.png", 139 | "scale" : "2x" 140 | }, 141 | { 142 | "size" : "83.5x83.5", 143 | "idiom" : "ipad", 144 | "filename" : "Icon-App-83.5x83.5@2x.png", 145 | "scale" : "2x" 146 | }, 147 | { 148 | "idiom" : "ios-marketing", 149 | "size" : "1024x1024", 150 | "scale" : "1x" 151 | } 152 | ], 153 | "info" : { 154 | "version" : 1, 155 | "author" : "xcode" 156 | } 157 | } -------------------------------------------------------------------------------- /Example/AARefreshControl/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AARefreshControl/103210982779cc35313a6deb7ea2d3472555bec8/Example/AARefreshControl/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png -------------------------------------------------------------------------------- /Example/AARefreshControl/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AARefreshControl/103210982779cc35313a6deb7ea2d3472555bec8/Example/AARefreshControl/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png -------------------------------------------------------------------------------- /Example/AARefreshControl/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AARefreshControl/103210982779cc35313a6deb7ea2d3472555bec8/Example/AARefreshControl/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png -------------------------------------------------------------------------------- /Example/AARefreshControl/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AARefreshControl/103210982779cc35313a6deb7ea2d3472555bec8/Example/AARefreshControl/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png -------------------------------------------------------------------------------- /Example/AARefreshControl/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AARefreshControl/103210982779cc35313a6deb7ea2d3472555bec8/Example/AARefreshControl/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png -------------------------------------------------------------------------------- /Example/AARefreshControl/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AARefreshControl/103210982779cc35313a6deb7ea2d3472555bec8/Example/AARefreshControl/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png -------------------------------------------------------------------------------- /Example/AARefreshControl/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AARefreshControl/103210982779cc35313a6deb7ea2d3472555bec8/Example/AARefreshControl/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png -------------------------------------------------------------------------------- /Example/AARefreshControl/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AARefreshControl/103210982779cc35313a6deb7ea2d3472555bec8/Example/AARefreshControl/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png -------------------------------------------------------------------------------- /Example/AARefreshControl/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AARefreshControl/103210982779cc35313a6deb7ea2d3472555bec8/Example/AARefreshControl/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png -------------------------------------------------------------------------------- /Example/AARefreshControl/Images.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AARefreshControl/103210982779cc35313a6deb7ea2d3472555bec8/Example/AARefreshControl/Images.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png -------------------------------------------------------------------------------- /Example/AARefreshControl/Images.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AARefreshControl/103210982779cc35313a6deb7ea2d3472555bec8/Example/AARefreshControl/Images.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png -------------------------------------------------------------------------------- /Example/AARefreshControl/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AARefreshControl/103210982779cc35313a6deb7ea2d3472555bec8/Example/AARefreshControl/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png -------------------------------------------------------------------------------- /Example/AARefreshControl/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AARefreshControl/103210982779cc35313a6deb7ea2d3472555bec8/Example/AARefreshControl/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png -------------------------------------------------------------------------------- /Example/AARefreshControl/Images.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AARefreshControl/103210982779cc35313a6deb7ea2d3472555bec8/Example/AARefreshControl/Images.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png -------------------------------------------------------------------------------- /Example/AARefreshControl/Images.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AARefreshControl/103210982779cc35313a6deb7ea2d3472555bec8/Example/AARefreshControl/Images.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png -------------------------------------------------------------------------------- /Example/AARefreshControl/Images.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AARefreshControl/103210982779cc35313a6deb7ea2d3472555bec8/Example/AARefreshControl/Images.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png -------------------------------------------------------------------------------- /Example/AARefreshControl/Images.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AARefreshControl/103210982779cc35313a6deb7ea2d3472555bec8/Example/AARefreshControl/Images.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png -------------------------------------------------------------------------------- /Example/AARefreshControl/Images.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AARefreshControl/103210982779cc35313a6deb7ea2d3472555bec8/Example/AARefreshControl/Images.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png -------------------------------------------------------------------------------- /Example/AARefreshControl/Images.xcassets/AppIcon.appiconset/Icon-Small-50x50@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AARefreshControl/103210982779cc35313a6deb7ea2d3472555bec8/Example/AARefreshControl/Images.xcassets/AppIcon.appiconset/Icon-Small-50x50@1x.png -------------------------------------------------------------------------------- /Example/AARefreshControl/Images.xcassets/AppIcon.appiconset/Icon-Small-50x50@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AARefreshControl/103210982779cc35313a6deb7ea2d3472555bec8/Example/AARefreshControl/Images.xcassets/AppIcon.appiconset/Icon-Small-50x50@2x.png -------------------------------------------------------------------------------- /Example/AARefreshControl/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Example/AARefreshControl/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /Example/AARefreshControl/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // AARefreshControl 4 | // 5 | // Created by EngrAhsanAli on 06/15/2019. 6 | // Copyright (c) 2019 EngrAhsanAli. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import AARefreshControl 11 | 12 | class ViewController: UIViewController { 13 | 14 | @IBOutlet weak var tableView: UITableView! 15 | 16 | var refreshControl: AARefreshControl! 17 | 18 | override func viewDidLoad() { 19 | super.viewDidLoad() 20 | // Do any additional setup after loading the view, typically from a nib. 21 | 22 | refreshControl = AARefreshControl(scrollView: tableView) 23 | refreshControl.tintColor = UIColor.black 24 | refreshControl.activityIndicatorViewColor = UIColor.gray 25 | refreshControl.addTarget(self, action: #selector(self.refresh(_:)), for: .valueChanged) 26 | tableView.addSubview(refreshControl) 27 | 28 | } 29 | 30 | @objc func refresh(_ sender: Any?) { 31 | 32 | refreshControl.beginRefreshing() 33 | 34 | DispatchQueue.main.asyncAfter(deadline: .now() + 2 ) { 35 | self.refreshControl.endRefreshing() 36 | print("REFRESHED") 37 | } 38 | 39 | } 40 | 41 | override func didReceiveMemoryWarning() { 42 | super.didReceiveMemoryWarning() 43 | // Dispose of any resources that can be recreated. 44 | } 45 | 46 | } 47 | 48 | extension ViewController: UITableViewDelegate, UITableViewDataSource { 49 | 50 | func numberOfSections(in tableView: UITableView) -> Int { 51 | return 1 52 | } 53 | 54 | func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { 55 | return 1000 56 | } 57 | 58 | func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { 59 | let cell = tableView.dequeueReusableCell(withIdentifier: "Cell")! 60 | cell.textLabel?.text = "NUMBER \(indexPath.row)" 61 | return cell 62 | } 63 | 64 | } 65 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | 3 | target 'AARefreshControl_Example' do 4 | pod 'AARefreshControl', :path => '../' 5 | 6 | target 'AARefreshControl_Tests' do 7 | inherit! :search_paths 8 | 9 | 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - AARefreshControl (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - AARefreshControl (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | AARefreshControl: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | AARefreshControl: 87a7ca5d3dc1c7aec7be84c55952397914a4556d 13 | 14 | PODFILE CHECKSUM: 5b697cc9b010ee5ab4ca562e6bd6e4dfa4ac86ef 15 | 16 | COCOAPODS: 1.6.2 17 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/AARefreshControl.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "AARefreshControl", 3 | "version": "0.1.0", 4 | "summary": "AARefreshControl is pull to refresh control for UITableView and UICollectionView", 5 | "description": "TODO: Add long description of the pod here.", 6 | "homepage": "https://github.com/EngrAhsanAli/AARefreshControl", 7 | "license": { 8 | "type": "MIT", 9 | "file": "LICENSE" 10 | }, 11 | "authors": { 12 | "EngrAhsanAli": "hafiz.m.ahsan.ali@gmail.com" 13 | }, 14 | "source": { 15 | "git": "https://github.com/EngrAhsanAli/AARefreshControl.git", 16 | "tag": "0.1.0" 17 | }, 18 | "platforms": { 19 | "ios": "8.0" 20 | }, 21 | "source_files": "AARefreshControl/Classes/**/*" 22 | } 23 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - AARefreshControl (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - AARefreshControl (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | AARefreshControl: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | AARefreshControl: 87a7ca5d3dc1c7aec7be84c55952397914a4556d 13 | 14 | PODFILE CHECKSUM: 5b697cc9b010ee5ab4ca562e6bd6e4dfa4ac86ef 15 | 16 | COCOAPODS: 1.6.2 17 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 2E3A7B24E6A8CF439B41D2DFB280737B /* AARefreshControl-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = B5A443FB498AD16AA8E868311A506DD9 /* AARefreshControl-dummy.m */; }; 11 | 3116B40B7864317B02874A9497E15281 /* AARefreshControl-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 5B4C4EFBC12F65B9CF631F250B13B4C5 /* AARefreshControl-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 12 | 3809ECCF28A0465FE264EC8F370A9892 /* Pods-AARefreshControl_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 0FD14AEFB7ACF65732B9F9FF4DE696A4 /* Pods-AARefreshControl_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 13 | 586DFED460A60C6C2B559722E47806FD /* AARefreshControl.swift in Sources */ = {isa = PBXBuildFile; fileRef = F9CB399B728A68D1D88073A899D026DA /* AARefreshControl.swift */; }; 14 | 94BF67BCBCE6B97B842DE64D538BC519 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */; }; 15 | AA1A6D896ADB1EC9F23C1EEF31231D16 /* Pods-AARefreshControl_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 44AD6B778447174CA3C94F613603CEC1 /* Pods-AARefreshControl_Example-dummy.m */; }; 16 | C536BF27DADDF0A106B9F99DF06ECA08 /* Pods-AARefreshControl_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = F2C912F16D2787FA1E9A18E413F1C7CA /* Pods-AARefreshControl_Tests-dummy.m */; }; 17 | CB569F7F47F8051B9B4769EF7B38A11A /* Pods-AARefreshControl_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 9782DF567C7CD75503454409DC12A2E4 /* Pods-AARefreshControl_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 18 | E782774FA2E2E903921D72F25035545B /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */; }; 19 | FD0AB503C95B3684F158EE413C44DDDE /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */; }; 20 | /* End PBXBuildFile section */ 21 | 22 | /* Begin PBXContainerItemProxy section */ 23 | 3B3977572540CBB605797898E0CD2397 /* PBXContainerItemProxy */ = { 24 | isa = PBXContainerItemProxy; 25 | containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; 26 | proxyType = 1; 27 | remoteGlobalIDString = ED192C104713F073DC48B82860304FAC; 28 | remoteInfo = "Pods-AARefreshControl_Example"; 29 | }; 30 | C32396374F743D4AB2A09798210D1F67 /* PBXContainerItemProxy */ = { 31 | isa = PBXContainerItemProxy; 32 | containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; 33 | proxyType = 1; 34 | remoteGlobalIDString = BFC1B817556F15C7DBB0CE3BD1B69469; 35 | remoteInfo = AARefreshControl; 36 | }; 37 | /* End PBXContainerItemProxy section */ 38 | 39 | /* Begin PBXFileReference section */ 40 | 04C682BC21C4F26B4777FF8A5AAD41C6 /* AARefreshControl-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "AARefreshControl-prefix.pch"; sourceTree = ""; }; 41 | 062295D9F3E740A8C2F89C6A4AFE5631 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; path = LICENSE; sourceTree = ""; }; 42 | 076B8E57D57AC1BCE2E5A7B5598C6D81 /* AARefreshControl-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "AARefreshControl-Info.plist"; sourceTree = ""; }; 43 | 0A65658F18D1DB5085D7534CAFAD493B /* Pods-AARefreshControl_Tests-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-AARefreshControl_Tests-Info.plist"; sourceTree = ""; }; 44 | 0B83458E65879D915E0694FB0B9E7C8C /* Pods_AARefreshControl_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_AARefreshControl_Tests.framework; path = "Pods-AARefreshControl_Tests.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; 45 | 0FD14AEFB7ACF65732B9F9FF4DE696A4 /* Pods-AARefreshControl_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-AARefreshControl_Tests-umbrella.h"; sourceTree = ""; }; 46 | 10982A5CE228DC30584048E139C5EB5C /* AARefreshControl.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; path = AARefreshControl.podspec; sourceTree = ""; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 47 | 12BEF2686DE0923FA82AE544B148CB84 /* Pods-AARefreshControl_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-AARefreshControl_Example-acknowledgements.markdown"; sourceTree = ""; }; 48 | 14A7966ED03490823B7FF851A5A5539A /* AARefreshControl.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = AARefreshControl.xcconfig; sourceTree = ""; }; 49 | 25D6FE5E3859F7EA00F820FA090EC6CB /* Pods-AARefreshControl_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AARefreshControl_Example.release.xcconfig"; sourceTree = ""; }; 50 | 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.2.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 51 | 44AD6B778447174CA3C94F613603CEC1 /* Pods-AARefreshControl_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-AARefreshControl_Example-dummy.m"; sourceTree = ""; }; 52 | 4CC98722C2EF948D95BE890497C6FDBA /* Pods-AARefreshControl_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-AARefreshControl_Tests-acknowledgements.plist"; sourceTree = ""; }; 53 | 5B4C4EFBC12F65B9CF631F250B13B4C5 /* AARefreshControl-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "AARefreshControl-umbrella.h"; sourceTree = ""; }; 54 | 6024F77D8CC4830AA8802EB0EA1920A0 /* Pods-AARefreshControl_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-AARefreshControl_Tests-acknowledgements.markdown"; sourceTree = ""; }; 55 | 6AB63A21A932DBBE505E47077692BE7F /* Pods_AARefreshControl_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_AARefreshControl_Example.framework; path = "Pods-AARefreshControl_Example.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; 56 | 6AB7A6BA174892F33DDFEE187753A423 /* Pods-AARefreshControl_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AARefreshControl_Tests.debug.xcconfig"; sourceTree = ""; }; 57 | 7B52F27E5CBCDA51D090DB9546290F03 /* Pods-AARefreshControl_Example-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-AARefreshControl_Example-Info.plist"; sourceTree = ""; }; 58 | 8096ADFAEC613AFDB4E376EAAD39FE18 /* Pods-AARefreshControl_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AARefreshControl_Example.debug.xcconfig"; sourceTree = ""; }; 59 | 8C34499E7F683E2A38D108722AD80ABD /* Pods-AARefreshControl_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-AARefreshControl_Example-acknowledgements.plist"; sourceTree = ""; }; 60 | 9782DF567C7CD75503454409DC12A2E4 /* Pods-AARefreshControl_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-AARefreshControl_Example-umbrella.h"; sourceTree = ""; }; 61 | 99EFD4492C1E7BBFBC764539073FDCF9 /* AARefreshControl.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = AARefreshControl.framework; path = AARefreshControl.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 62 | 9C214BA1D0FF110051F10BAFB9F7E7D7 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; path = README.md; sourceTree = ""; }; 63 | 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 64 | B5A443FB498AD16AA8E868311A506DD9 /* AARefreshControl-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "AARefreshControl-dummy.m"; sourceTree = ""; }; 65 | B9CD2AA34C5F63D14303B705E5FEB286 /* Pods-AARefreshControl_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-AARefreshControl_Example.modulemap"; sourceTree = ""; }; 66 | CB3EE55B080CA6A552EC3BF3506565B4 /* Pods-AARefreshControl_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-AARefreshControl_Example-frameworks.sh"; sourceTree = ""; }; 67 | E2EF47C95491E630085C0E713D24346F /* Pods-AARefreshControl_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-AARefreshControl_Tests.modulemap"; sourceTree = ""; }; 68 | EE079295CD03263964647844D60AA3A0 /* AARefreshControl.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = AARefreshControl.modulemap; sourceTree = ""; }; 69 | F2C912F16D2787FA1E9A18E413F1C7CA /* Pods-AARefreshControl_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-AARefreshControl_Tests-dummy.m"; sourceTree = ""; }; 70 | F3FFD0DCB741437365399E24D74CE92F /* Pods-AARefreshControl_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AARefreshControl_Tests.release.xcconfig"; sourceTree = ""; }; 71 | F9CB399B728A68D1D88073A899D026DA /* AARefreshControl.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AARefreshControl.swift; path = AARefreshControl/Classes/AARefreshControl.swift; sourceTree = ""; }; 72 | /* End PBXFileReference section */ 73 | 74 | /* Begin PBXFrameworksBuildPhase section */ 75 | 04F260149B2624153278F8399FC6EA4E /* Frameworks */ = { 76 | isa = PBXFrameworksBuildPhase; 77 | buildActionMask = 2147483647; 78 | files = ( 79 | FD0AB503C95B3684F158EE413C44DDDE /* Foundation.framework in Frameworks */, 80 | ); 81 | runOnlyForDeploymentPostprocessing = 0; 82 | }; 83 | 6A2A68BC6CDF3DCF4359E78BD5915E69 /* Frameworks */ = { 84 | isa = PBXFrameworksBuildPhase; 85 | buildActionMask = 2147483647; 86 | files = ( 87 | 94BF67BCBCE6B97B842DE64D538BC519 /* Foundation.framework in Frameworks */, 88 | ); 89 | runOnlyForDeploymentPostprocessing = 0; 90 | }; 91 | D4CE2F2267298EB3A500B443DF41BAC4 /* Frameworks */ = { 92 | isa = PBXFrameworksBuildPhase; 93 | buildActionMask = 2147483647; 94 | files = ( 95 | E782774FA2E2E903921D72F25035545B /* Foundation.framework in Frameworks */, 96 | ); 97 | runOnlyForDeploymentPostprocessing = 0; 98 | }; 99 | /* End PBXFrameworksBuildPhase section */ 100 | 101 | /* Begin PBXGroup section */ 102 | 183EB6A664A3F3654C99E8B9C8E937CB /* Pods-AARefreshControl_Tests */ = { 103 | isa = PBXGroup; 104 | children = ( 105 | E2EF47C95491E630085C0E713D24346F /* Pods-AARefreshControl_Tests.modulemap */, 106 | 6024F77D8CC4830AA8802EB0EA1920A0 /* Pods-AARefreshControl_Tests-acknowledgements.markdown */, 107 | 4CC98722C2EF948D95BE890497C6FDBA /* Pods-AARefreshControl_Tests-acknowledgements.plist */, 108 | F2C912F16D2787FA1E9A18E413F1C7CA /* Pods-AARefreshControl_Tests-dummy.m */, 109 | 0A65658F18D1DB5085D7534CAFAD493B /* Pods-AARefreshControl_Tests-Info.plist */, 110 | 0FD14AEFB7ACF65732B9F9FF4DE696A4 /* Pods-AARefreshControl_Tests-umbrella.h */, 111 | 6AB7A6BA174892F33DDFEE187753A423 /* Pods-AARefreshControl_Tests.debug.xcconfig */, 112 | F3FFD0DCB741437365399E24D74CE92F /* Pods-AARefreshControl_Tests.release.xcconfig */, 113 | ); 114 | name = "Pods-AARefreshControl_Tests"; 115 | path = "Target Support Files/Pods-AARefreshControl_Tests"; 116 | sourceTree = ""; 117 | }; 118 | 1A63778361E69047ED45641298FF236D /* Development Pods */ = { 119 | isa = PBXGroup; 120 | children = ( 121 | 7CA8DCF66F391B5F388EB4B776CBA396 /* AARefreshControl */, 122 | ); 123 | name = "Development Pods"; 124 | sourceTree = ""; 125 | }; 126 | 263C248DE6062747A1542D612620D818 /* Pods-AARefreshControl_Example */ = { 127 | isa = PBXGroup; 128 | children = ( 129 | B9CD2AA34C5F63D14303B705E5FEB286 /* Pods-AARefreshControl_Example.modulemap */, 130 | 12BEF2686DE0923FA82AE544B148CB84 /* Pods-AARefreshControl_Example-acknowledgements.markdown */, 131 | 8C34499E7F683E2A38D108722AD80ABD /* Pods-AARefreshControl_Example-acknowledgements.plist */, 132 | 44AD6B778447174CA3C94F613603CEC1 /* Pods-AARefreshControl_Example-dummy.m */, 133 | CB3EE55B080CA6A552EC3BF3506565B4 /* Pods-AARefreshControl_Example-frameworks.sh */, 134 | 7B52F27E5CBCDA51D090DB9546290F03 /* Pods-AARefreshControl_Example-Info.plist */, 135 | 9782DF567C7CD75503454409DC12A2E4 /* Pods-AARefreshControl_Example-umbrella.h */, 136 | 8096ADFAEC613AFDB4E376EAAD39FE18 /* Pods-AARefreshControl_Example.debug.xcconfig */, 137 | 25D6FE5E3859F7EA00F820FA090EC6CB /* Pods-AARefreshControl_Example.release.xcconfig */, 138 | ); 139 | name = "Pods-AARefreshControl_Example"; 140 | path = "Target Support Files/Pods-AARefreshControl_Example"; 141 | sourceTree = ""; 142 | }; 143 | 294276E206450AC55FAD2F97E2A1BC2F /* Products */ = { 144 | isa = PBXGroup; 145 | children = ( 146 | 99EFD4492C1E7BBFBC764539073FDCF9 /* AARefreshControl.framework */, 147 | 6AB63A21A932DBBE505E47077692BE7F /* Pods_AARefreshControl_Example.framework */, 148 | 0B83458E65879D915E0694FB0B9E7C8C /* Pods_AARefreshControl_Tests.framework */, 149 | ); 150 | name = Products; 151 | sourceTree = ""; 152 | }; 153 | 2BE93B8E2F8FD631141C80E3768C3B40 /* Targets Support Files */ = { 154 | isa = PBXGroup; 155 | children = ( 156 | 263C248DE6062747A1542D612620D818 /* Pods-AARefreshControl_Example */, 157 | 183EB6A664A3F3654C99E8B9C8E937CB /* Pods-AARefreshControl_Tests */, 158 | ); 159 | name = "Targets Support Files"; 160 | sourceTree = ""; 161 | }; 162 | 7CA8DCF66F391B5F388EB4B776CBA396 /* AARefreshControl */ = { 163 | isa = PBXGroup; 164 | children = ( 165 | F9CB399B728A68D1D88073A899D026DA /* AARefreshControl.swift */, 166 | 874EADE15100C474CB4DF140B3AF12FF /* Pod */, 167 | AEC8423479717D3F7741901AEDBD3B13 /* Support Files */, 168 | ); 169 | name = AARefreshControl; 170 | path = ../..; 171 | sourceTree = ""; 172 | }; 173 | 874EADE15100C474CB4DF140B3AF12FF /* Pod */ = { 174 | isa = PBXGroup; 175 | children = ( 176 | 10982A5CE228DC30584048E139C5EB5C /* AARefreshControl.podspec */, 177 | 062295D9F3E740A8C2F89C6A4AFE5631 /* LICENSE */, 178 | 9C214BA1D0FF110051F10BAFB9F7E7D7 /* README.md */, 179 | ); 180 | name = Pod; 181 | sourceTree = ""; 182 | }; 183 | AEC8423479717D3F7741901AEDBD3B13 /* Support Files */ = { 184 | isa = PBXGroup; 185 | children = ( 186 | EE079295CD03263964647844D60AA3A0 /* AARefreshControl.modulemap */, 187 | 14A7966ED03490823B7FF851A5A5539A /* AARefreshControl.xcconfig */, 188 | B5A443FB498AD16AA8E868311A506DD9 /* AARefreshControl-dummy.m */, 189 | 076B8E57D57AC1BCE2E5A7B5598C6D81 /* AARefreshControl-Info.plist */, 190 | 04C682BC21C4F26B4777FF8A5AAD41C6 /* AARefreshControl-prefix.pch */, 191 | 5B4C4EFBC12F65B9CF631F250B13B4C5 /* AARefreshControl-umbrella.h */, 192 | ); 193 | name = "Support Files"; 194 | path = "Example/Pods/Target Support Files/AARefreshControl"; 195 | sourceTree = ""; 196 | }; 197 | C0834CEBB1379A84116EF29F93051C60 /* iOS */ = { 198 | isa = PBXGroup; 199 | children = ( 200 | 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */, 201 | ); 202 | name = iOS; 203 | sourceTree = ""; 204 | }; 205 | CF1408CF629C7361332E53B88F7BD30C = { 206 | isa = PBXGroup; 207 | children = ( 208 | 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */, 209 | 1A63778361E69047ED45641298FF236D /* Development Pods */, 210 | D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */, 211 | 294276E206450AC55FAD2F97E2A1BC2F /* Products */, 212 | 2BE93B8E2F8FD631141C80E3768C3B40 /* Targets Support Files */, 213 | ); 214 | sourceTree = ""; 215 | }; 216 | D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */ = { 217 | isa = PBXGroup; 218 | children = ( 219 | C0834CEBB1379A84116EF29F93051C60 /* iOS */, 220 | ); 221 | name = Frameworks; 222 | sourceTree = ""; 223 | }; 224 | /* End PBXGroup section */ 225 | 226 | /* Begin PBXHeadersBuildPhase section */ 227 | C2EBF6444273DD73DB82D8FCF051CD44 /* Headers */ = { 228 | isa = PBXHeadersBuildPhase; 229 | buildActionMask = 2147483647; 230 | files = ( 231 | 3809ECCF28A0465FE264EC8F370A9892 /* Pods-AARefreshControl_Tests-umbrella.h in Headers */, 232 | ); 233 | runOnlyForDeploymentPostprocessing = 0; 234 | }; 235 | C3F2F2495995EEFF16DC8CD110B8AE8B /* Headers */ = { 236 | isa = PBXHeadersBuildPhase; 237 | buildActionMask = 2147483647; 238 | files = ( 239 | CB569F7F47F8051B9B4769EF7B38A11A /* Pods-AARefreshControl_Example-umbrella.h in Headers */, 240 | ); 241 | runOnlyForDeploymentPostprocessing = 0; 242 | }; 243 | F2C7440EDC4568E48BAD3763D350DAA8 /* Headers */ = { 244 | isa = PBXHeadersBuildPhase; 245 | buildActionMask = 2147483647; 246 | files = ( 247 | 3116B40B7864317B02874A9497E15281 /* AARefreshControl-umbrella.h in Headers */, 248 | ); 249 | runOnlyForDeploymentPostprocessing = 0; 250 | }; 251 | /* End PBXHeadersBuildPhase section */ 252 | 253 | /* Begin PBXNativeTarget section */ 254 | BFC1B817556F15C7DBB0CE3BD1B69469 /* AARefreshControl */ = { 255 | isa = PBXNativeTarget; 256 | buildConfigurationList = 594F99A4F262E1B6B030FE9EB6CE08C7 /* Build configuration list for PBXNativeTarget "AARefreshControl" */; 257 | buildPhases = ( 258 | F2C7440EDC4568E48BAD3763D350DAA8 /* Headers */, 259 | D45AD6AB01DD9A3581EDACA6C528C620 /* Sources */, 260 | 6A2A68BC6CDF3DCF4359E78BD5915E69 /* Frameworks */, 261 | D52020316E68C67BE3DDF87CEBB664BC /* Resources */, 262 | ); 263 | buildRules = ( 264 | ); 265 | dependencies = ( 266 | ); 267 | name = AARefreshControl; 268 | productName = AARefreshControl; 269 | productReference = 99EFD4492C1E7BBFBC764539073FDCF9 /* AARefreshControl.framework */; 270 | productType = "com.apple.product-type.framework"; 271 | }; 272 | E75AFD23D58732DCA9EBA6151C1C29EC /* Pods-AARefreshControl_Tests */ = { 273 | isa = PBXNativeTarget; 274 | buildConfigurationList = 092364C647547B914117DD197AC3B51E /* Build configuration list for PBXNativeTarget "Pods-AARefreshControl_Tests" */; 275 | buildPhases = ( 276 | C2EBF6444273DD73DB82D8FCF051CD44 /* Headers */, 277 | 4C2E422309C6B67684A2D0F28D63A358 /* Sources */, 278 | 04F260149B2624153278F8399FC6EA4E /* Frameworks */, 279 | 97C4AE62B28438355609030D3159808F /* Resources */, 280 | ); 281 | buildRules = ( 282 | ); 283 | dependencies = ( 284 | EB5EE06D1005D518394B251C694C8ACD /* PBXTargetDependency */, 285 | ); 286 | name = "Pods-AARefreshControl_Tests"; 287 | productName = "Pods-AARefreshControl_Tests"; 288 | productReference = 0B83458E65879D915E0694FB0B9E7C8C /* Pods_AARefreshControl_Tests.framework */; 289 | productType = "com.apple.product-type.framework"; 290 | }; 291 | ED192C104713F073DC48B82860304FAC /* Pods-AARefreshControl_Example */ = { 292 | isa = PBXNativeTarget; 293 | buildConfigurationList = C33E6D19DE27E7DF4B7ED8D6ED5F2988 /* Build configuration list for PBXNativeTarget "Pods-AARefreshControl_Example" */; 294 | buildPhases = ( 295 | C3F2F2495995EEFF16DC8CD110B8AE8B /* Headers */, 296 | 74E5F6B53B9F67B230CFC54F990060CA /* Sources */, 297 | D4CE2F2267298EB3A500B443DF41BAC4 /* Frameworks */, 298 | F891E86F6F10F41E400D71F9A7E52A4F /* Resources */, 299 | ); 300 | buildRules = ( 301 | ); 302 | dependencies = ( 303 | 9B05702178F756A5C7B44FE1C3149FD4 /* PBXTargetDependency */, 304 | ); 305 | name = "Pods-AARefreshControl_Example"; 306 | productName = "Pods-AARefreshControl_Example"; 307 | productReference = 6AB63A21A932DBBE505E47077692BE7F /* Pods_AARefreshControl_Example.framework */; 308 | productType = "com.apple.product-type.framework"; 309 | }; 310 | /* End PBXNativeTarget section */ 311 | 312 | /* Begin PBXProject section */ 313 | BFDFE7DC352907FC980B868725387E98 /* Project object */ = { 314 | isa = PBXProject; 315 | attributes = { 316 | LastSwiftUpdateCheck = 1020; 317 | LastUpgradeCheck = 1020; 318 | }; 319 | buildConfigurationList = 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */; 320 | compatibilityVersion = "Xcode 3.2"; 321 | developmentRegion = en; 322 | hasScannedForEncodings = 0; 323 | knownRegions = ( 324 | en, 325 | ); 326 | mainGroup = CF1408CF629C7361332E53B88F7BD30C; 327 | productRefGroup = 294276E206450AC55FAD2F97E2A1BC2F /* Products */; 328 | projectDirPath = ""; 329 | projectRoot = ""; 330 | targets = ( 331 | BFC1B817556F15C7DBB0CE3BD1B69469 /* AARefreshControl */, 332 | ED192C104713F073DC48B82860304FAC /* Pods-AARefreshControl_Example */, 333 | E75AFD23D58732DCA9EBA6151C1C29EC /* Pods-AARefreshControl_Tests */, 334 | ); 335 | }; 336 | /* End PBXProject section */ 337 | 338 | /* Begin PBXResourcesBuildPhase section */ 339 | 97C4AE62B28438355609030D3159808F /* Resources */ = { 340 | isa = PBXResourcesBuildPhase; 341 | buildActionMask = 2147483647; 342 | files = ( 343 | ); 344 | runOnlyForDeploymentPostprocessing = 0; 345 | }; 346 | D52020316E68C67BE3DDF87CEBB664BC /* Resources */ = { 347 | isa = PBXResourcesBuildPhase; 348 | buildActionMask = 2147483647; 349 | files = ( 350 | ); 351 | runOnlyForDeploymentPostprocessing = 0; 352 | }; 353 | F891E86F6F10F41E400D71F9A7E52A4F /* Resources */ = { 354 | isa = PBXResourcesBuildPhase; 355 | buildActionMask = 2147483647; 356 | files = ( 357 | ); 358 | runOnlyForDeploymentPostprocessing = 0; 359 | }; 360 | /* End PBXResourcesBuildPhase section */ 361 | 362 | /* Begin PBXSourcesBuildPhase section */ 363 | 4C2E422309C6B67684A2D0F28D63A358 /* Sources */ = { 364 | isa = PBXSourcesBuildPhase; 365 | buildActionMask = 2147483647; 366 | files = ( 367 | C536BF27DADDF0A106B9F99DF06ECA08 /* Pods-AARefreshControl_Tests-dummy.m in Sources */, 368 | ); 369 | runOnlyForDeploymentPostprocessing = 0; 370 | }; 371 | 74E5F6B53B9F67B230CFC54F990060CA /* Sources */ = { 372 | isa = PBXSourcesBuildPhase; 373 | buildActionMask = 2147483647; 374 | files = ( 375 | AA1A6D896ADB1EC9F23C1EEF31231D16 /* Pods-AARefreshControl_Example-dummy.m in Sources */, 376 | ); 377 | runOnlyForDeploymentPostprocessing = 0; 378 | }; 379 | D45AD6AB01DD9A3581EDACA6C528C620 /* Sources */ = { 380 | isa = PBXSourcesBuildPhase; 381 | buildActionMask = 2147483647; 382 | files = ( 383 | 2E3A7B24E6A8CF439B41D2DFB280737B /* AARefreshControl-dummy.m in Sources */, 384 | 586DFED460A60C6C2B559722E47806FD /* AARefreshControl.swift in Sources */, 385 | ); 386 | runOnlyForDeploymentPostprocessing = 0; 387 | }; 388 | /* End PBXSourcesBuildPhase section */ 389 | 390 | /* Begin PBXTargetDependency section */ 391 | 9B05702178F756A5C7B44FE1C3149FD4 /* PBXTargetDependency */ = { 392 | isa = PBXTargetDependency; 393 | name = AARefreshControl; 394 | target = BFC1B817556F15C7DBB0CE3BD1B69469 /* AARefreshControl */; 395 | targetProxy = C32396374F743D4AB2A09798210D1F67 /* PBXContainerItemProxy */; 396 | }; 397 | EB5EE06D1005D518394B251C694C8ACD /* PBXTargetDependency */ = { 398 | isa = PBXTargetDependency; 399 | name = "Pods-AARefreshControl_Example"; 400 | target = ED192C104713F073DC48B82860304FAC /* Pods-AARefreshControl_Example */; 401 | targetProxy = 3B3977572540CBB605797898E0CD2397 /* PBXContainerItemProxy */; 402 | }; 403 | /* End PBXTargetDependency section */ 404 | 405 | /* Begin XCBuildConfiguration section */ 406 | 168CBE20A5F861A231C63C66956B90E6 /* Release */ = { 407 | isa = XCBuildConfiguration; 408 | baseConfigurationReference = F3FFD0DCB741437365399E24D74CE92F /* Pods-AARefreshControl_Tests.release.xcconfig */; 409 | buildSettings = { 410 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 411 | CODE_SIGN_IDENTITY = ""; 412 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 413 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 414 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 415 | CURRENT_PROJECT_VERSION = 1; 416 | DEFINES_MODULE = YES; 417 | DYLIB_COMPATIBILITY_VERSION = 1; 418 | DYLIB_CURRENT_VERSION = 1; 419 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 420 | INFOPLIST_FILE = "Target Support Files/Pods-AARefreshControl_Tests/Pods-AARefreshControl_Tests-Info.plist"; 421 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 422 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 423 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 424 | MACH_O_TYPE = staticlib; 425 | MODULEMAP_FILE = "Target Support Files/Pods-AARefreshControl_Tests/Pods-AARefreshControl_Tests.modulemap"; 426 | OTHER_LDFLAGS = ""; 427 | OTHER_LIBTOOLFLAGS = ""; 428 | PODS_ROOT = "$(SRCROOT)"; 429 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 430 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 431 | SDKROOT = iphoneos; 432 | SKIP_INSTALL = YES; 433 | TARGETED_DEVICE_FAMILY = "1,2"; 434 | VALIDATE_PRODUCT = YES; 435 | VERSIONING_SYSTEM = "apple-generic"; 436 | VERSION_INFO_PREFIX = ""; 437 | }; 438 | name = Release; 439 | }; 440 | 1FFA630D0C67998107A541ADBB0DB3E3 /* Release */ = { 441 | isa = XCBuildConfiguration; 442 | baseConfigurationReference = 25D6FE5E3859F7EA00F820FA090EC6CB /* Pods-AARefreshControl_Example.release.xcconfig */; 443 | buildSettings = { 444 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 445 | CODE_SIGN_IDENTITY = ""; 446 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 447 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 448 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 449 | CURRENT_PROJECT_VERSION = 1; 450 | DEFINES_MODULE = YES; 451 | DYLIB_COMPATIBILITY_VERSION = 1; 452 | DYLIB_CURRENT_VERSION = 1; 453 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 454 | INFOPLIST_FILE = "Target Support Files/Pods-AARefreshControl_Example/Pods-AARefreshControl_Example-Info.plist"; 455 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 456 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 457 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 458 | MACH_O_TYPE = staticlib; 459 | MODULEMAP_FILE = "Target Support Files/Pods-AARefreshControl_Example/Pods-AARefreshControl_Example.modulemap"; 460 | OTHER_LDFLAGS = ""; 461 | OTHER_LIBTOOLFLAGS = ""; 462 | PODS_ROOT = "$(SRCROOT)"; 463 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 464 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 465 | SDKROOT = iphoneos; 466 | SKIP_INSTALL = YES; 467 | TARGETED_DEVICE_FAMILY = "1,2"; 468 | VALIDATE_PRODUCT = YES; 469 | VERSIONING_SYSTEM = "apple-generic"; 470 | VERSION_INFO_PREFIX = ""; 471 | }; 472 | name = Release; 473 | }; 474 | 4065527AE5C2E108E00405D654A5E8B3 /* Debug */ = { 475 | isa = XCBuildConfiguration; 476 | baseConfigurationReference = 6AB7A6BA174892F33DDFEE187753A423 /* Pods-AARefreshControl_Tests.debug.xcconfig */; 477 | buildSettings = { 478 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 479 | CODE_SIGN_IDENTITY = ""; 480 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 481 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 482 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 483 | CURRENT_PROJECT_VERSION = 1; 484 | DEFINES_MODULE = YES; 485 | DYLIB_COMPATIBILITY_VERSION = 1; 486 | DYLIB_CURRENT_VERSION = 1; 487 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 488 | INFOPLIST_FILE = "Target Support Files/Pods-AARefreshControl_Tests/Pods-AARefreshControl_Tests-Info.plist"; 489 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 490 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 491 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 492 | MACH_O_TYPE = staticlib; 493 | MODULEMAP_FILE = "Target Support Files/Pods-AARefreshControl_Tests/Pods-AARefreshControl_Tests.modulemap"; 494 | OTHER_LDFLAGS = ""; 495 | OTHER_LIBTOOLFLAGS = ""; 496 | PODS_ROOT = "$(SRCROOT)"; 497 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 498 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 499 | SDKROOT = iphoneos; 500 | SKIP_INSTALL = YES; 501 | TARGETED_DEVICE_FAMILY = "1,2"; 502 | VERSIONING_SYSTEM = "apple-generic"; 503 | VERSION_INFO_PREFIX = ""; 504 | }; 505 | name = Debug; 506 | }; 507 | 55ECE5EC4DEA1CBA61DBF9C1F5E90595 /* Debug */ = { 508 | isa = XCBuildConfiguration; 509 | baseConfigurationReference = 8096ADFAEC613AFDB4E376EAAD39FE18 /* Pods-AARefreshControl_Example.debug.xcconfig */; 510 | buildSettings = { 511 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 512 | CODE_SIGN_IDENTITY = ""; 513 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 514 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 515 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 516 | CURRENT_PROJECT_VERSION = 1; 517 | DEFINES_MODULE = YES; 518 | DYLIB_COMPATIBILITY_VERSION = 1; 519 | DYLIB_CURRENT_VERSION = 1; 520 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 521 | INFOPLIST_FILE = "Target Support Files/Pods-AARefreshControl_Example/Pods-AARefreshControl_Example-Info.plist"; 522 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 523 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 524 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 525 | MACH_O_TYPE = staticlib; 526 | MODULEMAP_FILE = "Target Support Files/Pods-AARefreshControl_Example/Pods-AARefreshControl_Example.modulemap"; 527 | OTHER_LDFLAGS = ""; 528 | OTHER_LIBTOOLFLAGS = ""; 529 | PODS_ROOT = "$(SRCROOT)"; 530 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 531 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 532 | SDKROOT = iphoneos; 533 | SKIP_INSTALL = YES; 534 | TARGETED_DEVICE_FAMILY = "1,2"; 535 | VERSIONING_SYSTEM = "apple-generic"; 536 | VERSION_INFO_PREFIX = ""; 537 | }; 538 | name = Debug; 539 | }; 540 | B0087CB4594321EF41619F3181FE120E /* Release */ = { 541 | isa = XCBuildConfiguration; 542 | buildSettings = { 543 | ALWAYS_SEARCH_USER_PATHS = NO; 544 | CLANG_ANALYZER_NONNULL = YES; 545 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 546 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 547 | CLANG_CXX_LIBRARY = "libc++"; 548 | CLANG_ENABLE_MODULES = YES; 549 | CLANG_ENABLE_OBJC_ARC = YES; 550 | CLANG_ENABLE_OBJC_WEAK = YES; 551 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 552 | CLANG_WARN_BOOL_CONVERSION = YES; 553 | CLANG_WARN_COMMA = YES; 554 | CLANG_WARN_CONSTANT_CONVERSION = YES; 555 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 556 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 557 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 558 | CLANG_WARN_EMPTY_BODY = YES; 559 | CLANG_WARN_ENUM_CONVERSION = YES; 560 | CLANG_WARN_INFINITE_RECURSION = YES; 561 | CLANG_WARN_INT_CONVERSION = YES; 562 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 563 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 564 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 565 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 566 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 567 | CLANG_WARN_STRICT_PROTOTYPES = YES; 568 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 569 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 570 | CLANG_WARN_UNREACHABLE_CODE = YES; 571 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 572 | COPY_PHASE_STRIP = NO; 573 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 574 | ENABLE_NS_ASSERTIONS = NO; 575 | ENABLE_STRICT_OBJC_MSGSEND = YES; 576 | GCC_C_LANGUAGE_STANDARD = gnu11; 577 | GCC_NO_COMMON_BLOCKS = YES; 578 | GCC_PREPROCESSOR_DEFINITIONS = ( 579 | "POD_CONFIGURATION_RELEASE=1", 580 | "$(inherited)", 581 | ); 582 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 583 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 584 | GCC_WARN_UNDECLARED_SELECTOR = YES; 585 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 586 | GCC_WARN_UNUSED_FUNCTION = YES; 587 | GCC_WARN_UNUSED_VARIABLE = YES; 588 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 589 | MTL_ENABLE_DEBUG_INFO = NO; 590 | MTL_FAST_MATH = YES; 591 | PRODUCT_NAME = "$(TARGET_NAME)"; 592 | STRIP_INSTALLED_PRODUCT = NO; 593 | SWIFT_COMPILATION_MODE = wholemodule; 594 | SWIFT_OPTIMIZATION_LEVEL = "-O"; 595 | SWIFT_VERSION = 5.0; 596 | SYMROOT = "${SRCROOT}/../build"; 597 | }; 598 | name = Release; 599 | }; 600 | B8BCBD0110C2658BB5DAADB9B7D97B92 /* Debug */ = { 601 | isa = XCBuildConfiguration; 602 | buildSettings = { 603 | ALWAYS_SEARCH_USER_PATHS = NO; 604 | CLANG_ANALYZER_NONNULL = YES; 605 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 606 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 607 | CLANG_CXX_LIBRARY = "libc++"; 608 | CLANG_ENABLE_MODULES = YES; 609 | CLANG_ENABLE_OBJC_ARC = YES; 610 | CLANG_ENABLE_OBJC_WEAK = YES; 611 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 612 | CLANG_WARN_BOOL_CONVERSION = YES; 613 | CLANG_WARN_COMMA = YES; 614 | CLANG_WARN_CONSTANT_CONVERSION = YES; 615 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 616 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 617 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 618 | CLANG_WARN_EMPTY_BODY = YES; 619 | CLANG_WARN_ENUM_CONVERSION = YES; 620 | CLANG_WARN_INFINITE_RECURSION = YES; 621 | CLANG_WARN_INT_CONVERSION = YES; 622 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 623 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 624 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 625 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 626 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 627 | CLANG_WARN_STRICT_PROTOTYPES = YES; 628 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 629 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 630 | CLANG_WARN_UNREACHABLE_CODE = YES; 631 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 632 | COPY_PHASE_STRIP = NO; 633 | DEBUG_INFORMATION_FORMAT = dwarf; 634 | ENABLE_STRICT_OBJC_MSGSEND = YES; 635 | ENABLE_TESTABILITY = YES; 636 | GCC_C_LANGUAGE_STANDARD = gnu11; 637 | GCC_DYNAMIC_NO_PIC = NO; 638 | GCC_NO_COMMON_BLOCKS = YES; 639 | GCC_OPTIMIZATION_LEVEL = 0; 640 | GCC_PREPROCESSOR_DEFINITIONS = ( 641 | "POD_CONFIGURATION_DEBUG=1", 642 | "DEBUG=1", 643 | "$(inherited)", 644 | ); 645 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 646 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 647 | GCC_WARN_UNDECLARED_SELECTOR = YES; 648 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 649 | GCC_WARN_UNUSED_FUNCTION = YES; 650 | GCC_WARN_UNUSED_VARIABLE = YES; 651 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 652 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; 653 | MTL_FAST_MATH = YES; 654 | ONLY_ACTIVE_ARCH = YES; 655 | PRODUCT_NAME = "$(TARGET_NAME)"; 656 | STRIP_INSTALLED_PRODUCT = NO; 657 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 658 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 659 | SWIFT_VERSION = 5.0; 660 | SYMROOT = "${SRCROOT}/../build"; 661 | }; 662 | name = Debug; 663 | }; 664 | C9AE582DA933BF0C571065C72006EA6E /* Debug */ = { 665 | isa = XCBuildConfiguration; 666 | baseConfigurationReference = 14A7966ED03490823B7FF851A5A5539A /* AARefreshControl.xcconfig */; 667 | buildSettings = { 668 | CODE_SIGN_IDENTITY = ""; 669 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 670 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 671 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 672 | CURRENT_PROJECT_VERSION = 1; 673 | DEFINES_MODULE = YES; 674 | DYLIB_COMPATIBILITY_VERSION = 1; 675 | DYLIB_CURRENT_VERSION = 1; 676 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 677 | GCC_PREFIX_HEADER = "Target Support Files/AARefreshControl/AARefreshControl-prefix.pch"; 678 | INFOPLIST_FILE = "Target Support Files/AARefreshControl/AARefreshControl-Info.plist"; 679 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 680 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 681 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 682 | MODULEMAP_FILE = "Target Support Files/AARefreshControl/AARefreshControl.modulemap"; 683 | PRODUCT_MODULE_NAME = AARefreshControl; 684 | PRODUCT_NAME = AARefreshControl; 685 | SDKROOT = iphoneos; 686 | SKIP_INSTALL = YES; 687 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 688 | SWIFT_VERSION = 5.0; 689 | TARGETED_DEVICE_FAMILY = "1,2"; 690 | VERSIONING_SYSTEM = "apple-generic"; 691 | VERSION_INFO_PREFIX = ""; 692 | }; 693 | name = Debug; 694 | }; 695 | D4EF8E7EC9D72329F3CD49B401D66FFC /* Release */ = { 696 | isa = XCBuildConfiguration; 697 | baseConfigurationReference = 14A7966ED03490823B7FF851A5A5539A /* AARefreshControl.xcconfig */; 698 | buildSettings = { 699 | CODE_SIGN_IDENTITY = ""; 700 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 701 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 702 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 703 | CURRENT_PROJECT_VERSION = 1; 704 | DEFINES_MODULE = YES; 705 | DYLIB_COMPATIBILITY_VERSION = 1; 706 | DYLIB_CURRENT_VERSION = 1; 707 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 708 | GCC_PREFIX_HEADER = "Target Support Files/AARefreshControl/AARefreshControl-prefix.pch"; 709 | INFOPLIST_FILE = "Target Support Files/AARefreshControl/AARefreshControl-Info.plist"; 710 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 711 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 712 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 713 | MODULEMAP_FILE = "Target Support Files/AARefreshControl/AARefreshControl.modulemap"; 714 | PRODUCT_MODULE_NAME = AARefreshControl; 715 | PRODUCT_NAME = AARefreshControl; 716 | SDKROOT = iphoneos; 717 | SKIP_INSTALL = YES; 718 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 719 | SWIFT_VERSION = 5.0; 720 | TARGETED_DEVICE_FAMILY = "1,2"; 721 | VALIDATE_PRODUCT = YES; 722 | VERSIONING_SYSTEM = "apple-generic"; 723 | VERSION_INFO_PREFIX = ""; 724 | }; 725 | name = Release; 726 | }; 727 | /* End XCBuildConfiguration section */ 728 | 729 | /* Begin XCConfigurationList section */ 730 | 092364C647547B914117DD197AC3B51E /* Build configuration list for PBXNativeTarget "Pods-AARefreshControl_Tests" */ = { 731 | isa = XCConfigurationList; 732 | buildConfigurations = ( 733 | 4065527AE5C2E108E00405D654A5E8B3 /* Debug */, 734 | 168CBE20A5F861A231C63C66956B90E6 /* Release */, 735 | ); 736 | defaultConfigurationIsVisible = 0; 737 | defaultConfigurationName = Release; 738 | }; 739 | 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */ = { 740 | isa = XCConfigurationList; 741 | buildConfigurations = ( 742 | B8BCBD0110C2658BB5DAADB9B7D97B92 /* Debug */, 743 | B0087CB4594321EF41619F3181FE120E /* Release */, 744 | ); 745 | defaultConfigurationIsVisible = 0; 746 | defaultConfigurationName = Release; 747 | }; 748 | 594F99A4F262E1B6B030FE9EB6CE08C7 /* Build configuration list for PBXNativeTarget "AARefreshControl" */ = { 749 | isa = XCConfigurationList; 750 | buildConfigurations = ( 751 | C9AE582DA933BF0C571065C72006EA6E /* Debug */, 752 | D4EF8E7EC9D72329F3CD49B401D66FFC /* Release */, 753 | ); 754 | defaultConfigurationIsVisible = 0; 755 | defaultConfigurationName = Release; 756 | }; 757 | C33E6D19DE27E7DF4B7ED8D6ED5F2988 /* Build configuration list for PBXNativeTarget "Pods-AARefreshControl_Example" */ = { 758 | isa = XCConfigurationList; 759 | buildConfigurations = ( 760 | 55ECE5EC4DEA1CBA61DBF9C1F5E90595 /* Debug */, 761 | 1FFA630D0C67998107A541ADBB0DB3E3 /* Release */, 762 | ); 763 | defaultConfigurationIsVisible = 0; 764 | defaultConfigurationName = Release; 765 | }; 766 | /* End XCConfigurationList section */ 767 | }; 768 | rootObject = BFDFE7DC352907FC980B868725387E98 /* Project object */; 769 | } 770 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/AARefreshControl/AARefreshControl-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 0.1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/AARefreshControl/AARefreshControl-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_AARefreshControl : NSObject 3 | @end 4 | @implementation PodsDummy_AARefreshControl 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/AARefreshControl/AARefreshControl-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/AARefreshControl/AARefreshControl-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double AARefreshControlVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char AARefreshControlVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/AARefreshControl/AARefreshControl.modulemap: -------------------------------------------------------------------------------- 1 | framework module AARefreshControl { 2 | umbrella header "AARefreshControl-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/AARefreshControl/AARefreshControl.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/AARefreshControl 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 4 | PODS_BUILD_DIR = ${BUILD_DIR} 5 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AARefreshControl_Example/Pods-AARefreshControl_Example-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AARefreshControl_Example/Pods-AARefreshControl_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## AARefreshControl 5 | 6 | Copyright (c) 2019 EngrAhsanAli 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy 9 | of this software and associated documentation files (the "Software"), to deal 10 | in the Software without restriction, including without limitation the rights 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | copies of the Software, and to permit persons to whom the Software is 13 | furnished to do so, subject to the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be included in 16 | all copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | 26 | Generated by CocoaPods - https://cocoapods.org 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AARefreshControl_Example/Pods-AARefreshControl_Example-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Copyright (c) 2019 EngrAhsanAli <hafiz.m.ahsan.ali@gmail.com> 18 | 19 | Permission is hereby granted, free of charge, to any person obtaining a copy 20 | of this software and associated documentation files (the "Software"), to deal 21 | in the Software without restriction, including without limitation the rights 22 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 23 | copies of the Software, and to permit persons to whom the Software is 24 | furnished to do so, subject to the following conditions: 25 | 26 | The above copyright notice and this permission notice shall be included in 27 | all copies or substantial portions of the Software. 28 | 29 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 30 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 31 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 32 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 33 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 34 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 35 | THE SOFTWARE. 36 | 37 | License 38 | MIT 39 | Title 40 | AARefreshControl 41 | Type 42 | PSGroupSpecifier 43 | 44 | 45 | FooterText 46 | Generated by CocoaPods - https://cocoapods.org 47 | Title 48 | 49 | Type 50 | PSGroupSpecifier 51 | 52 | 53 | StringsTable 54 | Acknowledgements 55 | Title 56 | Acknowledgements 57 | 58 | 59 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AARefreshControl_Example/Pods-AARefreshControl_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_AARefreshControl_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_AARefreshControl_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AARefreshControl_Example/Pods-AARefreshControl_Example-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | set -u 4 | set -o pipefail 5 | 6 | function on_error { 7 | echo "$(realpath -mq "${0}"):$1: error: Unexpected failure" 8 | } 9 | trap 'on_error $LINENO' ERR 10 | 11 | if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then 12 | # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy 13 | # frameworks to, so exit 0 (signalling the script phase was successful). 14 | exit 0 15 | fi 16 | 17 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 18 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 19 | 20 | COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}" 21 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 22 | 23 | # Used as a return value for each invocation of `strip_invalid_archs` function. 24 | STRIP_BINARY_RETVAL=0 25 | 26 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 27 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 28 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 29 | 30 | # Copies and strips a vendored framework 31 | install_framework() 32 | { 33 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 34 | local source="${BUILT_PRODUCTS_DIR}/$1" 35 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 36 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 37 | elif [ -r "$1" ]; then 38 | local source="$1" 39 | fi 40 | 41 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 42 | 43 | if [ -L "${source}" ]; then 44 | echo "Symlinked..." 45 | source="$(readlink "${source}")" 46 | fi 47 | 48 | # Use filter instead of exclude so missing patterns don't throw errors. 49 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 50 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 51 | 52 | local basename 53 | basename="$(basename -s .framework "$1")" 54 | binary="${destination}/${basename}.framework/${basename}" 55 | 56 | if ! [ -r "$binary" ]; then 57 | binary="${destination}/${basename}" 58 | elif [ -L "${binary}" ]; then 59 | echo "Destination binary is symlinked..." 60 | dirname="$(dirname "${binary}")" 61 | binary="${dirname}/$(readlink "${binary}")" 62 | fi 63 | 64 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 65 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 66 | strip_invalid_archs "$binary" 67 | fi 68 | 69 | # Resign the code if required by the build settings to avoid unstable apps 70 | code_sign_if_enabled "${destination}/$(basename "$1")" 71 | 72 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 73 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 74 | local swift_runtime_libs 75 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u) 76 | for lib in $swift_runtime_libs; do 77 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 78 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 79 | code_sign_if_enabled "${destination}/${lib}" 80 | done 81 | fi 82 | } 83 | 84 | # Copies and strips a vendored dSYM 85 | install_dsym() { 86 | local source="$1" 87 | if [ -r "$source" ]; then 88 | # Copy the dSYM into a the targets temp dir. 89 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" 90 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" 91 | 92 | local basename 93 | basename="$(basename -s .framework.dSYM "$source")" 94 | binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" 95 | 96 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 97 | if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then 98 | strip_invalid_archs "$binary" 99 | fi 100 | 101 | if [[ $STRIP_BINARY_RETVAL == 1 ]]; then 102 | # Move the stripped file into its final destination. 103 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" 104 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}" 105 | else 106 | # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. 107 | touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" 108 | fi 109 | fi 110 | } 111 | 112 | # Signs a framework with the provided identity 113 | code_sign_if_enabled() { 114 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY:-}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 115 | # Use the current code_sign_identity 116 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 117 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'" 118 | 119 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 120 | code_sign_cmd="$code_sign_cmd &" 121 | fi 122 | echo "$code_sign_cmd" 123 | eval "$code_sign_cmd" 124 | fi 125 | } 126 | 127 | # Strip invalid architectures 128 | strip_invalid_archs() { 129 | binary="$1" 130 | # Get architectures for current target binary 131 | binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" 132 | # Intersect them with the architectures we are building for 133 | intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" 134 | # If there are no archs supported by this binary then warn the user 135 | if [[ -z "$intersected_archs" ]]; then 136 | echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." 137 | STRIP_BINARY_RETVAL=0 138 | return 139 | fi 140 | stripped="" 141 | for arch in $binary_archs; do 142 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then 143 | # Strip non-valid architectures in-place 144 | lipo -remove "$arch" -output "$binary" "$binary" 145 | stripped="$stripped $arch" 146 | fi 147 | done 148 | if [[ "$stripped" ]]; then 149 | echo "Stripped $binary of architectures:$stripped" 150 | fi 151 | STRIP_BINARY_RETVAL=1 152 | } 153 | 154 | 155 | if [[ "$CONFIGURATION" == "Debug" ]]; then 156 | install_framework "${BUILT_PRODUCTS_DIR}/AARefreshControl/AARefreshControl.framework" 157 | fi 158 | if [[ "$CONFIGURATION" == "Release" ]]; then 159 | install_framework "${BUILT_PRODUCTS_DIR}/AARefreshControl/AARefreshControl.framework" 160 | fi 161 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 162 | wait 163 | fi 164 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AARefreshControl_Example/Pods-AARefreshControl_Example-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_AARefreshControl_ExampleVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_AARefreshControl_ExampleVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AARefreshControl_Example/Pods-AARefreshControl_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AARefreshControl" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AARefreshControl/AARefreshControl.framework/Headers" 5 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 6 | OTHER_LDFLAGS = $(inherited) -framework "AARefreshControl" 7 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AARefreshControl_Example/Pods-AARefreshControl_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_AARefreshControl_Example { 2 | umbrella header "Pods-AARefreshControl_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AARefreshControl_Example/Pods-AARefreshControl_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AARefreshControl" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AARefreshControl/AARefreshControl.framework/Headers" 5 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 6 | OTHER_LDFLAGS = $(inherited) -framework "AARefreshControl" 7 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AARefreshControl_Tests/Pods-AARefreshControl_Tests-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AARefreshControl_Tests/Pods-AARefreshControl_Tests-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | Generated by CocoaPods - https://cocoapods.org 4 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AARefreshControl_Tests/Pods-AARefreshControl_Tests-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Generated by CocoaPods - https://cocoapods.org 18 | Title 19 | 20 | Type 21 | PSGroupSpecifier 22 | 23 | 24 | StringsTable 25 | Acknowledgements 26 | Title 27 | Acknowledgements 28 | 29 | 30 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AARefreshControl_Tests/Pods-AARefreshControl_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_AARefreshControl_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_AARefreshControl_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AARefreshControl_Tests/Pods-AARefreshControl_Tests-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_AARefreshControl_TestsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_AARefreshControl_TestsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AARefreshControl_Tests/Pods-AARefreshControl_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AARefreshControl" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AARefreshControl/AARefreshControl.framework/Headers" 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_LDFLAGS = $(inherited) -framework "AARefreshControl" 6 | PODS_BUILD_DIR = ${BUILD_DIR} 7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 9 | PODS_ROOT = ${SRCROOT}/Pods 10 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AARefreshControl_Tests/Pods-AARefreshControl_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_AARefreshControl_Tests { 2 | umbrella header "Pods-AARefreshControl_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AARefreshControl_Tests/Pods-AARefreshControl_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AARefreshControl" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AARefreshControl/AARefreshControl.framework/Headers" 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_LDFLAGS = $(inherited) -framework "AARefreshControl" 6 | PODS_BUILD_DIR = ${BUILD_DIR} 7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 9 | PODS_ROOT = ${SRCROOT}/Pods 10 | -------------------------------------------------------------------------------- /Example/Tests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /Example/Tests/Tests.swift: -------------------------------------------------------------------------------- 1 | import XCTest 2 | import AARefreshControl 3 | 4 | class Tests: XCTestCase { 5 | 6 | override func setUp() { 7 | super.setUp() 8 | // Put setup code here. This method is called before the invocation of each test method in the class. 9 | } 10 | 11 | override func tearDown() { 12 | // Put teardown code here. This method is called after the invocation of each test method in the class. 13 | super.tearDown() 14 | } 15 | 16 | func testExample() { 17 | // This is an example of a functional test case. 18 | XCTAssert(true, "Pass") 19 | } 20 | 21 | func testPerformanceExample() { 22 | // This is an example of a performance test case. 23 | self.measure() { 24 | // Put the code you want to measure the time of here. 25 | } 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2019 EngrAhsanAli 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # AARefreshControl 2 | 3 | [![CI Status](https://img.shields.io/travis/EngrAhsanAli/AARefreshControl.svg?style=flat)](https://travis-ci.org/EngrAhsanAli/AARefreshControl) 4 | [![Version](https://img.shields.io/cocoapods/v/AARefreshControl.svg?style=flat)](https://cocoapods.org/pods/AARefreshControl) 5 | [![License](https://img.shields.io/cocoapods/l/AARefreshControl.svg?style=flat)](https://cocoapods.org/pods/AARefreshControl) 6 | [![Platform](https://img.shields.io/cocoapods/p/AARefreshControl.svg?style=flat)](https://cocoapods.org/pods/AARefreshControl) 7 | 8 | ## Example 9 | 10 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 11 | 12 | ## Requirements 13 | 14 | ## Installation 15 | 16 | AARefreshControl is available through [CocoaPods](https://cocoapods.org). To install 17 | it, simply add the following line to your Podfile: 18 | 19 | ```ruby 20 | pod 'AARefreshControl' 21 | ``` 22 | 23 | ## Author 24 | 25 | EngrAhsanAli, hafiz.m.ahsan.ali@gmail.com 26 | 27 | ## License 28 | 29 | AARefreshControl is available under the MIT license. See the LICENSE file for more info. 30 | -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj --------------------------------------------------------------------------------