├── .gitignore ├── .travis.yml ├── AXAttributedLabel.podspec ├── AXAttributedLabel.xcodeproj ├── project.pbxproj ├── project.xcworkspace │ └── contents.xcworkspacedata ├── xcshareddata │ └── xcschemes │ │ └── AXAttributedLabel.xcscheme └── xcuserdata │ └── ai.xcuserdatad │ ├── xcdebugger │ └── Breakpoints_v2.xcbkptlist │ └── xcschemes │ └── xcschememanagement.plist ├── AXAttributedLabel.xcworkspace ├── contents.xcworkspacedata └── xcuserdata │ └── ai.xcuserdatad │ └── xcdebugger │ └── Breakpoints_v2.xcbkptlist ├── AXAttributedLabel ├── AXAttributedLabel │ ├── AXAttributedLabel.h │ └── AXAttributedLabel.m ├── AppDelegate.h ├── AppDelegate.m ├── Assets.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json ├── Base.lproj │ ├── LaunchScreen.storyboard │ └── Main.storyboard ├── Info.plist ├── ViewController.h ├── ViewController.m ├── ViewController2.h ├── ViewController2.m ├── avatar.jpg └── main.m ├── AXAttributedLabelTests ├── AXAttributedLabelTests.m └── Info.plist ├── AXAttributedLabelUITests ├── AXAttributedLabelUITests.m └── Info.plist ├── LICENSE ├── Podfile ├── Podfile.lock ├── Pods ├── AXCollectionViewFlowLayout │ ├── AXCollectionViewFlowLayout │ │ └── AXCollectionViewFlowLayout │ │ │ ├── AXCollectionViewFlowLayout.h │ │ │ └── AXCollectionViewFlowLayout.m │ └── LICENSE ├── AXExtensions │ ├── AXExtensions │ │ └── AXExtensions │ │ │ ├── ALAsset+Image │ │ │ ├── ALAsset+Image.h │ │ │ └── ALAsset+Image.m │ │ │ ├── PHAsset+Image │ │ │ ├── PHAsset+Image.h │ │ │ └── PHAsset+Image.m │ │ │ ├── ScrollView │ │ │ ├── AXCollectionView.h │ │ │ ├── AXCollectionView.m │ │ │ ├── AXScrollView.h │ │ │ ├── AXScrollView.m │ │ │ ├── AXTableView.h │ │ │ └── AXTableView.m │ │ │ ├── UIImage+TintColor │ │ │ ├── UIImage+TintColor.h │ │ │ └── UIImage+TintColor.m │ │ │ ├── UIImagePickerController+Authorization │ │ │ ├── UIImagePickerController+Authorization.h │ │ │ └── UIImagePickerController+Authorization.m │ │ │ ├── UILabel+Pop │ │ │ ├── UILabel+Pop.h │ │ │ └── UILabel+Pop.m │ │ │ ├── UINavigationBar+Separator_hidden │ │ │ ├── UINavigationBar+Separator_hidden.h │ │ │ └── UINavigationBar+Separator_hidden.m │ │ │ ├── UIToolbar+Separator_hidden │ │ │ ├── UIToolbar+Separator_hidden.h │ │ │ └── UIToolbar+Separator_hidden.m │ │ │ ├── UIView+Extension │ │ │ ├── UIView+Extension.h │ │ │ └── UIView+Extension.m │ │ │ └── UIViewController+Title │ │ │ ├── UIViewController+Title.h │ │ │ └── UIViewController+Title.m │ ├── LICENSE │ └── README.md ├── AXImagePickerController │ ├── AXImagePickerController │ │ └── AXImagePickerController │ │ │ ├── AXAlbumTableViewCell.h │ │ │ ├── AXAlbumTableViewCell.m │ │ │ ├── AXAlbumViewController.h │ │ │ ├── AXAlbumViewController.m │ │ │ ├── AXAssetsImageController.h │ │ │ ├── AXAssetsImageController.m │ │ │ ├── AXImagePickerController.bundle │ │ │ ├── mark@2x.png │ │ │ └── mark@3x.png │ │ │ ├── AXImagePickerController.h │ │ │ ├── AXImagePickerController.m │ │ │ ├── AXImagePickerControllerMacro.h │ │ │ ├── AXPhotoCollectionViewCell.h │ │ │ ├── AXPhotoCollectionViewCell.m │ │ │ ├── AXPhotoViewController.h │ │ │ ├── AXPhotoViewController.m │ │ │ ├── AXPreviewController.h │ │ │ ├── AXPreviewController.m │ │ │ ├── AXPreviewImageController.h │ │ │ ├── AXPreviewImageController.m │ │ │ ├── AXViewController.h │ │ │ └── AXViewController.m │ ├── LICENSE │ └── README.md ├── AXPickerView │ ├── AXPickerView │ │ └── AXPickerView │ │ │ ├── AXImagePickerCell.h │ │ │ ├── AXImagePickerCell.m │ │ │ ├── AXPickerContentView │ │ │ ├── AXPickerCollectionViewCell.h │ │ │ ├── AXPickerCollectionViewCell.m │ │ │ ├── AXPickerContentView.h │ │ │ └── AXPickerContentView.m │ │ │ ├── AXPickerView.bundle │ │ │ ├── ax_button.png │ │ │ ├── mark@2x.png │ │ │ └── mark@3x.png │ │ │ ├── AXPickerView.h │ │ │ ├── AXPickerView.m │ │ │ └── AXPickerViewConstants.h │ ├── LICENSE │ └── README.md ├── AXPracticalHUD │ ├── AXPracticalHUD │ │ └── AXPracticalHUD │ │ │ ├── AXBarProgressView.h │ │ │ ├── AXBarProgressView.m │ │ │ ├── AXCircleProgressView.h │ │ │ ├── AXCircleProgressView.m │ │ │ ├── AXGradientProgressView.h │ │ │ ├── AXGradientProgressView.m │ │ │ ├── AXPracticalHUD.bundle │ │ │ ├── ax_hud_error@2x.png │ │ │ ├── ax_hud_error@3x.png │ │ │ ├── ax_hud_success@2x.png │ │ │ └── ax_hud_success@3x.png │ │ │ ├── AXPracticalHUD.h │ │ │ ├── AXPracticalHUD.m │ │ │ ├── AXPracticalHUDContentView.h │ │ │ └── AXPracticalHUDContentView.m │ ├── LICENSE │ └── README.md ├── Headers │ ├── Private │ │ ├── AXCollectionViewFlowLayout │ │ │ └── AXCollectionViewFlowLayout.h │ │ ├── AXExtensions │ │ │ ├── ALAsset+Image.h │ │ │ ├── AXCollectionView.h │ │ │ ├── AXScrollView.h │ │ │ ├── AXTableView.h │ │ │ ├── PHAsset+Image.h │ │ │ ├── UIImage+TintColor.h │ │ │ ├── UIImagePickerController+Authorization.h │ │ │ ├── UILabel+Pop.h │ │ │ ├── UINavigationBar+Separator_hidden.h │ │ │ ├── UIToolbar+Separator_hidden.h │ │ │ ├── UIView+Extension.h │ │ │ └── UIViewController+Title.h │ │ ├── AXImagePickerController │ │ │ ├── AXAlbumTableViewCell.h │ │ │ ├── AXAlbumViewController.h │ │ │ ├── AXAssetsImageController.h │ │ │ ├── AXImagePickerController.h │ │ │ ├── AXImagePickerControllerMacro.h │ │ │ ├── AXPhotoCollectionViewCell.h │ │ │ ├── AXPhotoViewController.h │ │ │ ├── AXPreviewController.h │ │ │ ├── AXPreviewImageController.h │ │ │ └── AXViewController.h │ │ ├── AXPickerView │ │ │ ├── AXImagePickerCell.h │ │ │ ├── AXPickerCollectionViewCell.h │ │ │ ├── AXPickerContentView.h │ │ │ ├── AXPickerView.h │ │ │ └── AXPickerViewConstants.h │ │ ├── AXPracticalHUD │ │ │ ├── AXBarProgressView.h │ │ │ ├── AXCircleProgressView.h │ │ │ ├── AXGradientProgressView.h │ │ │ ├── AXPracticalHUD.h │ │ │ └── AXPracticalHUDContentView.h │ │ ├── MJRefresh │ │ │ ├── MJRefresh.h │ │ │ ├── MJRefreshAutoFooter.h │ │ │ ├── MJRefreshAutoGifFooter.h │ │ │ ├── MJRefreshAutoNormalFooter.h │ │ │ ├── MJRefreshAutoStateFooter.h │ │ │ ├── MJRefreshBackFooter.h │ │ │ ├── MJRefreshBackGifFooter.h │ │ │ ├── MJRefreshBackNormalFooter.h │ │ │ ├── MJRefreshBackStateFooter.h │ │ │ ├── MJRefreshComponent.h │ │ │ ├── MJRefreshConst.h │ │ │ ├── MJRefreshFooter.h │ │ │ ├── MJRefreshGifHeader.h │ │ │ ├── MJRefreshHeader.h │ │ │ ├── MJRefreshNormalHeader.h │ │ │ ├── MJRefreshStateHeader.h │ │ │ ├── UIScrollView+MJExtension.h │ │ │ ├── UIScrollView+MJRefresh.h │ │ │ └── UIView+MJExtension.h │ │ └── pop │ │ │ ├── FloatConversion.h │ │ │ ├── POP.h │ │ │ ├── POPAction.h │ │ │ ├── POPAnimatableProperty.h │ │ │ ├── POPAnimation.h │ │ │ ├── POPAnimationEvent.h │ │ │ ├── POPAnimationEventInternal.h │ │ │ ├── POPAnimationExtras.h │ │ │ ├── POPAnimationInternal.h │ │ │ ├── POPAnimationPrivate.h │ │ │ ├── POPAnimationRuntime.h │ │ │ ├── POPAnimationTracer.h │ │ │ ├── POPAnimationTracerInternal.h │ │ │ ├── POPAnimator.h │ │ │ ├── POPAnimatorPrivate.h │ │ │ ├── POPBasicAnimation.h │ │ │ ├── POPBasicAnimationInternal.h │ │ │ ├── POPCGUtils.h │ │ │ ├── POPCustomAnimation.h │ │ │ ├── POPDecayAnimation.h │ │ │ ├── POPDecayAnimationInternal.h │ │ │ ├── POPDefines.h │ │ │ ├── POPGeometry.h │ │ │ ├── POPLayerExtras.h │ │ │ ├── POPMath.h │ │ │ ├── POPPropertyAnimation.h │ │ │ ├── POPPropertyAnimationInternal.h │ │ │ ├── POPSpringAnimation.h │ │ │ ├── POPSpringAnimationInternal.h │ │ │ ├── POPSpringSolver.h │ │ │ ├── POPVector.h │ │ │ ├── TransformationMatrix.h │ │ │ └── UnitBezier.h │ └── Public │ │ ├── AXCollectionViewFlowLayout │ │ └── AXCollectionViewFlowLayout.h │ │ ├── AXExtensions │ │ ├── ALAsset+Image.h │ │ ├── AXCollectionView.h │ │ ├── AXScrollView.h │ │ ├── AXTableView.h │ │ ├── PHAsset+Image.h │ │ ├── UIImage+TintColor.h │ │ ├── UIImagePickerController+Authorization.h │ │ ├── UILabel+Pop.h │ │ ├── UINavigationBar+Separator_hidden.h │ │ ├── UIToolbar+Separator_hidden.h │ │ ├── UIView+Extension.h │ │ └── UIViewController+Title.h │ │ ├── AXImagePickerController │ │ ├── AXAlbumTableViewCell.h │ │ ├── AXAlbumViewController.h │ │ ├── AXAssetsImageController.h │ │ ├── AXImagePickerController.h │ │ ├── AXImagePickerControllerMacro.h │ │ ├── AXPhotoCollectionViewCell.h │ │ ├── AXPhotoViewController.h │ │ ├── AXPreviewController.h │ │ ├── AXPreviewImageController.h │ │ └── AXViewController.h │ │ ├── AXPickerView │ │ ├── AXImagePickerCell.h │ │ ├── AXPickerCollectionViewCell.h │ │ ├── AXPickerContentView.h │ │ ├── AXPickerView.h │ │ └── AXPickerViewConstants.h │ │ ├── AXPracticalHUD │ │ ├── AXBarProgressView.h │ │ ├── AXCircleProgressView.h │ │ ├── AXGradientProgressView.h │ │ ├── AXPracticalHUD.h │ │ └── AXPracticalHUDContentView.h │ │ ├── MJRefresh │ │ ├── MJRefresh.h │ │ ├── MJRefreshAutoFooter.h │ │ ├── MJRefreshAutoGifFooter.h │ │ ├── MJRefreshAutoNormalFooter.h │ │ ├── MJRefreshAutoStateFooter.h │ │ ├── MJRefreshBackFooter.h │ │ ├── MJRefreshBackGifFooter.h │ │ ├── MJRefreshBackNormalFooter.h │ │ ├── MJRefreshBackStateFooter.h │ │ ├── MJRefreshComponent.h │ │ ├── MJRefreshConst.h │ │ ├── MJRefreshFooter.h │ │ ├── MJRefreshGifHeader.h │ │ ├── MJRefreshHeader.h │ │ ├── MJRefreshNormalHeader.h │ │ ├── MJRefreshStateHeader.h │ │ ├── UIScrollView+MJExtension.h │ │ ├── UIScrollView+MJRefresh.h │ │ └── UIView+MJExtension.h │ │ └── pop │ │ ├── POP.h │ │ ├── POPAnimatableProperty.h │ │ ├── POPAnimation.h │ │ ├── POPAnimationEvent.h │ │ ├── POPAnimationExtras.h │ │ ├── POPAnimationTracer.h │ │ ├── POPAnimator.h │ │ ├── POPBasicAnimation.h │ │ ├── POPCustomAnimation.h │ │ ├── POPDecayAnimation.h │ │ ├── POPDefines.h │ │ ├── POPGeometry.h │ │ ├── POPLayerExtras.h │ │ ├── POPPropertyAnimation.h │ │ └── POPSpringAnimation.h ├── MJRefresh │ ├── LICENSE │ ├── MJRefresh │ │ ├── Base │ │ │ ├── MJRefreshAutoFooter.h │ │ │ ├── MJRefreshAutoFooter.m │ │ │ ├── MJRefreshBackFooter.h │ │ │ ├── MJRefreshBackFooter.m │ │ │ ├── MJRefreshComponent.h │ │ │ ├── MJRefreshComponent.m │ │ │ ├── MJRefreshFooter.h │ │ │ ├── MJRefreshFooter.m │ │ │ ├── MJRefreshHeader.h │ │ │ └── MJRefreshHeader.m │ │ ├── Custom │ │ │ ├── Footer │ │ │ │ ├── Auto │ │ │ │ │ ├── MJRefreshAutoGifFooter.h │ │ │ │ │ ├── MJRefreshAutoGifFooter.m │ │ │ │ │ ├── MJRefreshAutoNormalFooter.h │ │ │ │ │ ├── MJRefreshAutoNormalFooter.m │ │ │ │ │ ├── MJRefreshAutoStateFooter.h │ │ │ │ │ └── MJRefreshAutoStateFooter.m │ │ │ │ └── Back │ │ │ │ │ ├── MJRefreshBackGifFooter.h │ │ │ │ │ ├── MJRefreshBackGifFooter.m │ │ │ │ │ ├── MJRefreshBackNormalFooter.h │ │ │ │ │ ├── MJRefreshBackNormalFooter.m │ │ │ │ │ ├── MJRefreshBackStateFooter.h │ │ │ │ │ └── MJRefreshBackStateFooter.m │ │ │ └── Header │ │ │ │ ├── MJRefreshGifHeader.h │ │ │ │ ├── MJRefreshGifHeader.m │ │ │ │ ├── MJRefreshNormalHeader.h │ │ │ │ ├── MJRefreshNormalHeader.m │ │ │ │ ├── MJRefreshStateHeader.h │ │ │ │ └── MJRefreshStateHeader.m │ │ ├── MJRefresh.bundle │ │ │ └── arrow@2x.png │ │ ├── MJRefresh.h │ │ ├── MJRefreshConst.h │ │ ├── MJRefreshConst.m │ │ ├── UIScrollView+MJExtension.h │ │ ├── UIScrollView+MJExtension.m │ │ ├── UIScrollView+MJRefresh.h │ │ ├── UIScrollView+MJRefresh.m │ │ ├── UIView+MJExtension.h │ │ └── UIView+MJExtension.m │ └── README.md ├── Manifest.lock ├── Pods.xcodeproj │ ├── project.pbxproj │ └── xcuserdata │ │ └── ai.xcuserdatad │ │ └── xcschemes │ │ ├── AXCollectionViewFlowLayout.xcscheme │ │ ├── AXExtensions.xcscheme │ │ ├── AXImagePickerController.xcscheme │ │ ├── AXPickerView.xcscheme │ │ ├── AXPracticalHUD.xcscheme │ │ ├── MJRefresh.xcscheme │ │ ├── Pods-AXAttributedLabel.xcscheme │ │ ├── pop.xcscheme │ │ └── xcschememanagement.plist ├── Target Support Files │ ├── AXCollectionViewFlowLayout │ │ ├── AXCollectionViewFlowLayout-dummy.m │ │ ├── AXCollectionViewFlowLayout-prefix.pch │ │ └── AXCollectionViewFlowLayout.xcconfig │ ├── AXExtensions │ │ ├── AXExtensions-dummy.m │ │ ├── AXExtensions-prefix.pch │ │ └── AXExtensions.xcconfig │ ├── AXImagePickerController │ │ ├── AXImagePickerController-dummy.m │ │ ├── AXImagePickerController-prefix.pch │ │ └── AXImagePickerController.xcconfig │ ├── AXPickerView │ │ ├── AXPickerView-dummy.m │ │ ├── AXPickerView-prefix.pch │ │ └── AXPickerView.xcconfig │ ├── AXPracticalHUD │ │ ├── AXPracticalHUD-dummy.m │ │ ├── AXPracticalHUD-prefix.pch │ │ └── AXPracticalHUD.xcconfig │ ├── MJRefresh │ │ ├── MJRefresh-dummy.m │ │ ├── MJRefresh-prefix.pch │ │ └── MJRefresh.xcconfig │ ├── Pods-AXAttributedLabel │ │ ├── Pods-AXAttributedLabel-acknowledgements.markdown │ │ ├── Pods-AXAttributedLabel-acknowledgements.plist │ │ ├── Pods-AXAttributedLabel-dummy.m │ │ ├── Pods-AXAttributedLabel-frameworks.sh │ │ ├── Pods-AXAttributedLabel-resources.sh │ │ ├── Pods-AXAttributedLabel.debug.xcconfig │ │ └── Pods-AXAttributedLabel.release.xcconfig │ └── pop │ │ ├── pop-dummy.m │ │ ├── pop-prefix.pch │ │ └── pop.xcconfig └── pop │ ├── LICENSE │ ├── README.md │ └── pop │ ├── POP.h │ ├── POPAction.h │ ├── POPAnimatableProperty.h │ ├── POPAnimatableProperty.mm │ ├── POPAnimation.h │ ├── POPAnimation.mm │ ├── POPAnimationEvent.h │ ├── POPAnimationEvent.mm │ ├── POPAnimationEventInternal.h │ ├── POPAnimationExtras.h │ ├── POPAnimationExtras.mm │ ├── POPAnimationInternal.h │ ├── POPAnimationPrivate.h │ ├── POPAnimationRuntime.h │ ├── POPAnimationRuntime.mm │ ├── POPAnimationTracer.h │ ├── POPAnimationTracer.mm │ ├── POPAnimationTracerInternal.h │ ├── POPAnimator.h │ ├── POPAnimator.mm │ ├── POPAnimatorPrivate.h │ ├── POPBasicAnimation.h │ ├── POPBasicAnimation.mm │ ├── POPBasicAnimationInternal.h │ ├── POPCGUtils.h │ ├── POPCGUtils.mm │ ├── POPCustomAnimation.h │ ├── POPCustomAnimation.mm │ ├── POPDecayAnimation.h │ ├── POPDecayAnimation.mm │ ├── POPDecayAnimationInternal.h │ ├── POPDefines.h │ ├── POPGeometry.h │ ├── POPGeometry.mm │ ├── POPLayerExtras.h │ ├── POPLayerExtras.mm │ ├── POPMath.h │ ├── POPMath.mm │ ├── POPPropertyAnimation.h │ ├── POPPropertyAnimation.mm │ ├── POPPropertyAnimationInternal.h │ ├── POPSpringAnimation.h │ ├── POPSpringAnimation.mm │ ├── POPSpringAnimationInternal.h │ ├── POPSpringSolver.h │ ├── POPVector.h │ ├── POPVector.mm │ └── WebCore │ ├── FloatConversion.h │ ├── TransformationMatrix.cpp │ ├── TransformationMatrix.h │ └── UnitBezier.h └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode 2 | # 3 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore 4 | 5 | ## Build generated 6 | build/ 7 | DerivedData 8 | 9 | ## Various settings 10 | *.pbxuser 11 | !default.pbxuser 12 | *.mode1v3 13 | !default.mode1v3 14 | *.mode2v3 15 | !default.mode2v3 16 | *.perspectivev3 17 | !default.perspectivev3 18 | xcuserdata 19 | 20 | ## Other 21 | *.xccheckout 22 | *.moved-aside 23 | *.xcuserstate 24 | *.xcscmblueprint 25 | 26 | ## Obj-C/Swift specific 27 | *.hmap 28 | *.ipa 29 | 30 | # CocoaPods 31 | # 32 | # We recommend against adding the Pods directory to your .gitignore. However 33 | # you should judge for yourself, the pros and cons are mentioned at: 34 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control 35 | # 36 | # Pods/ 37 | 38 | # Carthage 39 | # 40 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 41 | # Carthage/Checkouts 42 | 43 | Carthage/Build 44 | 45 | # fastlane 46 | # 47 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 48 | # screenshots whenever they are needed. 49 | # For more information about the recommended setup visit: 50 | # https://github.com/fastlane/fastlane/blob/master/docs/Gitignore.md 51 | 52 | fastlane/report.xml 53 | fastlane/screenshots 54 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | osx_image: xcode7 2 | language: objective-c 3 | xcode_workspace: AXAttributedLabel.xcworkspace 4 | xcode_scheme: AXAttributedLabel 5 | xcode_sdk: iphonesimulator 6 | -------------------------------------------------------------------------------- /AXAttributedLabel.podspec: -------------------------------------------------------------------------------- 1 | 2 | Pod::Spec.new do |s| 3 | 4 | s.name = "AXAttributedLabel" 5 | s.version = "0.2.10" 6 | s.summary = "`AXAttributedLabel` is an iOS customizable attributed label that displays attributed text." 7 | 8 | s.description = <<-DESC 9 | `AXAttributedLabel` is an iOS customizable attributed label that displays attributed link text and image attachment and the exclusion views. 10 | DESC 11 | s.homepage = "https://github.com/devedbox/AXAttributedLabel" 12 | # s.screenshots = "www.example.com/screenshots_1.gif", "www.example.com/screenshots_2.gif" 13 | # s.license = "MIT" 14 | s.license = { :type => "MIT", :file => "LICENSE" } 15 | s.author = { "艾星" => "862099730@qq.com" } 16 | # Or just: s.author = "aiXing" 17 | # s.authors = { "aiXing" => "862099730@qq.com" } 18 | # s.social_media_url = "http://twitter.com/aiXing" 19 | # s.platform = :ios 20 | s.platform = :ios, "7.0" 21 | # s.ios.deployment_target = “7.0” 22 | # s.osx.deployment_target = "10.7" 23 | # s.watchos.deployment_target = "2.0" 24 | s.source = { :git => "https://github.com/devedbox/AXAttributedLabel.git", :tag => "0.2.10" } 25 | s.source_files = "AXAttributedLabel/AXAttributedLabel/*.{h,m}" 26 | #s.exclude_files = "Classes/Exclude" 27 | # s.public_header_files = "Classes/**/*.h" 28 | # s.resource = "AXAttributedLabel/AXAttributedLabel/AXAttributedLabel.bundle" 29 | # s.resources = "Resources/*.png" 30 | # s.preserve_paths = "FilesToSave", "MoreFilesToSave" 31 | # s.framework = "SomeFramework" 32 | s.frameworks = "UIKit", "Foundation" 33 | # s.library = "iconv" 34 | # s.libraries = "iconv", "xml2" 35 | s.requires_arc = true 36 | # s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" } 37 | # s.dependency 'AGGeometryKit+POP' 38 | # s.dependency 'pop', '~> 1.0.4' 39 | # s.dependency 'AGGeometryKit', '~> 1.0' 40 | 41 | end 42 | -------------------------------------------------------------------------------- /AXAttributedLabel.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /AXAttributedLabel.xcodeproj/xcuserdata/ai.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 8 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /AXAttributedLabel.xcodeproj/xcuserdata/ai.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | AXAttributedLabel.xcscheme_^#shared#^_ 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | 0189A1A01CDC465100D0F0D8 16 | 17 | primary 18 | 19 | 20 | 0189A1B91CDC465100D0F0D8 21 | 22 | primary 23 | 24 | 25 | 0189A1C41CDC465200D0F0D8 26 | 27 | primary 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /AXAttributedLabel.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /AXAttributedLabel.xcworkspace/xcuserdata/ai.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | -------------------------------------------------------------------------------- /AXAttributedLabel/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // AXAttributedLabel 4 | // 5 | // Created by ai on 16/5/6. 6 | // Copyright © 2016年 devedbox. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | 16 | @end 17 | 18 | -------------------------------------------------------------------------------- /AXAttributedLabel/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | } 33 | ], 34 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } -------------------------------------------------------------------------------- /AXAttributedLabel/Base.lproj/LaunchScreen.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 | -------------------------------------------------------------------------------- /AXAttributedLabel/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 | UIInterfaceOrientationLandscapeRight 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /AXAttributedLabel/ViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.h 3 | // AXAttributedLabel 4 | // 5 | // Created by ai on 16/5/6. 6 | // Copyright © 2016年 devedbox. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ViewController : UIViewController 12 | 13 | 14 | @end 15 | 16 | -------------------------------------------------------------------------------- /AXAttributedLabel/ViewController2.h: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController2.h 3 | // AXAttributedLabel 4 | // 5 | // Created by ai on 16/5/17. 6 | // Copyright © 2016年 devedbox. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ViewController2 : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /AXAttributedLabel/avatar.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devedbox/AXAttributedLabel/a253296c403f1eb54204585dc5e1f93ff79ba7e1/AXAttributedLabel/avatar.jpg -------------------------------------------------------------------------------- /AXAttributedLabel/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // AXAttributedLabel 4 | // 5 | // Created by ai on 16/5/6. 6 | // Copyright © 2016年 devedbox. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "AppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) { 13 | @autoreleasepool { 14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /AXAttributedLabelTests/AXAttributedLabelTests.m: -------------------------------------------------------------------------------- 1 | // 2 | // AXAttributedLabelTests.m 3 | // AXAttributedLabelTests 4 | // 5 | // Created by ai on 16/5/6. 6 | // Copyright © 2016年 devedbox. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AXAttributedLabelTests : XCTestCase 12 | 13 | @end 14 | 15 | @implementation AXAttributedLabelTests 16 | 17 | - (void)setUp { 18 | [super setUp]; 19 | // Put setup code here. This method is called before the invocation of each test method in the class. 20 | } 21 | 22 | - (void)tearDown { 23 | // Put teardown code here. This method is called after the invocation of each test method in the class. 24 | [super tearDown]; 25 | } 26 | 27 | - (void)testExample { 28 | // This is an example of a functional test case. 29 | // Use XCTAssert and related functions to verify your tests produce the correct results. 30 | } 31 | 32 | - (void)testPerformanceExample { 33 | // This is an example of a performance test case. 34 | [self measureBlock:^{ 35 | // Put the code you want to measure the time of here. 36 | }]; 37 | } 38 | 39 | @end 40 | -------------------------------------------------------------------------------- /AXAttributedLabelTests/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 | -------------------------------------------------------------------------------- /AXAttributedLabelUITests/AXAttributedLabelUITests.m: -------------------------------------------------------------------------------- 1 | // 2 | // AXAttributedLabelUITests.m 3 | // AXAttributedLabelUITests 4 | // 5 | // Created by ai on 16/5/6. 6 | // Copyright © 2016年 devedbox. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AXAttributedLabelUITests : XCTestCase 12 | 13 | @end 14 | 15 | @implementation AXAttributedLabelUITests 16 | 17 | - (void)setUp { 18 | [super setUp]; 19 | 20 | // Put setup code here. This method is called before the invocation of each test method in the class. 21 | 22 | // In UI tests it is usually best to stop immediately when a failure occurs. 23 | self.continueAfterFailure = NO; 24 | // UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method. 25 | [[[XCUIApplication alloc] init] launch]; 26 | 27 | // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this. 28 | } 29 | 30 | - (void)tearDown { 31 | // Put teardown code here. This method is called after the invocation of each test method in the class. 32 | [super tearDown]; 33 | } 34 | 35 | - (void)testExample { 36 | // Use recording to get started writing UI tests. 37 | // Use XCTAssert and related functions to verify your tests produce the correct results. 38 | } 39 | 40 | @end 41 | -------------------------------------------------------------------------------- /AXAttributedLabelUITests/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 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016 Ed.x 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /Podfile: -------------------------------------------------------------------------------- 1 | platform :ios, '7.0' 2 | 3 | inhibit_all_warnings! 4 | 5 | target 'AXAttributedLabel' do 6 | pod 'AXPickerView' 7 | end -------------------------------------------------------------------------------- /Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - AXCollectionViewFlowLayout (1.0.1) 3 | - AXExtensions (1.2.8): 4 | - MJRefresh (~> 3.0.0) 5 | - pop 6 | - AXImagePickerController (1.0.4): 7 | - AXExtensions 8 | - AXPracticalHUD 9 | - AXPickerView (1.0.14): 10 | - AXCollectionViewFlowLayout 11 | - AXImagePickerController 12 | - AXPracticalHUD 13 | - AXPracticalHUD (1.0.7) 14 | - MJRefresh (3.0.8) 15 | - pop (1.0.9) 16 | 17 | DEPENDENCIES: 18 | - AXPickerView 19 | 20 | SPEC CHECKSUMS: 21 | AXCollectionViewFlowLayout: bf02f0b0733741258e8afe2974b5e02fd645ce08 22 | AXExtensions: 39b7e788290e9edb000928f3bf9dea6d67d621c2 23 | AXImagePickerController: 74f03dc0af772e07190a91cb8eec3fe81e121ebd 24 | AXPickerView: 74bbecd3b897a08fc7da515f6ad6161e15502b23 25 | AXPracticalHUD: b0a87276b9830b98ad79c4178f59717b777cfdcc 26 | MJRefresh: fafde8f18f4afd66b434331a9beb67a6c0264056 27 | pop: f667631a5108a2e60d9e8797c9b32ddaf2080bce 28 | 29 | PODFILE CHECKSUM: 67f08368a5b093cde5293d6b8bf9ce75f74fc5e9 30 | 31 | COCOAPODS: 1.0.0.beta.8 32 | -------------------------------------------------------------------------------- /Pods/AXCollectionViewFlowLayout/AXCollectionViewFlowLayout/AXCollectionViewFlowLayout/AXCollectionViewFlowLayout.h: -------------------------------------------------------------------------------- 1 | // 2 | // AXCollectionViewFlowLayout.h 3 | // AXCollectionViewFlowLayout 4 | // 5 | // Created by ai on 16/3/15. 6 | // Copyright © 2016年 devedbox. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AXCollectionViewFlowLayout : UICollectionViewFlowLayout 12 | /// Scale Bounciness. Default is 0.06. 13 | @property(assign, nonatomic) CGFloat scaleBounciness; 14 | @end -------------------------------------------------------------------------------- /Pods/AXCollectionViewFlowLayout/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 Ed.x 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /Pods/AXExtensions/AXExtensions/AXExtensions/ALAsset+Image/ALAsset+Image.h: -------------------------------------------------------------------------------- 1 | // 2 | // ALAsset+Image.h 3 | // AXSwift2OC 4 | // 5 | // Created by ai on 9/6/15. 6 | // Copyright © 2015 ai. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | @interface ALAsset (Image) 13 | /*! 14 | * Get image of a ALAsset object 15 | * 16 | * @return a image 17 | */ 18 | - (UIImage *)image; 19 | @end 20 | -------------------------------------------------------------------------------- /Pods/AXExtensions/AXExtensions/AXExtensions/ALAsset+Image/ALAsset+Image.m: -------------------------------------------------------------------------------- 1 | // 2 | // ALAsset+Image.m 3 | // AXSwift2OC 4 | // 5 | // Created by ai on 9/6/15. 6 | // Copyright © 2015 ai. All rights reserved. 7 | // 8 | 9 | #import "ALAsset+Image.h" 10 | #pragma clang diagnostic push 11 | #pragma clang diagnostic ignored "-Wdeprecated" 12 | @implementation ALAsset (Image) 13 | - (UIImage *)image { 14 | return [UIImage imageWithCGImage:[[self defaultRepresentation] fullResolutionImage]]; 15 | } 16 | @end 17 | #pragma clang diagnostic pop -------------------------------------------------------------------------------- /Pods/AXExtensions/AXExtensions/AXExtensions/PHAsset+Image/PHAsset+Image.h: -------------------------------------------------------------------------------- 1 | // 2 | // PHAsset+Image.h 3 | // AXSwift2OC 4 | // 5 | // Created by ai on 9/6/15. 6 | // Copyright © 2015 ai. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | @interface PHAsset (Image) 13 | /*! 14 | * Get image of a PHAsset object 15 | * 16 | * @return a image 17 | */ 18 | - (UIImage *)image; 19 | @end 20 | -------------------------------------------------------------------------------- /Pods/AXExtensions/AXExtensions/AXExtensions/PHAsset+Image/PHAsset+Image.m: -------------------------------------------------------------------------------- 1 | // 2 | // PHAsset+Image.m 3 | // AXSwift2OC 4 | // 5 | // Created by ai on 9/6/15. 6 | // Copyright © 2015 ai. All rights reserved. 7 | // 8 | 9 | #import "PHAsset+Image.h" 10 | #import 11 | 12 | #ifndef kCFCoreFoundationVersionNumber_iOS_8_0 13 | #define kCFCoreFoundationVersionNumber_iOS_8_0 1140.1 14 | #endif 15 | 16 | @implementation PHAsset (Image) 17 | - (UIImage *)image { 18 | if (kCFCoreFoundationVersionNumber >= kCFCoreFoundationVersionNumber_iOS_8_0) { 19 | PHImageRequestOptions *options = [[PHImageRequestOptions alloc] init]; 20 | options.synchronous = YES; 21 | UIImage * __block image; 22 | [[PHImageManager defaultManager] requestImageForAsset:self 23 | targetSize:PHImageManagerMaximumSize 24 | contentMode:PHImageContentModeDefault 25 | options:options 26 | resultHandler:^(UIImage *result, NSDictionary *info) { 27 | image = result; 28 | }]; 29 | return image; 30 | } else { 31 | return nil; 32 | } 33 | } 34 | @end 35 | -------------------------------------------------------------------------------- /Pods/AXExtensions/AXExtensions/AXExtensions/ScrollView/AXCollectionView.h: -------------------------------------------------------------------------------- 1 | // 2 | // AXCollectionView.h 3 | // AXExtensions 4 | // 5 | // Created by ai on 16/3/11. 6 | // Copyright © 2016年 AiXing. All rights reserved. 7 | // 8 | 9 | #import "AXScrollView.h" 10 | 11 | @class AXCollectionView; 12 | @protocol AXCollectionViewDelegate 13 | @required 14 | - (void)collectionViewRefreshData:(AXCollectionView *)collectionView; 15 | - (void)collectionViewMoreData:(AXCollectionView *)collectionView; 16 | @end 17 | 18 | @interface AXCollectionView : UICollectionView 19 | /// Refresh delegate 20 | @property(assign, nonatomic) IBOutlet idrefreshDelegate; 21 | /// max load time of refresh, default 10.f 22 | @property(assign, nonatomic) IBInspectable CGFloat maxLoadTimeOfRefresh; 23 | /// Refresh header enabled, Default is YES. 24 | @property(assign, nonatomic) IBInspectable BOOL refreshHeaderEnabled; 25 | /// Refresh footer enabled, Default is YES. 26 | @property(assign, nonatomic) IBInspectable BOOL refreshFooterEnabled; 27 | /// Refresh data 28 | - (void)refreshData; 29 | /// Load more data 30 | - (void)moreData; 31 | /// End header refreshing. 32 | - (void)endRefreshHeader; 33 | /// End footer refreshing. 34 | - (void)endRefreshFooter; 35 | @end -------------------------------------------------------------------------------- /Pods/AXExtensions/AXExtensions/AXExtensions/ScrollView/AXScrollView.h: -------------------------------------------------------------------------------- 1 | // 2 | // AXScrollView.h 3 | // AXExtensions 4 | // 5 | // Created by ai on 16/3/11. 6 | // Copyright © 2016年 AiXing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class AXScrollView; 12 | @protocol AXScrollViewDelegate 13 | @required 14 | - (void)scrollViewRefreshData:(AXScrollView *)scrollView; 15 | - (void)scrollViewMoreData:(AXScrollView *)scrollView; 16 | @end 17 | 18 | @interface AXScrollView : UIScrollView 19 | /// Refresh delegate 20 | @property(assign, nonatomic) IBOutlet idrefreshDelegate; 21 | /// max load time of refresh, default 10.f 22 | @property(assign, nonatomic) IBInspectable CGFloat maxLoadTimeOfRefresh; 23 | /// Refresh header enabled, Default is YES. 24 | @property(assign, nonatomic) IBInspectable BOOL refreshHeaderEnabled; 25 | /// Refresh footer enabled, Default is YES. 26 | @property(assign, nonatomic) IBInspectable BOOL refreshFooterEnabled; 27 | /// Refresh data 28 | - (void)refreshData; 29 | /// Load more data 30 | - (void)moreData; 31 | /// End header refreshing. 32 | - (void)endRefreshHeader; 33 | /// End footer refreshing. 34 | - (void)endRefreshFooter; 35 | @end 36 | 37 | IB_DESIGNABLE @interface UIScrollView (PlaceHolder) 38 | /// Indicator view enabled. 39 | @property(assign, nonatomic) BOOL indicatorViewEnabled; 40 | /// Place hodler string content. 41 | @property(copy, nonatomic) IBInspectable NSString *placeHolderContent; 42 | /// Place holder label font. Default is system 26pt. 43 | @property(strong, nonatomic) IBInspectable UIFont *placeHolderFont; 44 | /// Place holder label text color. Default is light gray color. 45 | @property(strong, nonatomic) IBInspectable UIColor *placeHolderTextColor; 46 | /// Place hodler image. 47 | @property(strong, nonatomic) IBInspectable UIImage *placeHolderImage; 48 | /// Offset of place holder content. Default is (0, 0). 49 | @property(assign, nonatomic) IBInspectable CGPoint placeHolderOffset; 50 | @end -------------------------------------------------------------------------------- /Pods/AXExtensions/AXExtensions/AXExtensions/ScrollView/AXTableView.h: -------------------------------------------------------------------------------- 1 | // 2 | // AXTableView.h 3 | // AXExtensions 4 | // 5 | // Created by ai on 16/3/11. 6 | // Copyright © 2016年 AiXing. All rights reserved. 7 | // 8 | 9 | #import "AXScrollView.h" 10 | 11 | @class AXTableView; 12 | @protocol AXTableViewDelegate 13 | @required 14 | - (void)tableViewRefreshData:(AXTableView *)tableView; 15 | - (void)tableViewMoreData:(AXTableView *)tableView; 16 | @end 17 | 18 | @interface AXTableView : UITableView 19 | /// Refresh delegate 20 | @property(assign, nonatomic) IBOutlet idrefreshDelegate; 21 | /// max load time of refresh, default 10.f 22 | @property(assign, nonatomic) IBInspectable CGFloat maxLoadTimeOfRefresh; 23 | /// Refresh header enabled, Default is YES. 24 | @property(assign, nonatomic) IBInspectable BOOL refreshHeaderEnabled; 25 | /// Refresh footer enabled, Default is YES. 26 | @property(assign, nonatomic) IBInspectable BOOL refreshFooterEnabled; 27 | /// Refresh data 28 | - (void)refreshData; 29 | /// Load more data 30 | - (void)moreData; 31 | /// End header refreshing. 32 | - (void)endRefreshHeader; 33 | /// End footer refreshing. 34 | - (void)endRefreshFooter; 35 | @end -------------------------------------------------------------------------------- /Pods/AXExtensions/AXExtensions/AXExtensions/UIImage+TintColor/UIImage+TintColor.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIImage+TintColor.h 3 | // AXExtensions 4 | // 5 | // Created by ai on 15/11/23. 6 | // Copyright © 2015年 AiXing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UIImage(TintColor) 12 | /*! 13 | * Get a new tint image with a original image and a tint color. 14 | * 15 | * @param image a original image 16 | * @param color a tint color 17 | * 18 | * @return a new image with tint color 19 | */ 20 | + (UIImage *)tintImage:(UIImage *)image withColor:(UIColor *)color; 21 | /*! 22 | * Get a a new image with a color 23 | * 24 | * @param color a tint color 25 | * 26 | * @return a new image with tint color 27 | */ 28 | - (instancetype)tintImageWithColor:(UIColor *)color; 29 | 30 | + (instancetype)rectangleImageWithColor:(UIColor *)color size:(CGSize)size; 31 | @end 32 | -------------------------------------------------------------------------------- /Pods/AXExtensions/AXExtensions/AXExtensions/UIImage+TintColor/UIImage+TintColor.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIImage+TintColor.m 3 | // AXExtensions 4 | // 5 | // Created by ai on 15/11/23. 6 | // Copyright © 2015年 AiXing. All rights reserved. 7 | // 8 | 9 | #import "UIImage+TintColor.h" 10 | 11 | @implementation UIImage(TintColor) 12 | + (UIImage *)tintImage:(UIImage *)image withColor:(UIColor *)color 13 | { 14 | return [image tintImageWithColor:color]; 15 | } 16 | 17 | - (instancetype)tintImageWithColor:(UIColor *)color 18 | { 19 | UIGraphicsBeginImageContextWithOptions(self.size, NO, self.scale); 20 | CGContextRef context = UIGraphicsGetCurrentContext(); 21 | CGContextTranslateCTM(context, 0, self.size.height); 22 | CGContextScaleCTM(context, 1.0, -1.0); 23 | CGContextSetBlendMode(context, kCGBlendModeNormal); 24 | CGRect rect = CGRectMake(0, 0, self.size.width, self.size.height); 25 | CGContextClipToMask(context, rect, self.CGImage); 26 | [color setFill]; 27 | CGContextFillRect(context, rect); 28 | UIImage *newImage = UIGraphicsGetImageFromCurrentImageContext(); 29 | UIGraphicsEndImageContext(); 30 | return newImage; 31 | } 32 | 33 | + (instancetype)rectangleImageWithColor:(UIColor *)color size:(CGSize)size { 34 | UIGraphicsBeginImageContextWithOptions(size, NO, 1.0); 35 | CGContextRef context = UIGraphicsGetCurrentContext(); 36 | CGContextSetFillColorWithColor(context, color.CGColor); 37 | CGContextFillRect(context, CGRectMake(0, 0, size.width, size.height)); 38 | UIImage *image = UIGraphicsGetImageFromCurrentImageContext(); 39 | UIGraphicsEndImageContext(); 40 | return image; 41 | } 42 | @end -------------------------------------------------------------------------------- /Pods/AXExtensions/AXExtensions/AXExtensions/UIImagePickerController+Authorization/UIImagePickerController+Authorization.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIImagePickerController+Authorization.h 3 | // 4 | // 5 | // Created by ai on 9/9/15. 6 | // 7 | // 8 | 9 | #import 10 | 11 | @interface UIImagePickerController (Authorization) 12 | + (void)requestAuthorizationOfCameraCompletion:(void(^)())completion failure:(void(^)())failure; 13 | @end 14 | -------------------------------------------------------------------------------- /Pods/AXExtensions/AXExtensions/AXExtensions/UIImagePickerController+Authorization/UIImagePickerController+Authorization.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIImagePickerController+Authorization.m 3 | // 4 | // 5 | // Created by ai on 9/9/15. 6 | // 7 | // 8 | #import 9 | #import "UIImagePickerController+Authorization.h" 10 | 11 | @implementation UIImagePickerController (Authorization) 12 | + (void)requestAuthorizationOfCameraCompletion:(void (^)())completion failure:(void (^)())failure { 13 | AVAuthorizationStatus status = [AVCaptureDevice authorizationStatusForMediaType:AVMediaTypeVideo]; 14 | if (status == AVAuthorizationStatusDenied || status == AVAuthorizationStatusRestricted) { 15 | if (failure) { 16 | failure(); 17 | } 18 | } else { 19 | if (completion) { 20 | completion(); 21 | } 22 | } 23 | } 24 | @end 25 | -------------------------------------------------------------------------------- /Pods/AXExtensions/AXExtensions/AXExtensions/UILabel+Pop/UILabel+Pop.h: -------------------------------------------------------------------------------- 1 | // 2 | // UILabel+Pop.h 3 | // AXExtensions 4 | // 5 | // Created by ai on 16/5/9. 6 | // Copyright © 2016年 AiXing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UILabel(Pop) 12 | /// Pop text animation speed per character. Default is 0.025. Pass a negative value to ignore. 13 | @property(assign, nonatomic) CGFloat speed UI_APPEARANCE_SELECTOR; 14 | /// Pop text animation total duration. 15 | @property(assign, nonatomic) CGFloat duration UI_APPEARANCE_SELECTOR; 16 | 17 | - (void)pop_setText:(NSString *)text; 18 | @end -------------------------------------------------------------------------------- /Pods/AXExtensions/AXExtensions/AXExtensions/UILabel+Pop/UILabel+Pop.m: -------------------------------------------------------------------------------- 1 | // 2 | // UILabel+Pop.m 3 | // AXExtensions 4 | // 5 | // Created by ai on 16/5/9. 6 | // Copyright © 2016年 AiXing. All rights reserved. 7 | // 8 | 9 | #import "UILabel+Pop.h" 10 | #import 11 | #import 12 | 13 | @implementation UILabel(Pop) 14 | 15 | - (CGFloat)speed { 16 | return [objc_getAssociatedObject(self, _cmd) floatValue]; 17 | } 18 | 19 | - (void)setSpeed:(CGFloat)speed { 20 | objc_setAssociatedObject(self, @selector(speed), @(speed), OBJC_ASSOCIATION_RETAIN_NONATOMIC); 21 | } 22 | 23 | - (CGFloat)duration { 24 | return [objc_getAssociatedObject(self, _cmd) floatValue]; 25 | } 26 | 27 | - (void)setDuration:(CGFloat)duration { 28 | objc_setAssociatedObject(self, @selector(duration), @(duration), OBJC_ASSOCIATION_COPY_NONATOMIC); 29 | } 30 | 31 | - (void)pop_setText:(NSString *)text { 32 | NSTimeInterval duration = self.duration; 33 | NSTimeInterval perSpeed = self.speed; 34 | NSInteger __block count = 0; 35 | 36 | POPAnimatableProperty * nameProp = [POPAnimatableProperty propertyWithName:@"count" initializer:^(POPMutableAnimatableProperty *prop) { 37 | // read value 38 | prop.readBlock = ^(id obj, CGFloat values[]) { 39 | values[0] = MIN(++count, text.length); 40 | }; 41 | // write value 42 | prop.writeBlock = ^(id obj, const CGFloat values[]) { 43 | [obj setText:[text substringWithRange:NSMakeRange(0, values[0])]]; 44 | }; 45 | // dynamics threshold 46 | prop.threshold = 0.01; 47 | }]; 48 | 49 | if (perSpeed > 0) { 50 | duration = perSpeed*text.length; 51 | } 52 | POPBasicAnimation *nameAnim = [POPBasicAnimation animation]; 53 | nameAnim.duration = duration; 54 | nameAnim.timingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseOut]; 55 | nameAnim.property = nameProp; 56 | nameAnim.fromValue = @(0); 57 | nameAnim.toValue = @(text.length); 58 | 59 | [self pop_removeAllAnimations]; 60 | [self pop_addAnimation:nameAnim forKey:@"counting"]; 61 | } 62 | 63 | @end -------------------------------------------------------------------------------- /Pods/AXExtensions/AXExtensions/AXExtensions/UINavigationBar+Separator_hidden/UINavigationBar+Separator_hidden.h: -------------------------------------------------------------------------------- 1 | // 2 | // UINavigationBar+Separator_hidden.h 3 | // AXSwift2OC 4 | // 5 | // Created by ai on 9/5/15. 6 | // Copyright © 2015 ai. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UINavigationBar (Separator_hidden) 12 | /*! 13 | * Set the separator of navigation bar 14 | * 15 | * @param hidden a boolean value to decide hide separator or not 16 | * 17 | * @return Void 18 | */ 19 | - (void)setSeparatorHidden:(BOOL)hidden; 20 | @end 21 | -------------------------------------------------------------------------------- /Pods/AXExtensions/AXExtensions/AXExtensions/UINavigationBar+Separator_hidden/UINavigationBar+Separator_hidden.m: -------------------------------------------------------------------------------- 1 | // 2 | // UINavigationBar+Separator_hidden.m 3 | // AXSwift2OC 4 | // 5 | // Created by ai on 9/5/15. 6 | // Copyright © 2015 ai. All rights reserved. 7 | // 8 | 9 | #import "UINavigationBar+Separator_hidden.h" 10 | 11 | @implementation UINavigationBar (Separator_hidden) 12 | - (void)setSeparatorHidden:(BOOL)hidden { 13 | for (UIView *view in [self subviews]) { 14 | if ([view isKindOfClass:[UIImageView class]] && [[view subviews] count] > 0) { 15 | for (UIView *separator in view.subviews) { 16 | if ([separator isKindOfClass:[UIImageView class]]) { 17 | [separator setHidden:hidden]; 18 | } 19 | } 20 | } 21 | } 22 | } 23 | @end 24 | -------------------------------------------------------------------------------- /Pods/AXExtensions/AXExtensions/AXExtensions/UIToolbar+Separator_hidden/UIToolbar+Separator_hidden.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIToolbar+Separator_hidden.h 3 | // AXSwift2OC 4 | // 5 | // Created by ai on 9/5/15. 6 | // Copyright © 2015 ai. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UIToolbar (Separator_hidden) 12 | /*! 13 | * Set the separator of navigation bar 14 | * 15 | * @param hidden a boolean value to decide hide separator or not 16 | * 17 | * @return Void 18 | */ 19 | - (void)setSeparatorHidden:(BOOL)hidden; 20 | @end 21 | -------------------------------------------------------------------------------- /Pods/AXExtensions/AXExtensions/AXExtensions/UIToolbar+Separator_hidden/UIToolbar+Separator_hidden.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIToolbar+Separator_hidden.m 3 | // AXSwift2OC 4 | // 5 | // Created by ai on 9/5/15. 6 | // Copyright © 2015 ai. All rights reserved. 7 | // 8 | 9 | #import "UIToolbar+Separator_hidden.h" 10 | 11 | @implementation UIToolbar (Separator_hidden) 12 | - (void)setSeparatorHidden:(BOOL)hidden { 13 | for (UIView *view in [self subviews]) { 14 | if ([view isKindOfClass:[UIImageView class]] && [[view subviews] count] == 0) { 15 | [view setHidden:hidden]; 16 | } 17 | } 18 | } 19 | @end 20 | -------------------------------------------------------------------------------- /Pods/AXExtensions/AXExtensions/AXExtensions/UIView+Extension/UIView+Extension.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIView+Extension.h 3 | // AXExtensions 4 | // 5 | // Created by ai on 16/4/26. 6 | // Copyright © 2016年 AiXing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UIView (Extension) 12 | /// The origin of view. 13 | @property(nonatomic) CGPoint origin; 14 | /// The size of view. 15 | @property(nonatomic) CGSize size; 16 | /// The width of view. 17 | @property(nonatomic) CGFloat width; 18 | /// The height of view. 19 | @property(nonatomic) CGFloat height; 20 | @end -------------------------------------------------------------------------------- /Pods/AXExtensions/AXExtensions/AXExtensions/UIView+Extension/UIView+Extension.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIView+Extension.m 3 | // AXExtensions 4 | // 5 | // Created by ai on 16/4/26. 6 | // Copyright © 2016年 AiXing. All rights reserved. 7 | // 8 | 9 | #import "UIView+Extension.h" 10 | 11 | @implementation UIView(Extension) 12 | 13 | - (CGPoint)origin { 14 | return self.frame.origin; 15 | } 16 | 17 | - (void)setOrigin:(CGPoint)origin { 18 | CGRect rect = self.frame; 19 | rect.origin = origin; 20 | self.frame = rect; 21 | } 22 | 23 | - (CGSize)size { 24 | return self.frame.size; 25 | } 26 | 27 | - (void)setSize:(CGSize)size { 28 | CGRect rect = self.frame; 29 | rect.size = size; 30 | self.frame = rect; 31 | } 32 | 33 | - (CGFloat)width { 34 | return self.size.width; 35 | } 36 | 37 | - (void)setWidth:(CGFloat)width { 38 | CGRect rect = self.frame; 39 | rect.size.width = width; 40 | self.frame = rect; 41 | } 42 | 43 | - (CGFloat)height { 44 | return self.size.height; 45 | } 46 | 47 | - (void)setHeight:(CGFloat)height { 48 | CGRect rect = self.frame; 49 | rect.size.height = height; 50 | self.frame = rect; 51 | } 52 | @end -------------------------------------------------------------------------------- /Pods/AXExtensions/AXExtensions/AXExtensions/UIViewController+Title/UIViewController+Title.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIViewController+Title.h 3 | // AXSwift2OC 4 | // 5 | // Created by ai on 9/6/15. 6 | // Copyright © 2015 ai. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class AXTitleView; 12 | @interface UIViewController (Title) 13 | /// Title view 14 | @property(readonly, nonatomic) AXTitleView *titleView; 15 | /*! 16 | * Set a title of view controller with a sepefic title and text color of title label and font 17 | * 18 | * @param title a text content of title 19 | * @param color a text color of title label 20 | * @param font a font of title label 21 | * 22 | * @return Void 23 | */ 24 | - (void)setTitle:(NSString *)title color:(UIColor *)color font:(UIFont *)font; 25 | @end 26 | @interface AXTitleView : UIView 27 | /// Title. 28 | @property(copy, nonatomic) NSString *title; 29 | /// Title label 30 | @property(readonly, strong, nonatomic) UILabel *titleLabel; 31 | /// Title activityIndicator 32 | @property(strong, nonatomic) UIActivityIndicatorView *activityIndicator; 33 | @end 34 | -------------------------------------------------------------------------------- /Pods/AXExtensions/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 xing Ai 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /Pods/AXExtensions/README.md: -------------------------------------------------------------------------------- 1 | # AXExtensions 2 | AXExtensions 3 | -------------------------------------------------------------------------------- /Pods/AXImagePickerController/AXImagePickerController/AXImagePickerController/AXAlbumTableViewCell.h: -------------------------------------------------------------------------------- 1 | // 2 | // AXAlbumTableViewCell.h 3 | // AXSwift2OC 4 | // 5 | // Created by ai on 9/8/15. 6 | // Copyright © 2015 ai. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #ifndef kAXAlbumTableViewCellHeight 12 | #define kAXAlbumTableViewCellHeight 88.0 13 | #endif 14 | #ifndef kAXAlbumTableViewCellPadding 15 | #define kAXAlbumTableViewCellPadding 10.0 16 | #endif 17 | #ifndef kAXAlbumTableViewCellLeftMargin 18 | #define kAXAlbumTableViewCellLeftMargin 20.0 19 | #endif 20 | 21 | @interface AXAlbumTableViewCell : UITableViewCell 22 | /// Album image view 23 | @property(strong, nonatomic) UIImageView *albumView; 24 | /// Album title label 25 | @property(strong, nonatomic) UILabel *albumTitleLabel; 26 | /// Album detail label 27 | @property(strong, nonatomic) UILabel *albumDetailLabel; 28 | /// Album selected info 29 | @property(strong, nonatomic) UILabel *albumSelectedInfo; 30 | @end 31 | -------------------------------------------------------------------------------- /Pods/AXImagePickerController/AXImagePickerController/AXImagePickerController/AXAlbumViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // AXAlbumViewController.h 3 | // AXSwift2OC 4 | // 5 | // Created by ai on 9/8/15. 6 | // Copyright © 2015 ai. All rights reserved. 7 | // 8 | 9 | #import "AXViewController.h" 10 | 11 | @interface AXAlbumViewController : AXViewController 12 | /// Album library 13 | @property(readonly, strong, nonatomic) ALAssetsLibrary *albumLibrary NS_DEPRECATED_IOS(7_0, 8_0); 14 | /// Album groups of ALAssetsGroup 15 | @property(copy, nonatomic) NSArray *albumGroups NS_DEPRECATED_IOS(7_0, 8_0); 16 | /// Album list of PHAssetCollection 17 | @property(copy, nonatomic) NSArray *albumList NS_AVAILABLE_IOS(8_0); 18 | /// Album view 19 | @property(readonly, strong, nonatomic) UITableView *albumView; 20 | /// Top album info 21 | @property(readonly, nonatomic) id topAlbumInfo NS_AVAILABLE_IOS(7_0); 22 | 23 | - (void)loadGroupsCompletion:(void(^)())completion; 24 | @end 25 | -------------------------------------------------------------------------------- /Pods/AXImagePickerController/AXImagePickerController/AXImagePickerController/AXAssetsImageController.h: -------------------------------------------------------------------------------- 1 | // 2 | // AXAssetsImageController.h 3 | // AXSwift2OC 4 | // 5 | // Created by ai on 9/8/15. 6 | // Copyright © 2015 ai. All rights reserved. 7 | // 8 | 9 | #import "AXPreviewImageController.h" 10 | 11 | @interface AXAssetsImageController : AXPreviewImageController 12 | /// Assets: PHAsset/ALAsset 13 | @property(weak, nonatomic) id asset; 14 | 15 | + (instancetype)defaultControllerWithAsset:(id)asset; 16 | @end 17 | -------------------------------------------------------------------------------- /Pods/AXImagePickerController/AXImagePickerController/AXImagePickerController/AXAssetsImageController.m: -------------------------------------------------------------------------------- 1 | // 2 | // AXAssetsImageController.m 3 | // AXSwift2OC 4 | // 5 | // Created by ai on 9/8/15. 6 | // Copyright © 2015 ai. All rights reserved. 7 | // 8 | 9 | #import "AXAssetsImageController.h" 10 | #import 11 | #import 12 | 13 | @implementation AXAssetsImageController 14 | + (instancetype)defaultControllerWithAsset:(id)asset { 15 | AXAssetsImageController *controller = [[AXAssetsImageController alloc] init]; 16 | controller.asset = asset; 17 | if (![asset isKindOfClass:[PHAsset class]] && ![asset isKindOfClass:[ALAsset class]]) return nil; 18 | UIImage *image = [asset valueForKey:@"image"]; 19 | if (image) { 20 | controller.imageView.image = image; 21 | } 22 | return controller; 23 | } 24 | @end -------------------------------------------------------------------------------- /Pods/AXImagePickerController/AXImagePickerController/AXImagePickerController/AXImagePickerController.bundle/mark@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devedbox/AXAttributedLabel/a253296c403f1eb54204585dc5e1f93ff79ba7e1/Pods/AXImagePickerController/AXImagePickerController/AXImagePickerController/AXImagePickerController.bundle/mark@2x.png -------------------------------------------------------------------------------- /Pods/AXImagePickerController/AXImagePickerController/AXImagePickerController/AXImagePickerController.bundle/mark@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devedbox/AXAttributedLabel/a253296c403f1eb54204585dc5e1f93ff79ba7e1/Pods/AXImagePickerController/AXImagePickerController/AXImagePickerController/AXImagePickerController.bundle/mark@3x.png -------------------------------------------------------------------------------- /Pods/AXImagePickerController/AXImagePickerController/AXImagePickerController/AXImagePickerController.h: -------------------------------------------------------------------------------- 1 | // 2 | // AXImagePickerController.h 3 | // AXSwift2OC 4 | // 5 | // Created by ai on 9/8/15. 6 | // Copyright © 2015 ai. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | #import 12 | 13 | @class AXAlbumViewController, AXPhotoViewController; 14 | @protocol AXImagePickerControllerDelegate; 15 | 16 | @interface AXImagePickerController : UINavigationController 17 | /// Delegate 18 | @property(assign, nonatomic) id delegate; 19 | /// Preview enabled 20 | @property(assign, nonatomic) BOOL previewEnabled; 21 | /// Allows multiple selection 22 | @property(assign, nonatomic) BOOL allowsMultipleSelection; 23 | /// Max allowed count of images. Defaults 9. 24 | @property(assign, nonatomic) NSUInteger maxAllowedSelectionCount; 25 | /// Selection tint color 26 | @property(strong, nonatomic) UIColor *selectionTintColor; 27 | /// Selected image info 28 | @property(copy, nonatomic) NSDictionary *selectedImageInfo; 29 | /// Selected assets 30 | @property(readonly, nonatomic) NSArray *selectedAssets; 31 | /// Selected images 32 | @property(readonly, nonatomic) NSArray *selectedImages; 33 | /// Albums view controller 34 | @property(readonly, nonatomic) AXAlbumViewController *albumsViewController; 35 | /// Photos view controller 36 | @property(readonly, nonatomic) AXPhotoViewController *photoViewController; 37 | 38 | - (void)deleteAsset:(id)asset; 39 | @end 40 | 41 | @protocol AXImagePickerControllerDelegate 42 | @optional 43 | - (void)imagePickerController:(AXImagePickerController *)picker previewWithImages:(NSArray *)images; 44 | - (void)imagePickerController:(AXImagePickerController *)picker selectedImages:(NSArray *)images; 45 | - (void)imagePickerControllerCanceled:(AXImagePickerController *)picker; 46 | #if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_8_0 47 | - (void)imagePickerController:(AXImagePickerController *)picker previewWithImageAssets:(NSArray*)imageAssets; 48 | - (void)imagePickerController:(AXImagePickerController *)picker selectedImageAssets:(NSArray*)imageAssets; 49 | #else 50 | - (void)imagePickerController:(AXImagePickerController *)picker previewWithImageAssets:(NSArray*)imageAssets; 51 | - (void)imagePickerController:(AXImagePickerController *)picker selectedImageAssets:(NSArray*)imageAssets; 52 | #endif 53 | @end 54 | 55 | @interface AXImagePickerController(Authorization) 56 | + (void)requestAuthorizationCompletion:(void(^)())completion failure:(void(^)())failure; 57 | @end -------------------------------------------------------------------------------- /Pods/AXImagePickerController/AXImagePickerController/AXImagePickerController/AXImagePickerControllerMacro.h: -------------------------------------------------------------------------------- 1 | // 2 | // AXImagePickerControllerMacro.h 3 | // AXImagePickerController 4 | // 5 | // Created by ai on 16/4/22. 6 | // Copyright © 2016年 AiXing. All rights reserved. 7 | // 8 | 9 | #ifndef AXImagePickerControllerMacro_h 10 | #define AXImagePickerControllerMacro_h 11 | 12 | #ifndef kCFCoreFoundationVersionNumber_iOS_8_0 13 | #define kCFCoreFoundationVersionNumber_iOS_8_0 1140.1 14 | #endif 15 | //#ifdef kCFCoreFoundationVersionNumber_iOS_8_0 16 | //#define kCFCoreFoundationVersionNumber_iOS_8_0 11401.1 17 | //#endif 18 | #ifndef kAXPhotoCollectionViewCellReuseIdentifier 19 | #define kAXPhotoCollectionViewCellReuseIdentifier @"__ax_photo_collectionViewCell" 20 | #endif 21 | #ifndef kAXPhotoCollectionViewCellPadding 22 | #define kAXPhotoCollectionViewCellPadding 2.0 23 | #endif 24 | #ifndef kAXPhotoCollectionViewSize 25 | #define kAXPhotoCollectionViewSize (CGSizeMake((self.view.bounds.size.width - kAXPhotoCollectionViewCellPadding * 4) / 3, (self.view.bounds.size.width - kAXPhotoCollectionViewCellPadding * 2) / 3)) 26 | #endif 27 | 28 | #endif /* AXImagePickerControllerMacro_h */ 29 | -------------------------------------------------------------------------------- /Pods/AXImagePickerController/AXImagePickerController/AXImagePickerController/AXPhotoCollectionViewCell.h: -------------------------------------------------------------------------------- 1 | // 2 | // AXPhotoCollectionViewCell.h 3 | // AXSwift2OC 4 | // 5 | // Created by ai on 9/8/15. 6 | // Copyright © 2015 ai. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AXPhotoCollectionViewCell : UICollectionViewCell 12 | /// Selected label info 13 | @property(strong, nonatomic) UILabel *selectedLabel __deprecated; 14 | /// Photo image view 15 | @property(strong, nonatomic) UIImageView *photoView; 16 | @end 17 | -------------------------------------------------------------------------------- /Pods/AXImagePickerController/AXImagePickerController/AXImagePickerController/AXPhotoViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // AXPhotoViewController.h 3 | // AXSwift2OC 4 | // 5 | // Created by ai on 9/8/15. 6 | // Copyright © 2015 ai. All rights reserved. 7 | // 8 | 9 | #import "AXViewController.h" 10 | #import "AXAlbumViewController.h" 11 | 12 | @interface AXPhotoViewController : AXViewController 13 | /// Assets library 14 | @property(readonly, strong, nonatomic) ALAssetsLibrary *assetsLibrary NS_DEPRECATED_IOS(7_0, 8_0); 15 | /// Assets collection 16 | @property(readonly, strong, nonatomic) PHAssetCollection *photoCollection NS_AVAILABLE_IOS(8_0); 17 | /// Assets group of ALAssetsGroup 18 | @property(readonly, strong, nonatomic) ALAssetsGroup *assetsGroup NS_DEPRECATED_IOS(7_0, 8_0); 19 | /// Photos 20 | @property(readonly, strong, nonatomic) id photos NS_AVAILABLE_IOS(7_0); 21 | /// Assets of ALAsset 22 | @property(readonly, copy, nonatomic) NSArray __block *assets NS_DEPRECATED_IOS(7_0, 8_0); 23 | /// Photo view 24 | @property(readonly, strong, nonatomic) UICollectionView *photoView; 25 | /// Album view controller. 26 | @property(weak, nonatomic) AXAlbumViewController *albumViewController; 27 | 28 | - (instancetype)initWithPhotoCollection:(PHAssetCollection *)collection NS_AVAILABLE_IOS(8_0); 29 | - (instancetype)initWithAssetsGroup:(ALAssetsGroup *)group NS_DEPRECATED_IOS(7_0, 8_0); 30 | @end 31 | -------------------------------------------------------------------------------- /Pods/AXImagePickerController/AXImagePickerController/AXImagePickerController/AXPreviewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // AXPreviewController.h 3 | // AXSwift2OC 4 | // 5 | // Created by ai on 9/8/15. 6 | // Copyright © 2015 ai. All rights reserved. 7 | // 8 | 9 | #import "AXAssetsImageController.h" 10 | 11 | @class AXImagePickerController; 12 | 13 | @interface AXPreviewController : UIViewController 14 | /// Assets 15 | @property(copy, nonatomic) NSArray *assets; 16 | /// Images 17 | @property(copy, nonatomic) NSArray *images; 18 | /// Image view controllers -> AXPreviewImageViewController 19 | @property(copy, nonatomic) NSArray *imageViewControllers; 20 | /// Selection color 21 | @property(readonly, nonatomic) UIColor *selectionTintColor; 22 | /// Image picker controller 23 | @property(readonly, nonatomic) AXImagePickerController *imagePickerController; 24 | /// Current image view controller 25 | @property(weak, nonatomic) AXAssetsImageController *currentImageViewController; 26 | /// Page view controller 27 | @property(weak, nonatomic) UIPageViewController *pageViewController; 28 | /// Get a page view controller 29 | + (UIPageViewController *)PageViewController; 30 | /// Get a default preview view controller 31 | + (instancetype)defaultController; 32 | @end 33 | -------------------------------------------------------------------------------- /Pods/AXImagePickerController/AXImagePickerController/AXImagePickerController/AXPreviewImageController.h: -------------------------------------------------------------------------------- 1 | // 2 | // AXPreviewImageController.h 3 | // AXSwift2OC 4 | // 5 | // Created by ai on 9/8/15. 6 | // Copyright © 2015 ai. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AXPreviewImageController : UIViewController 12 | /// Image view 13 | @property(readonly, strong, nonatomic) UIImageView *imageView; 14 | 15 | + (instancetype)defaultControllerWithImage:(UIImage *)image; 16 | @end 17 | -------------------------------------------------------------------------------- /Pods/AXImagePickerController/AXImagePickerController/AXImagePickerController/AXPreviewImageController.m: -------------------------------------------------------------------------------- 1 | // 2 | // AXPreviewImageController.m 3 | // AXSwift2OC 4 | // 5 | // Created by ai on 9/8/15. 6 | // Copyright © 2015 ai. All rights reserved. 7 | // 8 | 9 | #import "AXPreviewImageController.h" 10 | 11 | @interface AXPreviewImageController() 12 | { 13 | UIImageView *_imageView; 14 | } 15 | @end 16 | 17 | @implementation AXPreviewImageController 18 | #pragma mark - Life cycle 19 | + (instancetype)defaultControllerWithImage:(UIImage *)image { 20 | AXPreviewImageController *controller = [[AXPreviewImageController alloc] init]; 21 | controller.imageView.image = image; 22 | return controller; 23 | } 24 | 25 | - (void)viewDidLoad { 26 | [super viewDidLoad]; 27 | 28 | [self.view addSubview:self.imageView]; 29 | self.automaticallyAdjustsScrollViewInsets = YES; 30 | } 31 | 32 | - (void)viewDidLayoutSubviews { 33 | [super viewDidLayoutSubviews]; 34 | _imageView.frame = self.view.bounds; 35 | } 36 | #pragma mark - Getters 37 | - (UIImageView *)imageView { 38 | if (_imageView) return _imageView; 39 | _imageView = [[UIImageView alloc] initWithFrame:CGRectZero]; 40 | _imageView.backgroundColor = [UIColor blackColor]; 41 | _imageView.contentMode = UIViewContentModeScaleAspectFit; 42 | _imageView.autoresizingMask = UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleWidth; 43 | _imageView.clipsToBounds = YES; 44 | _imageView.userInteractionEnabled = YES; 45 | [_imageView addGestureRecognizer:[[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(handleTapGesture:)]]; 46 | _imageView.frame = self.view.bounds; 47 | return _imageView; 48 | } 49 | 50 | #pragma mark - Actions 51 | - (void)handleTapGesture:(UITapGestureRecognizer *)tap { 52 | [self.navigationController setNavigationBarHidden:!(self.navigationController.navigationBarHidden) animated:YES]; 53 | [self.navigationController setToolbarHidden:!(self.navigationController.toolbarHidden) animated:YES]; 54 | } 55 | @end 56 | -------------------------------------------------------------------------------- /Pods/AXImagePickerController/AXImagePickerController/AXImagePickerController/AXViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // AXViewController.h 3 | // AXSwift2OC 4 | // 5 | // Created by ai on 9/8/15. 6 | // Copyright © 2015 ai. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | #import "AXImagePickerController.h" 12 | 13 | @protocol AXImagePickerControllerDelegate; 14 | 15 | @interface AXViewController : UIViewController 16 | /// Title label 17 | @property(strong, nonatomic) UILabel *titleLabel __deprecated; 18 | /// Count label 19 | @property(strong, nonatomic) UILabel *countLabel; 20 | /// Selection color 21 | @property(strong, nonatomic) UIColor *selectionTintColor; 22 | /// Image picker controller 23 | @property(readonly, nonatomic) AXImagePickerController *imagePickerController; 24 | 25 | - (void)updateSelectionInfo; 26 | @end 27 | -------------------------------------------------------------------------------- /Pods/AXImagePickerController/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 xing Ai 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /Pods/AXImagePickerController/README.md: -------------------------------------------------------------------------------- 1 | # AXImagePickerController 2 | A custom image picker view controller 3 | -------------------------------------------------------------------------------- /Pods/AXPickerView/AXPickerView/AXPickerView/AXImagePickerCell.h: -------------------------------------------------------------------------------- 1 | // 2 | // AXImagePickerCell.h 3 | // AXPickerView 4 | // 5 | // Created by xing Ai on 9/6/15. 6 | // Copyright (c) 2015 xing Ai. All rights reserved. 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 all 16 | // 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 THE 24 | // SOFTWARE. 25 | 26 | #import 27 | 28 | @interface AXImagePickerCell : UICollectionViewCell 29 | /// Label 30 | @property (strong, nonatomic) UILabel *label __deprecated; 31 | /// Image view 32 | @property (strong, nonatomic) UIImageView *imageView; 33 | @end 34 | -------------------------------------------------------------------------------- /Pods/AXPickerView/AXPickerView/AXPickerView/AXPickerContentView/AXPickerCollectionViewCell.h: -------------------------------------------------------------------------------- 1 | // 2 | // AXPickerCollectionViewCell.h 3 | // AXPickerView 4 | // 5 | // Created by xing Ai on 9/6/15. 6 | // Copyright (c) 2015 xing Ai. All rights reserved. 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 all 16 | // 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 THE 24 | // SOFTWARE. 25 | 26 | #import 27 | 28 | @class AXPickerCollectionViewCell; 29 | 30 | @protocol AXPickerCollectionViewCellDelegate 31 | - (void)collectionViewCellDidBeginDraging:(AXPickerCollectionViewCell *)cell; 32 | - (void)collectionViewCell:(AXPickerCollectionViewCell *)cell didMoveToPoint:(CGPoint)location; 33 | - (void)collectionViewCellDidStopDraging:(AXPickerCollectionViewCell *)cell; 34 | @end 35 | 36 | @interface AXPickerCollectionViewCell : UICollectionViewCell 37 | /// Delegate 38 | @property(assign, nonatomic) iddelegate; 39 | /// Image view 40 | @property(strong, nonatomic) UIImageView *imageView; 41 | /// Index path 42 | @property(strong, nonatomic) NSIndexPath *indexPath; 43 | @end 44 | -------------------------------------------------------------------------------- /Pods/AXPickerView/AXPickerView/AXPickerView/AXPickerView.bundle/ax_button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devedbox/AXAttributedLabel/a253296c403f1eb54204585dc5e1f93ff79ba7e1/Pods/AXPickerView/AXPickerView/AXPickerView/AXPickerView.bundle/ax_button.png -------------------------------------------------------------------------------- /Pods/AXPickerView/AXPickerView/AXPickerView/AXPickerView.bundle/mark@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devedbox/AXAttributedLabel/a253296c403f1eb54204585dc5e1f93ff79ba7e1/Pods/AXPickerView/AXPickerView/AXPickerView/AXPickerView.bundle/mark@2x.png -------------------------------------------------------------------------------- /Pods/AXPickerView/AXPickerView/AXPickerView/AXPickerView.bundle/mark@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devedbox/AXAttributedLabel/a253296c403f1eb54204585dc5e1f93ff79ba7e1/Pods/AXPickerView/AXPickerView/AXPickerView/AXPickerView.bundle/mark@3x.png -------------------------------------------------------------------------------- /Pods/AXPickerView/AXPickerView/AXPickerView/AXPickerViewConstants.h: -------------------------------------------------------------------------------- 1 | // 2 | // AXPickerViewConstants.h 3 | // AXPickerView 4 | // 5 | // Created by xing Ai on 9/6/15. 6 | // Copyright (c) 2015 xing Ai. All rights reserved. 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 all 16 | // 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 THE 24 | // SOFTWARE. 25 | 26 | #ifndef AXPickerViewConstants_h 27 | #define AXPickerViewConstants_h 28 | 29 | 30 | #endif /* AXPickerViewConstants_h */ 31 | 32 | #ifndef kAXDefaultTintColor 33 | #define kAXDefaultTintColor [UIColor colorWithRed:0.059 green:0.059 blue:0.059 alpha:1.000] 34 | #endif 35 | #ifndef kAXDefaultSelectedColor 36 | #define kAXDefaultSelectedColor [UIColor colorWithRed:0.294 green:0.808 blue:0.478 alpha:1.000] 37 | #endif 38 | #ifndef kAXDefaultSeparatorColor 39 | #define kAXDefaultSeparatorColor [UIColor colorWithRed:0.824 green:0.824 blue:0.824 alpha:1.000] 40 | #endif 41 | #ifndef kAXDefaultBackgroundColor 42 | #define kAXDefaultBackgroundColor [UIColor colorWithRed:0.965 green:0.965 blue:0.965 alpha:0.700] 43 | #endif 44 | #ifndef kAXPickerToolBarHeight 45 | #define kAXPickerToolBarHeight 44.0f 46 | #endif 47 | #ifndef kAXPickerHeight 48 | #define kAXPickerHeight 216.0f 49 | #endif 50 | #define kPadding 5.0f 51 | #ifndef kCFCoreFoundationVersionNumber_iOS_8_0 52 | #define kCFCoreFoundationVersionNumber_iOS_8_0 1140.1 53 | #endif 54 | #ifndef EXECUTE_ON_MAIN_THREAD 55 | #define EXECUTE_ON_MAIN_THREAD(block) \ 56 | if ([NSThread isMainThread]) {\ 57 | block();\ 58 | } else {\ 59 | dispatch_async(dispatch_get_main_queue(), block);\ 60 | } 61 | #endif -------------------------------------------------------------------------------- /Pods/AXPickerView/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 xing Ai 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /Pods/AXPickerView/README.md: -------------------------------------------------------------------------------- 1 | # EDPickerView 2 | 高度可定制选择器,日期、数据选择器、图片选择等 3 | -------------------------------------------------------------------------------- /Pods/AXPracticalHUD/AXPracticalHUD/AXPracticalHUD/AXBarProgressView.h: -------------------------------------------------------------------------------- 1 | // 2 | // AXBarProgressView.h 3 | // AXSwift2OC 4 | // 5 | // Created by ai on 9/7/15. 6 | // Copyright © 2015 ai. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AXBarProgressView : UIView 12 | /// Progress value 13 | @property(assign, nonatomic) CGFloat progress; 14 | /// Line color 15 | @property(strong, nonatomic) UIColor *lineColor; 16 | /// Progress color 17 | @property(strong, nonatomic) UIColor *progressColor; 18 | /// Track color 19 | @property(strong, nonatomic) UIColor *trackColor; 20 | @end 21 | -------------------------------------------------------------------------------- /Pods/AXPracticalHUD/AXPracticalHUD/AXPracticalHUD/AXCircleProgressView.h: -------------------------------------------------------------------------------- 1 | // 2 | // AXCircleProgressView.h 3 | // AXSwift2OC 4 | // 5 | // Created by ai on 9/7/15. 6 | // Copyright © 2015 ai. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AXCircleProgressView : UIView 12 | /// Progress value 13 | @property(assign, nonatomic) CGFloat progress; 14 | /// Progress color 15 | @property(strong, nonatomic) UIColor *progressColor; 16 | /// Progress background color 17 | @property(strong, nonatomic) UIColor *progressBgnColor; 18 | /// Annular enabled 19 | @property(assign, nonatomic) BOOL annularEnabled; 20 | @end 21 | -------------------------------------------------------------------------------- /Pods/AXPracticalHUD/AXPracticalHUD/AXPracticalHUD/AXGradientProgressView.h: -------------------------------------------------------------------------------- 1 | // 2 | // AXGradientProgressView.h 3 | // AXSwift2OC 4 | // 5 | // Created by ai on 9/7/15. 6 | // Copyright © 2015 ai. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AXGradientProgressView : UIView 12 | /// Progress value 13 | @property(assign, nonatomic) CGFloat progress; 14 | /// Progress height 15 | @property(assign, nonatomic) CGFloat progressHeight; 16 | /// Colors: CGColor 17 | @property(copy, nonatomic) NSMutableArray *colors; 18 | /// Animation duration: 0.08 19 | @property(assign, nonatomic) CGFloat duration; 20 | @end 21 | -------------------------------------------------------------------------------- /Pods/AXPracticalHUD/AXPracticalHUD/AXPracticalHUD/AXPracticalHUD.bundle/ax_hud_error@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devedbox/AXAttributedLabel/a253296c403f1eb54204585dc5e1f93ff79ba7e1/Pods/AXPracticalHUD/AXPracticalHUD/AXPracticalHUD/AXPracticalHUD.bundle/ax_hud_error@2x.png -------------------------------------------------------------------------------- /Pods/AXPracticalHUD/AXPracticalHUD/AXPracticalHUD/AXPracticalHUD.bundle/ax_hud_error@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devedbox/AXAttributedLabel/a253296c403f1eb54204585dc5e1f93ff79ba7e1/Pods/AXPracticalHUD/AXPracticalHUD/AXPracticalHUD/AXPracticalHUD.bundle/ax_hud_error@3x.png -------------------------------------------------------------------------------- /Pods/AXPracticalHUD/AXPracticalHUD/AXPracticalHUD/AXPracticalHUD.bundle/ax_hud_success@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devedbox/AXAttributedLabel/a253296c403f1eb54204585dc5e1f93ff79ba7e1/Pods/AXPracticalHUD/AXPracticalHUD/AXPracticalHUD/AXPracticalHUD.bundle/ax_hud_success@2x.png -------------------------------------------------------------------------------- /Pods/AXPracticalHUD/AXPracticalHUD/AXPracticalHUD/AXPracticalHUD.bundle/ax_hud_success@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devedbox/AXAttributedLabel/a253296c403f1eb54204585dc5e1f93ff79ba7e1/Pods/AXPracticalHUD/AXPracticalHUD/AXPracticalHUD/AXPracticalHUD.bundle/ax_hud_success@3x.png -------------------------------------------------------------------------------- /Pods/AXPracticalHUD/AXPracticalHUD/AXPracticalHUD/AXPracticalHUDContentView.h: -------------------------------------------------------------------------------- 1 | // 2 | // AXPracticalHUDContentView.h 3 | // AXSwift2OC 4 | // 5 | // Created by ai on 9/7/15. 6 | // Copyright © 2015 ai. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | typedef NS_ENUM(NSInteger, AXPracticalHUDTranslucentStyle) { 12 | AXPracticalHUDTranslucentStyleLight, 13 | AXPracticalHUDTranslucentStyleDark 14 | }; 15 | 16 | @interface AXPracticalHUDContentView : UIView 17 | /// Color 18 | @property(strong, nonatomic) UIColor *color; 19 | /// End colot 20 | @property(strong, nonatomic) UIColor *endColor; 21 | /// Translucent 22 | @property(assign, nonatomic) BOOL translucent; 23 | /// Translucent style 24 | @property(assign, nonatomic) AXPracticalHUDTranslucentStyle translucentStyle; 25 | /// Opacity 26 | @property(assign, nonatomic) CGFloat opacity; 27 | @end 28 | -------------------------------------------------------------------------------- /Pods/AXPracticalHUD/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 xing Ai 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /Pods/AXPracticalHUD/README.md: -------------------------------------------------------------------------------- 1 | # AXPracticalHUD 2 | HUD view 3 | -------------------------------------------------------------------------------- /Pods/Headers/Private/AXCollectionViewFlowLayout/AXCollectionViewFlowLayout.h: -------------------------------------------------------------------------------- 1 | ../../../AXCollectionViewFlowLayout/AXCollectionViewFlowLayout/AXCollectionViewFlowLayout/AXCollectionViewFlowLayout.h -------------------------------------------------------------------------------- /Pods/Headers/Private/AXExtensions/ALAsset+Image.h: -------------------------------------------------------------------------------- 1 | ../../../AXExtensions/AXExtensions/AXExtensions/ALAsset+Image/ALAsset+Image.h -------------------------------------------------------------------------------- /Pods/Headers/Private/AXExtensions/AXCollectionView.h: -------------------------------------------------------------------------------- 1 | ../../../AXExtensions/AXExtensions/AXExtensions/ScrollView/AXCollectionView.h -------------------------------------------------------------------------------- /Pods/Headers/Private/AXExtensions/AXScrollView.h: -------------------------------------------------------------------------------- 1 | ../../../AXExtensions/AXExtensions/AXExtensions/ScrollView/AXScrollView.h -------------------------------------------------------------------------------- /Pods/Headers/Private/AXExtensions/AXTableView.h: -------------------------------------------------------------------------------- 1 | ../../../AXExtensions/AXExtensions/AXExtensions/ScrollView/AXTableView.h -------------------------------------------------------------------------------- /Pods/Headers/Private/AXExtensions/PHAsset+Image.h: -------------------------------------------------------------------------------- 1 | ../../../AXExtensions/AXExtensions/AXExtensions/PHAsset+Image/PHAsset+Image.h -------------------------------------------------------------------------------- /Pods/Headers/Private/AXExtensions/UIImage+TintColor.h: -------------------------------------------------------------------------------- 1 | ../../../AXExtensions/AXExtensions/AXExtensions/UIImage+TintColor/UIImage+TintColor.h -------------------------------------------------------------------------------- /Pods/Headers/Private/AXExtensions/UIImagePickerController+Authorization.h: -------------------------------------------------------------------------------- 1 | ../../../AXExtensions/AXExtensions/AXExtensions/UIImagePickerController+Authorization/UIImagePickerController+Authorization.h -------------------------------------------------------------------------------- /Pods/Headers/Private/AXExtensions/UILabel+Pop.h: -------------------------------------------------------------------------------- 1 | ../../../AXExtensions/AXExtensions/AXExtensions/UILabel+Pop/UILabel+Pop.h -------------------------------------------------------------------------------- /Pods/Headers/Private/AXExtensions/UINavigationBar+Separator_hidden.h: -------------------------------------------------------------------------------- 1 | ../../../AXExtensions/AXExtensions/AXExtensions/UINavigationBar+Separator_hidden/UINavigationBar+Separator_hidden.h -------------------------------------------------------------------------------- /Pods/Headers/Private/AXExtensions/UIToolbar+Separator_hidden.h: -------------------------------------------------------------------------------- 1 | ../../../AXExtensions/AXExtensions/AXExtensions/UIToolbar+Separator_hidden/UIToolbar+Separator_hidden.h -------------------------------------------------------------------------------- /Pods/Headers/Private/AXExtensions/UIView+Extension.h: -------------------------------------------------------------------------------- 1 | ../../../AXExtensions/AXExtensions/AXExtensions/UIView+Extension/UIView+Extension.h -------------------------------------------------------------------------------- /Pods/Headers/Private/AXExtensions/UIViewController+Title.h: -------------------------------------------------------------------------------- 1 | ../../../AXExtensions/AXExtensions/AXExtensions/UIViewController+Title/UIViewController+Title.h -------------------------------------------------------------------------------- /Pods/Headers/Private/AXImagePickerController/AXAlbumTableViewCell.h: -------------------------------------------------------------------------------- 1 | ../../../AXImagePickerController/AXImagePickerController/AXImagePickerController/AXAlbumTableViewCell.h -------------------------------------------------------------------------------- /Pods/Headers/Private/AXImagePickerController/AXAlbumViewController.h: -------------------------------------------------------------------------------- 1 | ../../../AXImagePickerController/AXImagePickerController/AXImagePickerController/AXAlbumViewController.h -------------------------------------------------------------------------------- /Pods/Headers/Private/AXImagePickerController/AXAssetsImageController.h: -------------------------------------------------------------------------------- 1 | ../../../AXImagePickerController/AXImagePickerController/AXImagePickerController/AXAssetsImageController.h -------------------------------------------------------------------------------- /Pods/Headers/Private/AXImagePickerController/AXImagePickerController.h: -------------------------------------------------------------------------------- 1 | ../../../AXImagePickerController/AXImagePickerController/AXImagePickerController/AXImagePickerController.h -------------------------------------------------------------------------------- /Pods/Headers/Private/AXImagePickerController/AXImagePickerControllerMacro.h: -------------------------------------------------------------------------------- 1 | ../../../AXImagePickerController/AXImagePickerController/AXImagePickerController/AXImagePickerControllerMacro.h -------------------------------------------------------------------------------- /Pods/Headers/Private/AXImagePickerController/AXPhotoCollectionViewCell.h: -------------------------------------------------------------------------------- 1 | ../../../AXImagePickerController/AXImagePickerController/AXImagePickerController/AXPhotoCollectionViewCell.h -------------------------------------------------------------------------------- /Pods/Headers/Private/AXImagePickerController/AXPhotoViewController.h: -------------------------------------------------------------------------------- 1 | ../../../AXImagePickerController/AXImagePickerController/AXImagePickerController/AXPhotoViewController.h -------------------------------------------------------------------------------- /Pods/Headers/Private/AXImagePickerController/AXPreviewController.h: -------------------------------------------------------------------------------- 1 | ../../../AXImagePickerController/AXImagePickerController/AXImagePickerController/AXPreviewController.h -------------------------------------------------------------------------------- /Pods/Headers/Private/AXImagePickerController/AXPreviewImageController.h: -------------------------------------------------------------------------------- 1 | ../../../AXImagePickerController/AXImagePickerController/AXImagePickerController/AXPreviewImageController.h -------------------------------------------------------------------------------- /Pods/Headers/Private/AXImagePickerController/AXViewController.h: -------------------------------------------------------------------------------- 1 | ../../../AXImagePickerController/AXImagePickerController/AXImagePickerController/AXViewController.h -------------------------------------------------------------------------------- /Pods/Headers/Private/AXPickerView/AXImagePickerCell.h: -------------------------------------------------------------------------------- 1 | ../../../AXPickerView/AXPickerView/AXPickerView/AXImagePickerCell.h -------------------------------------------------------------------------------- /Pods/Headers/Private/AXPickerView/AXPickerCollectionViewCell.h: -------------------------------------------------------------------------------- 1 | ../../../AXPickerView/AXPickerView/AXPickerView/AXPickerContentView/AXPickerCollectionViewCell.h -------------------------------------------------------------------------------- /Pods/Headers/Private/AXPickerView/AXPickerContentView.h: -------------------------------------------------------------------------------- 1 | ../../../AXPickerView/AXPickerView/AXPickerView/AXPickerContentView/AXPickerContentView.h -------------------------------------------------------------------------------- /Pods/Headers/Private/AXPickerView/AXPickerView.h: -------------------------------------------------------------------------------- 1 | ../../../AXPickerView/AXPickerView/AXPickerView/AXPickerView.h -------------------------------------------------------------------------------- /Pods/Headers/Private/AXPickerView/AXPickerViewConstants.h: -------------------------------------------------------------------------------- 1 | ../../../AXPickerView/AXPickerView/AXPickerView/AXPickerViewConstants.h -------------------------------------------------------------------------------- /Pods/Headers/Private/AXPracticalHUD/AXBarProgressView.h: -------------------------------------------------------------------------------- 1 | ../../../AXPracticalHUD/AXPracticalHUD/AXPracticalHUD/AXBarProgressView.h -------------------------------------------------------------------------------- /Pods/Headers/Private/AXPracticalHUD/AXCircleProgressView.h: -------------------------------------------------------------------------------- 1 | ../../../AXPracticalHUD/AXPracticalHUD/AXPracticalHUD/AXCircleProgressView.h -------------------------------------------------------------------------------- /Pods/Headers/Private/AXPracticalHUD/AXGradientProgressView.h: -------------------------------------------------------------------------------- 1 | ../../../AXPracticalHUD/AXPracticalHUD/AXPracticalHUD/AXGradientProgressView.h -------------------------------------------------------------------------------- /Pods/Headers/Private/AXPracticalHUD/AXPracticalHUD.h: -------------------------------------------------------------------------------- 1 | ../../../AXPracticalHUD/AXPracticalHUD/AXPracticalHUD/AXPracticalHUD.h -------------------------------------------------------------------------------- /Pods/Headers/Private/AXPracticalHUD/AXPracticalHUDContentView.h: -------------------------------------------------------------------------------- 1 | ../../../AXPracticalHUD/AXPracticalHUD/AXPracticalHUD/AXPracticalHUDContentView.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/MJRefresh.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/MJRefresh.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/MJRefreshAutoFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Base/MJRefreshAutoFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/MJRefreshAutoGifFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Footer/Auto/MJRefreshAutoGifFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/MJRefreshAutoNormalFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Footer/Auto/MJRefreshAutoNormalFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/MJRefreshAutoStateFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Footer/Auto/MJRefreshAutoStateFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/MJRefreshBackFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Base/MJRefreshBackFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/MJRefreshBackGifFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Footer/Back/MJRefreshBackGifFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/MJRefreshBackNormalFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Footer/Back/MJRefreshBackNormalFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/MJRefreshBackStateFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Footer/Back/MJRefreshBackStateFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/MJRefreshComponent.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Base/MJRefreshComponent.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/MJRefreshConst.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/MJRefreshConst.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/MJRefreshFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Base/MJRefreshFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/MJRefreshGifHeader.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Header/MJRefreshGifHeader.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/MJRefreshHeader.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Base/MJRefreshHeader.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/MJRefreshNormalHeader.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Header/MJRefreshNormalHeader.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/MJRefreshStateHeader.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Header/MJRefreshStateHeader.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/UIScrollView+MJExtension.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/UIScrollView+MJExtension.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/UIScrollView+MJRefresh.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/UIScrollView+MJRefresh.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/UIView+MJExtension.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/UIView+MJExtension.h -------------------------------------------------------------------------------- /Pods/Headers/Private/pop/FloatConversion.h: -------------------------------------------------------------------------------- 1 | ../../../pop/pop/WebCore/FloatConversion.h -------------------------------------------------------------------------------- /Pods/Headers/Private/pop/POP.h: -------------------------------------------------------------------------------- 1 | ../../../pop/pop/POP.h -------------------------------------------------------------------------------- /Pods/Headers/Private/pop/POPAction.h: -------------------------------------------------------------------------------- 1 | ../../../pop/pop/POPAction.h -------------------------------------------------------------------------------- /Pods/Headers/Private/pop/POPAnimatableProperty.h: -------------------------------------------------------------------------------- 1 | ../../../pop/pop/POPAnimatableProperty.h -------------------------------------------------------------------------------- /Pods/Headers/Private/pop/POPAnimation.h: -------------------------------------------------------------------------------- 1 | ../../../pop/pop/POPAnimation.h -------------------------------------------------------------------------------- /Pods/Headers/Private/pop/POPAnimationEvent.h: -------------------------------------------------------------------------------- 1 | ../../../pop/pop/POPAnimationEvent.h -------------------------------------------------------------------------------- /Pods/Headers/Private/pop/POPAnimationEventInternal.h: -------------------------------------------------------------------------------- 1 | ../../../pop/pop/POPAnimationEventInternal.h -------------------------------------------------------------------------------- /Pods/Headers/Private/pop/POPAnimationExtras.h: -------------------------------------------------------------------------------- 1 | ../../../pop/pop/POPAnimationExtras.h -------------------------------------------------------------------------------- /Pods/Headers/Private/pop/POPAnimationInternal.h: -------------------------------------------------------------------------------- 1 | ../../../pop/pop/POPAnimationInternal.h -------------------------------------------------------------------------------- /Pods/Headers/Private/pop/POPAnimationPrivate.h: -------------------------------------------------------------------------------- 1 | ../../../pop/pop/POPAnimationPrivate.h -------------------------------------------------------------------------------- /Pods/Headers/Private/pop/POPAnimationRuntime.h: -------------------------------------------------------------------------------- 1 | ../../../pop/pop/POPAnimationRuntime.h -------------------------------------------------------------------------------- /Pods/Headers/Private/pop/POPAnimationTracer.h: -------------------------------------------------------------------------------- 1 | ../../../pop/pop/POPAnimationTracer.h -------------------------------------------------------------------------------- /Pods/Headers/Private/pop/POPAnimationTracerInternal.h: -------------------------------------------------------------------------------- 1 | ../../../pop/pop/POPAnimationTracerInternal.h -------------------------------------------------------------------------------- /Pods/Headers/Private/pop/POPAnimator.h: -------------------------------------------------------------------------------- 1 | ../../../pop/pop/POPAnimator.h -------------------------------------------------------------------------------- /Pods/Headers/Private/pop/POPAnimatorPrivate.h: -------------------------------------------------------------------------------- 1 | ../../../pop/pop/POPAnimatorPrivate.h -------------------------------------------------------------------------------- /Pods/Headers/Private/pop/POPBasicAnimation.h: -------------------------------------------------------------------------------- 1 | ../../../pop/pop/POPBasicAnimation.h -------------------------------------------------------------------------------- /Pods/Headers/Private/pop/POPBasicAnimationInternal.h: -------------------------------------------------------------------------------- 1 | ../../../pop/pop/POPBasicAnimationInternal.h -------------------------------------------------------------------------------- /Pods/Headers/Private/pop/POPCGUtils.h: -------------------------------------------------------------------------------- 1 | ../../../pop/pop/POPCGUtils.h -------------------------------------------------------------------------------- /Pods/Headers/Private/pop/POPCustomAnimation.h: -------------------------------------------------------------------------------- 1 | ../../../pop/pop/POPCustomAnimation.h -------------------------------------------------------------------------------- /Pods/Headers/Private/pop/POPDecayAnimation.h: -------------------------------------------------------------------------------- 1 | ../../../pop/pop/POPDecayAnimation.h -------------------------------------------------------------------------------- /Pods/Headers/Private/pop/POPDecayAnimationInternal.h: -------------------------------------------------------------------------------- 1 | ../../../pop/pop/POPDecayAnimationInternal.h -------------------------------------------------------------------------------- /Pods/Headers/Private/pop/POPDefines.h: -------------------------------------------------------------------------------- 1 | ../../../pop/pop/POPDefines.h -------------------------------------------------------------------------------- /Pods/Headers/Private/pop/POPGeometry.h: -------------------------------------------------------------------------------- 1 | ../../../pop/pop/POPGeometry.h -------------------------------------------------------------------------------- /Pods/Headers/Private/pop/POPLayerExtras.h: -------------------------------------------------------------------------------- 1 | ../../../pop/pop/POPLayerExtras.h -------------------------------------------------------------------------------- /Pods/Headers/Private/pop/POPMath.h: -------------------------------------------------------------------------------- 1 | ../../../pop/pop/POPMath.h -------------------------------------------------------------------------------- /Pods/Headers/Private/pop/POPPropertyAnimation.h: -------------------------------------------------------------------------------- 1 | ../../../pop/pop/POPPropertyAnimation.h -------------------------------------------------------------------------------- /Pods/Headers/Private/pop/POPPropertyAnimationInternal.h: -------------------------------------------------------------------------------- 1 | ../../../pop/pop/POPPropertyAnimationInternal.h -------------------------------------------------------------------------------- /Pods/Headers/Private/pop/POPSpringAnimation.h: -------------------------------------------------------------------------------- 1 | ../../../pop/pop/POPSpringAnimation.h -------------------------------------------------------------------------------- /Pods/Headers/Private/pop/POPSpringAnimationInternal.h: -------------------------------------------------------------------------------- 1 | ../../../pop/pop/POPSpringAnimationInternal.h -------------------------------------------------------------------------------- /Pods/Headers/Private/pop/POPSpringSolver.h: -------------------------------------------------------------------------------- 1 | ../../../pop/pop/POPSpringSolver.h -------------------------------------------------------------------------------- /Pods/Headers/Private/pop/POPVector.h: -------------------------------------------------------------------------------- 1 | ../../../pop/pop/POPVector.h -------------------------------------------------------------------------------- /Pods/Headers/Private/pop/TransformationMatrix.h: -------------------------------------------------------------------------------- 1 | ../../../pop/pop/WebCore/TransformationMatrix.h -------------------------------------------------------------------------------- /Pods/Headers/Private/pop/UnitBezier.h: -------------------------------------------------------------------------------- 1 | ../../../pop/pop/WebCore/UnitBezier.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AXCollectionViewFlowLayout/AXCollectionViewFlowLayout.h: -------------------------------------------------------------------------------- 1 | ../../../AXCollectionViewFlowLayout/AXCollectionViewFlowLayout/AXCollectionViewFlowLayout/AXCollectionViewFlowLayout.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AXExtensions/ALAsset+Image.h: -------------------------------------------------------------------------------- 1 | ../../../AXExtensions/AXExtensions/AXExtensions/ALAsset+Image/ALAsset+Image.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AXExtensions/AXCollectionView.h: -------------------------------------------------------------------------------- 1 | ../../../AXExtensions/AXExtensions/AXExtensions/ScrollView/AXCollectionView.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AXExtensions/AXScrollView.h: -------------------------------------------------------------------------------- 1 | ../../../AXExtensions/AXExtensions/AXExtensions/ScrollView/AXScrollView.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AXExtensions/AXTableView.h: -------------------------------------------------------------------------------- 1 | ../../../AXExtensions/AXExtensions/AXExtensions/ScrollView/AXTableView.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AXExtensions/PHAsset+Image.h: -------------------------------------------------------------------------------- 1 | ../../../AXExtensions/AXExtensions/AXExtensions/PHAsset+Image/PHAsset+Image.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AXExtensions/UIImage+TintColor.h: -------------------------------------------------------------------------------- 1 | ../../../AXExtensions/AXExtensions/AXExtensions/UIImage+TintColor/UIImage+TintColor.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AXExtensions/UIImagePickerController+Authorization.h: -------------------------------------------------------------------------------- 1 | ../../../AXExtensions/AXExtensions/AXExtensions/UIImagePickerController+Authorization/UIImagePickerController+Authorization.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AXExtensions/UILabel+Pop.h: -------------------------------------------------------------------------------- 1 | ../../../AXExtensions/AXExtensions/AXExtensions/UILabel+Pop/UILabel+Pop.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AXExtensions/UINavigationBar+Separator_hidden.h: -------------------------------------------------------------------------------- 1 | ../../../AXExtensions/AXExtensions/AXExtensions/UINavigationBar+Separator_hidden/UINavigationBar+Separator_hidden.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AXExtensions/UIToolbar+Separator_hidden.h: -------------------------------------------------------------------------------- 1 | ../../../AXExtensions/AXExtensions/AXExtensions/UIToolbar+Separator_hidden/UIToolbar+Separator_hidden.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AXExtensions/UIView+Extension.h: -------------------------------------------------------------------------------- 1 | ../../../AXExtensions/AXExtensions/AXExtensions/UIView+Extension/UIView+Extension.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AXExtensions/UIViewController+Title.h: -------------------------------------------------------------------------------- 1 | ../../../AXExtensions/AXExtensions/AXExtensions/UIViewController+Title/UIViewController+Title.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AXImagePickerController/AXAlbumTableViewCell.h: -------------------------------------------------------------------------------- 1 | ../../../AXImagePickerController/AXImagePickerController/AXImagePickerController/AXAlbumTableViewCell.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AXImagePickerController/AXAlbumViewController.h: -------------------------------------------------------------------------------- 1 | ../../../AXImagePickerController/AXImagePickerController/AXImagePickerController/AXAlbumViewController.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AXImagePickerController/AXAssetsImageController.h: -------------------------------------------------------------------------------- 1 | ../../../AXImagePickerController/AXImagePickerController/AXImagePickerController/AXAssetsImageController.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AXImagePickerController/AXImagePickerController.h: -------------------------------------------------------------------------------- 1 | ../../../AXImagePickerController/AXImagePickerController/AXImagePickerController/AXImagePickerController.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AXImagePickerController/AXImagePickerControllerMacro.h: -------------------------------------------------------------------------------- 1 | ../../../AXImagePickerController/AXImagePickerController/AXImagePickerController/AXImagePickerControllerMacro.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AXImagePickerController/AXPhotoCollectionViewCell.h: -------------------------------------------------------------------------------- 1 | ../../../AXImagePickerController/AXImagePickerController/AXImagePickerController/AXPhotoCollectionViewCell.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AXImagePickerController/AXPhotoViewController.h: -------------------------------------------------------------------------------- 1 | ../../../AXImagePickerController/AXImagePickerController/AXImagePickerController/AXPhotoViewController.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AXImagePickerController/AXPreviewController.h: -------------------------------------------------------------------------------- 1 | ../../../AXImagePickerController/AXImagePickerController/AXImagePickerController/AXPreviewController.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AXImagePickerController/AXPreviewImageController.h: -------------------------------------------------------------------------------- 1 | ../../../AXImagePickerController/AXImagePickerController/AXImagePickerController/AXPreviewImageController.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AXImagePickerController/AXViewController.h: -------------------------------------------------------------------------------- 1 | ../../../AXImagePickerController/AXImagePickerController/AXImagePickerController/AXViewController.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AXPickerView/AXImagePickerCell.h: -------------------------------------------------------------------------------- 1 | ../../../AXPickerView/AXPickerView/AXPickerView/AXImagePickerCell.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AXPickerView/AXPickerCollectionViewCell.h: -------------------------------------------------------------------------------- 1 | ../../../AXPickerView/AXPickerView/AXPickerView/AXPickerContentView/AXPickerCollectionViewCell.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AXPickerView/AXPickerContentView.h: -------------------------------------------------------------------------------- 1 | ../../../AXPickerView/AXPickerView/AXPickerView/AXPickerContentView/AXPickerContentView.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AXPickerView/AXPickerView.h: -------------------------------------------------------------------------------- 1 | ../../../AXPickerView/AXPickerView/AXPickerView/AXPickerView.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AXPickerView/AXPickerViewConstants.h: -------------------------------------------------------------------------------- 1 | ../../../AXPickerView/AXPickerView/AXPickerView/AXPickerViewConstants.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AXPracticalHUD/AXBarProgressView.h: -------------------------------------------------------------------------------- 1 | ../../../AXPracticalHUD/AXPracticalHUD/AXPracticalHUD/AXBarProgressView.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AXPracticalHUD/AXCircleProgressView.h: -------------------------------------------------------------------------------- 1 | ../../../AXPracticalHUD/AXPracticalHUD/AXPracticalHUD/AXCircleProgressView.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AXPracticalHUD/AXGradientProgressView.h: -------------------------------------------------------------------------------- 1 | ../../../AXPracticalHUD/AXPracticalHUD/AXPracticalHUD/AXGradientProgressView.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AXPracticalHUD/AXPracticalHUD.h: -------------------------------------------------------------------------------- 1 | ../../../AXPracticalHUD/AXPracticalHUD/AXPracticalHUD/AXPracticalHUD.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AXPracticalHUD/AXPracticalHUDContentView.h: -------------------------------------------------------------------------------- 1 | ../../../AXPracticalHUD/AXPracticalHUD/AXPracticalHUD/AXPracticalHUDContentView.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/MJRefresh.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/MJRefresh.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/MJRefreshAutoFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Base/MJRefreshAutoFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/MJRefreshAutoGifFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Footer/Auto/MJRefreshAutoGifFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/MJRefreshAutoNormalFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Footer/Auto/MJRefreshAutoNormalFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/MJRefreshAutoStateFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Footer/Auto/MJRefreshAutoStateFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/MJRefreshBackFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Base/MJRefreshBackFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/MJRefreshBackGifFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Footer/Back/MJRefreshBackGifFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/MJRefreshBackNormalFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Footer/Back/MJRefreshBackNormalFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/MJRefreshBackStateFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Footer/Back/MJRefreshBackStateFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/MJRefreshComponent.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Base/MJRefreshComponent.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/MJRefreshConst.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/MJRefreshConst.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/MJRefreshFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Base/MJRefreshFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/MJRefreshGifHeader.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Header/MJRefreshGifHeader.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/MJRefreshHeader.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Base/MJRefreshHeader.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/MJRefreshNormalHeader.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Header/MJRefreshNormalHeader.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/MJRefreshStateHeader.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Header/MJRefreshStateHeader.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/UIScrollView+MJExtension.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/UIScrollView+MJExtension.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/UIScrollView+MJRefresh.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/UIScrollView+MJRefresh.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/UIView+MJExtension.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/UIView+MJExtension.h -------------------------------------------------------------------------------- /Pods/Headers/Public/pop/POP.h: -------------------------------------------------------------------------------- 1 | ../../../pop/pop/POP.h -------------------------------------------------------------------------------- /Pods/Headers/Public/pop/POPAnimatableProperty.h: -------------------------------------------------------------------------------- 1 | ../../../pop/pop/POPAnimatableProperty.h -------------------------------------------------------------------------------- /Pods/Headers/Public/pop/POPAnimation.h: -------------------------------------------------------------------------------- 1 | ../../../pop/pop/POPAnimation.h -------------------------------------------------------------------------------- /Pods/Headers/Public/pop/POPAnimationEvent.h: -------------------------------------------------------------------------------- 1 | ../../../pop/pop/POPAnimationEvent.h -------------------------------------------------------------------------------- /Pods/Headers/Public/pop/POPAnimationExtras.h: -------------------------------------------------------------------------------- 1 | ../../../pop/pop/POPAnimationExtras.h -------------------------------------------------------------------------------- /Pods/Headers/Public/pop/POPAnimationTracer.h: -------------------------------------------------------------------------------- 1 | ../../../pop/pop/POPAnimationTracer.h -------------------------------------------------------------------------------- /Pods/Headers/Public/pop/POPAnimator.h: -------------------------------------------------------------------------------- 1 | ../../../pop/pop/POPAnimator.h -------------------------------------------------------------------------------- /Pods/Headers/Public/pop/POPBasicAnimation.h: -------------------------------------------------------------------------------- 1 | ../../../pop/pop/POPBasicAnimation.h -------------------------------------------------------------------------------- /Pods/Headers/Public/pop/POPCustomAnimation.h: -------------------------------------------------------------------------------- 1 | ../../../pop/pop/POPCustomAnimation.h -------------------------------------------------------------------------------- /Pods/Headers/Public/pop/POPDecayAnimation.h: -------------------------------------------------------------------------------- 1 | ../../../pop/pop/POPDecayAnimation.h -------------------------------------------------------------------------------- /Pods/Headers/Public/pop/POPDefines.h: -------------------------------------------------------------------------------- 1 | ../../../pop/pop/POPDefines.h -------------------------------------------------------------------------------- /Pods/Headers/Public/pop/POPGeometry.h: -------------------------------------------------------------------------------- 1 | ../../../pop/pop/POPGeometry.h -------------------------------------------------------------------------------- /Pods/Headers/Public/pop/POPLayerExtras.h: -------------------------------------------------------------------------------- 1 | ../../../pop/pop/POPLayerExtras.h -------------------------------------------------------------------------------- /Pods/Headers/Public/pop/POPPropertyAnimation.h: -------------------------------------------------------------------------------- 1 | ../../../pop/pop/POPPropertyAnimation.h -------------------------------------------------------------------------------- /Pods/Headers/Public/pop/POPSpringAnimation.h: -------------------------------------------------------------------------------- 1 | ../../../pop/pop/POPSpringAnimation.h -------------------------------------------------------------------------------- /Pods/MJRefresh/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2013-2015 MJRefresh (https://github.com/CoderMJLee/MJRefresh) 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 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Base/MJRefreshAutoFooter.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshAutoFooter.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshFooter.h" 10 | 11 | @interface MJRefreshAutoFooter : MJRefreshFooter 12 | /** 是否自动刷新(默认为YES) */ 13 | @property (assign, nonatomic, getter=isAutomaticallyRefresh) BOOL automaticallyRefresh; 14 | 15 | /** 当底部控件出现多少时就自动刷新(默认为1.0,也就是底部控件完全出现时,才会自动刷新) */ 16 | @property (assign, nonatomic) CGFloat appearencePercentTriggerAutoRefresh MJRefreshDeprecated("请使用automaticallyChangeAlpha属性"); 17 | 18 | /** 当底部控件出现多少时就自动刷新(默认为1.0,也就是底部控件完全出现时,才会自动刷新) */ 19 | @property (assign, nonatomic) CGFloat triggerAutomaticallyRefreshPercent; 20 | @end 21 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Base/MJRefreshBackFooter.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshBackFooter.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshFooter.h" 10 | 11 | @interface MJRefreshBackFooter : MJRefreshFooter 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Base/MJRefreshFooter.h: -------------------------------------------------------------------------------- 1 | // 代码地址: https://github.com/CoderMJLee/MJRefresh 2 | // 代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000 3 | // MJRefreshFooter.h 4 | // MJRefreshExample 5 | // 6 | // Created by MJ Lee on 15/3/5. 7 | // Copyright (c) 2015年 小码哥. All rights reserved. 8 | // 上拉刷新控件 9 | 10 | #import "MJRefreshComponent.h" 11 | 12 | @interface MJRefreshFooter : MJRefreshComponent 13 | /** 创建footer */ 14 | + (instancetype)footerWithRefreshingBlock:(MJRefreshComponentRefreshingBlock)refreshingBlock; 15 | /** 创建footer */ 16 | + (instancetype)footerWithRefreshingTarget:(id)target refreshingAction:(SEL)action; 17 | 18 | /** 提示没有更多的数据 */ 19 | - (void)endRefreshingWithNoMoreData; 20 | - (void)noticeNoMoreData MJRefreshDeprecated("使用endRefreshingWithNoMoreData"); 21 | 22 | /** 重置没有更多的数据(消除没有更多数据的状态) */ 23 | - (void)resetNoMoreData; 24 | 25 | /** 忽略多少scrollView的contentInset的bottom */ 26 | @property (assign, nonatomic) CGFloat ignoredScrollViewContentInsetBottom; 27 | 28 | /** 自动根据有无数据来显示和隐藏(有数据就显示,没有数据隐藏) */ 29 | @property (assign, nonatomic, getter=isAutomaticallyHidden) BOOL automaticallyHidden; 30 | @end 31 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Base/MJRefreshFooter.m: -------------------------------------------------------------------------------- 1 | // 代码地址: https://github.com/CoderMJLee/MJRefresh 2 | // 代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000 3 | // MJRefreshFooter.m 4 | // MJRefreshExample 5 | // 6 | // Created by MJ Lee on 15/3/5. 7 | // Copyright (c) 2015年 小码哥. All rights reserved. 8 | // 9 | 10 | #import "MJRefreshFooter.h" 11 | 12 | @interface MJRefreshFooter() 13 | 14 | @end 15 | 16 | @implementation MJRefreshFooter 17 | #pragma mark - 构造方法 18 | + (instancetype)footerWithRefreshingBlock:(MJRefreshComponentRefreshingBlock)refreshingBlock 19 | { 20 | MJRefreshFooter *cmp = [[self alloc] init]; 21 | cmp.refreshingBlock = refreshingBlock; 22 | return cmp; 23 | } 24 | + (instancetype)footerWithRefreshingTarget:(id)target refreshingAction:(SEL)action 25 | { 26 | MJRefreshFooter *cmp = [[self alloc] init]; 27 | [cmp setRefreshingTarget:target refreshingAction:action]; 28 | return cmp; 29 | } 30 | 31 | #pragma mark - 重写父类的方法 32 | - (void)prepare 33 | { 34 | [super prepare]; 35 | 36 | // 设置自己的高度 37 | self.mj_h = MJRefreshFooterHeight; 38 | 39 | // 默认是自动隐藏 40 | self.automaticallyHidden = YES; 41 | } 42 | 43 | - (void)willMoveToSuperview:(UIView *)newSuperview 44 | { 45 | [super willMoveToSuperview:newSuperview]; 46 | 47 | if (newSuperview) { 48 | // 监听scrollView数据的变化 49 | if ([self.scrollView isKindOfClass:[UITableView class]] || [self.scrollView isKindOfClass:[UICollectionView class]]) { 50 | [self.scrollView setMj_reloadDataBlock:^(NSInteger totalDataCount) { 51 | if (self.isAutomaticallyHidden) { 52 | self.hidden = (totalDataCount == 0); 53 | } 54 | }]; 55 | } 56 | } 57 | } 58 | 59 | #pragma mark - 公共方法 60 | - (void)endRefreshingWithNoMoreData 61 | { 62 | self.state = MJRefreshStateNoMoreData; 63 | } 64 | 65 | - (void)noticeNoMoreData 66 | { 67 | [self endRefreshingWithNoMoreData]; 68 | } 69 | 70 | - (void)resetNoMoreData 71 | { 72 | self.state = MJRefreshStateIdle; 73 | } 74 | @end 75 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Base/MJRefreshHeader.h: -------------------------------------------------------------------------------- 1 | // 代码地址: https://github.com/CoderMJLee/MJRefresh 2 | // 代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000 3 | // MJRefreshHeader.h 4 | // MJRefreshExample 5 | // 6 | // Created by MJ Lee on 15/3/4. 7 | // Copyright (c) 2015年 小码哥. All rights reserved. 8 | // 下拉刷新控件:负责监控用户下拉的状态 9 | 10 | #import "MJRefreshComponent.h" 11 | 12 | @interface MJRefreshHeader : MJRefreshComponent 13 | /** 创建header */ 14 | + (instancetype)headerWithRefreshingBlock:(MJRefreshComponentRefreshingBlock)refreshingBlock; 15 | /** 创建header */ 16 | + (instancetype)headerWithRefreshingTarget:(id)target refreshingAction:(SEL)action; 17 | 18 | /** 这个key用来存储上一次下拉刷新成功的时间 */ 19 | @property (copy, nonatomic) NSString *lastUpdatedTimeKey; 20 | /** 上一次下拉刷新成功的时间 */ 21 | @property (strong, nonatomic, readonly) NSDate *lastUpdatedTime; 22 | 23 | /** 忽略多少scrollView的contentInset的top */ 24 | @property (assign, nonatomic) CGFloat ignoredScrollViewContentInsetTop; 25 | @end 26 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Custom/Footer/Auto/MJRefreshAutoGifFooter.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshAutoGifFooter.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshAutoStateFooter.h" 10 | 11 | @interface MJRefreshAutoGifFooter : MJRefreshAutoStateFooter 12 | @property (weak, nonatomic, readonly) UIImageView *gifView; 13 | 14 | /** 设置state状态下的动画图片images 动画持续时间duration*/ 15 | - (void)setImages:(NSArray *)images duration:(NSTimeInterval)duration forState:(MJRefreshState)state; 16 | - (void)setImages:(NSArray *)images forState:(MJRefreshState)state; 17 | @end 18 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Custom/Footer/Auto/MJRefreshAutoNormalFooter.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshAutoNormalFooter.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshAutoStateFooter.h" 10 | 11 | @interface MJRefreshAutoNormalFooter : MJRefreshAutoStateFooter 12 | /** 菊花的样式 */ 13 | @property (assign, nonatomic) UIActivityIndicatorViewStyle activityIndicatorViewStyle; 14 | @end 15 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Custom/Footer/Auto/MJRefreshAutoNormalFooter.m: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshAutoNormalFooter.m 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshAutoNormalFooter.h" 10 | 11 | @interface MJRefreshAutoNormalFooter() 12 | @property (weak, nonatomic) UIActivityIndicatorView *loadingView; 13 | @end 14 | 15 | @implementation MJRefreshAutoNormalFooter 16 | #pragma mark - 懒加载子控件 17 | - (UIActivityIndicatorView *)loadingView 18 | { 19 | if (!_loadingView) { 20 | UIActivityIndicatorView *loadingView = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:self.activityIndicatorViewStyle]; 21 | loadingView.hidesWhenStopped = YES; 22 | [self addSubview:_loadingView = loadingView]; 23 | } 24 | return _loadingView; 25 | } 26 | 27 | - (void)setActivityIndicatorViewStyle:(UIActivityIndicatorViewStyle)activityIndicatorViewStyle 28 | { 29 | _activityIndicatorViewStyle = activityIndicatorViewStyle; 30 | 31 | self.loadingView = nil; 32 | [self setNeedsLayout]; 33 | } 34 | #pragma makr - 重写父类的方法 35 | - (void)prepare 36 | { 37 | [super prepare]; 38 | 39 | self.activityIndicatorViewStyle = UIActivityIndicatorViewStyleGray; 40 | } 41 | 42 | - (void)placeSubviews 43 | { 44 | [super placeSubviews]; 45 | 46 | if (self.loadingView.constraints.count) return; 47 | 48 | // 圈圈 49 | CGFloat loadingCenterX = self.mj_w * 0.5; 50 | if (!self.isRefreshingTitleHidden) { 51 | loadingCenterX -= 100; 52 | } 53 | CGFloat loadingCenterY = self.mj_h * 0.5; 54 | self.loadingView.center = CGPointMake(loadingCenterX, loadingCenterY); 55 | } 56 | 57 | - (void)setState:(MJRefreshState)state 58 | { 59 | MJRefreshCheckState 60 | 61 | // 根据状态做事情 62 | if (state == MJRefreshStateNoMoreData || state == MJRefreshStateIdle) { 63 | [self.loadingView stopAnimating]; 64 | } else if (state == MJRefreshStateRefreshing) { 65 | [self.loadingView startAnimating]; 66 | } 67 | } 68 | 69 | @end 70 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Custom/Footer/Auto/MJRefreshAutoStateFooter.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshAutoStateFooter.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/6/13. 6 | // Copyright © 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshAutoFooter.h" 10 | 11 | @interface MJRefreshAutoStateFooter : MJRefreshAutoFooter 12 | /** 显示刷新状态的label */ 13 | @property (weak, nonatomic, readonly) UILabel *stateLabel; 14 | 15 | /** 设置state状态下的文字 */ 16 | - (void)setTitle:(NSString *)title forState:(MJRefreshState)state; 17 | 18 | /** 隐藏刷新状态的文字 */ 19 | @property (assign, nonatomic, getter=isRefreshingTitleHidden) BOOL refreshingTitleHidden; 20 | @end 21 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Custom/Footer/Auto/MJRefreshAutoStateFooter.m: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshAutoStateFooter.m 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/6/13. 6 | // Copyright © 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshAutoStateFooter.h" 10 | 11 | @interface MJRefreshAutoStateFooter() 12 | { 13 | /** 显示刷新状态的label */ 14 | __unsafe_unretained UILabel *_stateLabel; 15 | } 16 | /** 所有状态对应的文字 */ 17 | @property (strong, nonatomic) NSMutableDictionary *stateTitles; 18 | @end 19 | 20 | @implementation MJRefreshAutoStateFooter 21 | #pragma mark - 懒加载 22 | - (NSMutableDictionary *)stateTitles 23 | { 24 | if (!_stateTitles) { 25 | self.stateTitles = [NSMutableDictionary dictionary]; 26 | } 27 | return _stateTitles; 28 | } 29 | 30 | - (UILabel *)stateLabel 31 | { 32 | if (!_stateLabel) { 33 | [self addSubview:_stateLabel = [UILabel label]]; 34 | } 35 | return _stateLabel; 36 | } 37 | 38 | #pragma mark - 公共方法 39 | - (void)setTitle:(NSString *)title forState:(MJRefreshState)state 40 | { 41 | if (title == nil) return; 42 | self.stateTitles[@(state)] = title; 43 | self.stateLabel.text = self.stateTitles[@(self.state)]; 44 | } 45 | 46 | #pragma mark - 私有方法 47 | - (void)stateLabelClick 48 | { 49 | if (self.state == MJRefreshStateIdle) { 50 | [self beginRefreshing]; 51 | } 52 | } 53 | 54 | #pragma mark - 重写父类的方法 55 | - (void)prepare 56 | { 57 | [super prepare]; 58 | 59 | // 初始化文字 60 | [self setTitle:MJRefreshAutoFooterIdleText forState:MJRefreshStateIdle]; 61 | [self setTitle:MJRefreshAutoFooterRefreshingText forState:MJRefreshStateRefreshing]; 62 | [self setTitle:MJRefreshAutoFooterNoMoreDataText forState:MJRefreshStateNoMoreData]; 63 | 64 | // 监听label 65 | self.stateLabel.userInteractionEnabled = YES; 66 | [self.stateLabel addGestureRecognizer:[[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(stateLabelClick)]]; 67 | } 68 | 69 | - (void)placeSubviews 70 | { 71 | [super placeSubviews]; 72 | 73 | if (self.stateLabel.constraints.count) return; 74 | 75 | // 状态标签 76 | self.stateLabel.frame = self.bounds; 77 | } 78 | 79 | - (void)setState:(MJRefreshState)state 80 | { 81 | MJRefreshCheckState 82 | 83 | if (self.isRefreshingTitleHidden && state == MJRefreshStateRefreshing) { 84 | self.stateLabel.text = nil; 85 | } else { 86 | self.stateLabel.text = self.stateTitles[@(state)]; 87 | } 88 | } 89 | @end -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Custom/Footer/Back/MJRefreshBackGifFooter.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshBackGifFooter.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshBackStateFooter.h" 10 | 11 | @interface MJRefreshBackGifFooter : MJRefreshBackStateFooter 12 | @property (weak, nonatomic, readonly) UIImageView *gifView; 13 | 14 | /** 设置state状态下的动画图片images 动画持续时间duration*/ 15 | - (void)setImages:(NSArray *)images duration:(NSTimeInterval)duration forState:(MJRefreshState)state; 16 | - (void)setImages:(NSArray *)images forState:(MJRefreshState)state; 17 | @end 18 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Custom/Footer/Back/MJRefreshBackNormalFooter.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshBackNormalFooter.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshBackStateFooter.h" 10 | 11 | @interface MJRefreshBackNormalFooter : MJRefreshBackStateFooter 12 | @property (weak, nonatomic, readonly) UIImageView *arrowView; 13 | /** 菊花的样式 */ 14 | @property (assign, nonatomic) UIActivityIndicatorViewStyle activityIndicatorViewStyle; 15 | @end 16 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Custom/Footer/Back/MJRefreshBackStateFooter.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshBackStateFooter.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/6/13. 6 | // Copyright © 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshBackFooter.h" 10 | 11 | @interface MJRefreshBackStateFooter : MJRefreshBackFooter 12 | /** 显示刷新状态的label */ 13 | @property (weak, nonatomic, readonly) UILabel *stateLabel; 14 | /** 设置state状态下的文字 */ 15 | - (void)setTitle:(NSString *)title forState:(MJRefreshState)state; 16 | 17 | /** 获取state状态下的title */ 18 | - (NSString *)titleForState:(MJRefreshState)state; 19 | @end 20 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Custom/Footer/Back/MJRefreshBackStateFooter.m: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshBackStateFooter.m 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/6/13. 6 | // Copyright © 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshBackStateFooter.h" 10 | 11 | @interface MJRefreshBackStateFooter() 12 | { 13 | /** 显示刷新状态的label */ 14 | __unsafe_unretained UILabel *_stateLabel; 15 | } 16 | /** 所有状态对应的文字 */ 17 | @property (strong, nonatomic) NSMutableDictionary *stateTitles; 18 | @end 19 | 20 | @implementation MJRefreshBackStateFooter 21 | #pragma mark - 懒加载 22 | - (NSMutableDictionary *)stateTitles 23 | { 24 | if (!_stateTitles) { 25 | self.stateTitles = [NSMutableDictionary dictionary]; 26 | } 27 | return _stateTitles; 28 | } 29 | 30 | - (UILabel *)stateLabel 31 | { 32 | if (!_stateLabel) { 33 | [self addSubview:_stateLabel = [UILabel label]]; 34 | } 35 | return _stateLabel; 36 | } 37 | 38 | #pragma mark - 公共方法 39 | - (void)setTitle:(NSString *)title forState:(MJRefreshState)state 40 | { 41 | if (title == nil) return; 42 | self.stateTitles[@(state)] = title; 43 | self.stateLabel.text = self.stateTitles[@(self.state)]; 44 | } 45 | 46 | - (NSString *)titleForState:(MJRefreshState)state { 47 | return self.stateTitles[@(state)]; 48 | } 49 | 50 | #pragma mark - 重写父类的方法 51 | - (void)prepare 52 | { 53 | [super prepare]; 54 | 55 | // 初始化文字 56 | [self setTitle:MJRefreshBackFooterIdleText forState:MJRefreshStateIdle]; 57 | [self setTitle:MJRefreshBackFooterPullingText forState:MJRefreshStatePulling]; 58 | [self setTitle:MJRefreshBackFooterRefreshingText forState:MJRefreshStateRefreshing]; 59 | [self setTitle:MJRefreshBackFooterNoMoreDataText forState:MJRefreshStateNoMoreData]; 60 | } 61 | 62 | - (void)placeSubviews 63 | { 64 | [super placeSubviews]; 65 | 66 | if (self.stateLabel.constraints.count) return; 67 | 68 | // 状态标签 69 | self.stateLabel.frame = self.bounds; 70 | } 71 | 72 | - (void)setState:(MJRefreshState)state 73 | { 74 | MJRefreshCheckState 75 | 76 | // 设置状态文字 77 | self.stateLabel.text = self.stateTitles[@(state)]; 78 | } 79 | @end 80 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Custom/Header/MJRefreshGifHeader.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshGifHeader.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshStateHeader.h" 10 | 11 | @interface MJRefreshGifHeader : MJRefreshStateHeader 12 | @property (weak, nonatomic, readonly) UIImageView *gifView; 13 | 14 | /** 设置state状态下的动画图片images 动画持续时间duration*/ 15 | - (void)setImages:(NSArray *)images duration:(NSTimeInterval)duration forState:(MJRefreshState)state; 16 | - (void)setImages:(NSArray *)images forState:(MJRefreshState)state; 17 | @end 18 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Custom/Header/MJRefreshNormalHeader.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshNormalHeader.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshStateHeader.h" 10 | 11 | @interface MJRefreshNormalHeader : MJRefreshStateHeader 12 | @property (weak, nonatomic, readonly) UIImageView *arrowView; 13 | /** 菊花的样式 */ 14 | @property (assign, nonatomic) UIActivityIndicatorViewStyle activityIndicatorViewStyle; 15 | @end 16 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Custom/Header/MJRefreshStateHeader.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshStateHeader.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshHeader.h" 10 | 11 | @interface MJRefreshStateHeader : MJRefreshHeader 12 | #pragma mark - 刷新时间相关 13 | /** 利用这个block来决定显示的更新时间文字 */ 14 | @property (copy, nonatomic) NSString *(^lastUpdatedTimeText)(NSDate *lastUpdatedTime); 15 | /** 显示上一次刷新时间的label */ 16 | @property (weak, nonatomic, readonly) UILabel *lastUpdatedTimeLabel; 17 | 18 | #pragma mark - 状态相关 19 | /** 显示刷新状态的label */ 20 | @property (weak, nonatomic, readonly) UILabel *stateLabel; 21 | /** 设置state状态下的文字 */ 22 | - (void)setTitle:(NSString *)title forState:(MJRefreshState)state; 23 | @end 24 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/MJRefresh.bundle/arrow@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devedbox/AXAttributedLabel/a253296c403f1eb54204585dc5e1f93ff79ba7e1/Pods/MJRefresh/MJRefresh/MJRefresh.bundle/arrow@2x.png -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/MJRefresh.h: -------------------------------------------------------------------------------- 1 | // 代码地址: https://github.com/CoderMJLee/MJRefresh 2 | // 代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000 3 | 4 | #import "UIScrollView+MJRefresh.h" 5 | #import "UIScrollView+MJExtension.h" 6 | #import "UIView+MJExtension.h" 7 | 8 | #import "MJRefreshNormalHeader.h" 9 | #import "MJRefreshGifHeader.h" 10 | 11 | #import "MJRefreshBackNormalFooter.h" 12 | #import "MJRefreshBackGifFooter.h" 13 | #import "MJRefreshAutoNormalFooter.h" 14 | #import "MJRefreshAutoGifFooter.h" -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/MJRefreshConst.m: -------------------------------------------------------------------------------- 1 | // 代码地址: https://github.com/CoderMJLee/MJRefresh 2 | // 代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000 3 | #import 4 | 5 | const CGFloat MJRefreshHeaderHeight = 54.0; 6 | const CGFloat MJRefreshFooterHeight = 44.0; 7 | const CGFloat MJRefreshFastAnimationDuration = 0.25; 8 | const CGFloat MJRefreshSlowAnimationDuration = 0.4; 9 | 10 | NSString *const MJRefreshKeyPathContentOffset = @"contentOffset"; 11 | NSString *const MJRefreshKeyPathContentInset = @"contentInset"; 12 | NSString *const MJRefreshKeyPathContentSize = @"contentSize"; 13 | NSString *const MJRefreshKeyPathPanState = @"state"; 14 | 15 | NSString *const MJRefreshHeaderLastUpdatedTimeKey = @"MJRefreshHeaderLastUpdatedTimeKey"; 16 | 17 | NSString *const MJRefreshHeaderIdleText = @"下拉可以刷新"; 18 | NSString *const MJRefreshHeaderPullingText = @"松开立即刷新"; 19 | NSString *const MJRefreshHeaderRefreshingText = @"正在刷新数据中..."; 20 | 21 | NSString *const MJRefreshAutoFooterIdleText = @"点击或上拉加载更多"; 22 | NSString *const MJRefreshAutoFooterRefreshingText = @"正在加载更多的数据..."; 23 | NSString *const MJRefreshAutoFooterNoMoreDataText = @"已经全部加载完毕"; 24 | 25 | NSString *const MJRefreshBackFooterIdleText = @"上拉可以加载更多"; 26 | NSString *const MJRefreshBackFooterPullingText = @"松开立即加载更多"; 27 | NSString *const MJRefreshBackFooterRefreshingText = @"正在加载更多的数据..."; 28 | NSString *const MJRefreshBackFooterNoMoreDataText = @"已经全部加载完毕"; -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/UIScrollView+MJExtension.h: -------------------------------------------------------------------------------- 1 | // 代码地址: https://github.com/CoderMJLee/MJRefresh 2 | // 代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000 3 | // UIScrollView+Extension.h 4 | // MJRefreshExample 5 | // 6 | // Created by MJ Lee on 14-5-28. 7 | // Copyright (c) 2014年 小码哥. All rights reserved. 8 | // 9 | 10 | #import 11 | 12 | @interface UIScrollView (MJExtension) 13 | @property (assign, nonatomic) CGFloat mj_insetT; 14 | @property (assign, nonatomic) CGFloat mj_insetB; 15 | @property (assign, nonatomic) CGFloat mj_insetL; 16 | @property (assign, nonatomic) CGFloat mj_insetR; 17 | 18 | @property (assign, nonatomic) CGFloat mj_offsetX; 19 | @property (assign, nonatomic) CGFloat mj_offsetY; 20 | 21 | @property (assign, nonatomic) CGFloat mj_contentW; 22 | @property (assign, nonatomic) CGFloat mj_contentH; 23 | @end 24 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/UIScrollView+MJRefresh.h: -------------------------------------------------------------------------------- 1 | // 代码地址: https://github.com/CoderMJLee/MJRefresh 2 | // 代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000 3 | // UIScrollView+MJRefresh.h 4 | // MJRefreshExample 5 | // 6 | // Created by MJ Lee on 15/3/4. 7 | // Copyright (c) 2015年 小码哥. All rights reserved. 8 | // 给ScrollView增加下拉刷新、上拉刷新的功能 9 | 10 | #import 11 | #import "MJRefreshConst.h" 12 | 13 | @class MJRefreshHeader, MJRefreshFooter; 14 | 15 | @interface UIScrollView (MJRefresh) 16 | /** 下拉刷新控件 */ 17 | @property (strong, nonatomic) MJRefreshHeader *mj_header; 18 | @property (strong, nonatomic) MJRefreshHeader *header MJRefreshDeprecated("使用mj_header"); 19 | /** 上拉刷新控件 */ 20 | @property (strong, nonatomic) MJRefreshFooter *mj_footer; 21 | @property (strong, nonatomic) MJRefreshFooter *footer MJRefreshDeprecated("使用mj_footer"); 22 | 23 | #pragma mark - other 24 | - (NSInteger)mj_totalDataCount; 25 | @property (copy, nonatomic) void (^mj_reloadDataBlock)(NSInteger totalDataCount); 26 | @end 27 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/UIView+MJExtension.h: -------------------------------------------------------------------------------- 1 | // 代码地址: https://github.com/CoderMJLee/MJRefresh 2 | // 代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000 3 | // UIView+Extension.h 4 | // MJRefreshExample 5 | // 6 | // Created by MJ Lee on 14-5-28. 7 | // Copyright (c) 2014年 小码哥. All rights reserved. 8 | // 9 | 10 | #import 11 | 12 | @interface UIView (MJExtension) 13 | @property (assign, nonatomic) CGFloat mj_x; 14 | @property (assign, nonatomic) CGFloat mj_y; 15 | @property (assign, nonatomic) CGFloat mj_w; 16 | @property (assign, nonatomic) CGFloat mj_h; 17 | @property (assign, nonatomic) CGSize mj_size; 18 | @property (assign, nonatomic) CGPoint mj_origin; 19 | @end 20 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/UIView+MJExtension.m: -------------------------------------------------------------------------------- 1 | // 代码地址: https://github.com/CoderMJLee/MJRefresh 2 | // 代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000 3 | // UIView+Extension.m 4 | // MJRefreshExample 5 | // 6 | // Created by MJ Lee on 14-5-28. 7 | // Copyright (c) 2014年 小码哥. All rights reserved. 8 | // 9 | 10 | #import "UIView+MJExtension.h" 11 | 12 | @implementation UIView (MJExtension) 13 | - (void)setMj_x:(CGFloat)mj_x 14 | { 15 | CGRect frame = self.frame; 16 | frame.origin.x = mj_x; 17 | self.frame = frame; 18 | } 19 | 20 | - (CGFloat)mj_x 21 | { 22 | return self.frame.origin.x; 23 | } 24 | 25 | - (void)setMj_y:(CGFloat)mj_y 26 | { 27 | CGRect frame = self.frame; 28 | frame.origin.y = mj_y; 29 | self.frame = frame; 30 | } 31 | 32 | - (CGFloat)mj_y 33 | { 34 | return self.frame.origin.y; 35 | } 36 | 37 | - (void)setMj_w:(CGFloat)mj_w 38 | { 39 | CGRect frame = self.frame; 40 | frame.size.width = mj_w; 41 | self.frame = frame; 42 | } 43 | 44 | - (CGFloat)mj_w 45 | { 46 | return self.frame.size.width; 47 | } 48 | 49 | - (void)setMj_h:(CGFloat)mj_h 50 | { 51 | CGRect frame = self.frame; 52 | frame.size.height = mj_h; 53 | self.frame = frame; 54 | } 55 | 56 | - (CGFloat)mj_h 57 | { 58 | return self.frame.size.height; 59 | } 60 | 61 | - (void)setMj_size:(CGSize)mj_size 62 | { 63 | CGRect frame = self.frame; 64 | frame.size = mj_size; 65 | self.frame = frame; 66 | } 67 | 68 | - (CGSize)mj_size 69 | { 70 | return self.frame.size; 71 | } 72 | 73 | - (void)setMj_origin:(CGPoint)mj_origin 74 | { 75 | CGRect frame = self.frame; 76 | frame.origin = mj_origin; 77 | self.frame = frame; 78 | } 79 | 80 | - (CGPoint)mj_origin 81 | { 82 | return self.frame.origin; 83 | } 84 | @end 85 | -------------------------------------------------------------------------------- /Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - AXCollectionViewFlowLayout (1.0.1) 3 | - AXExtensions (1.2.8): 4 | - MJRefresh (~> 3.0.0) 5 | - pop 6 | - AXImagePickerController (1.0.4): 7 | - AXExtensions 8 | - AXPracticalHUD 9 | - AXPickerView (1.0.14): 10 | - AXCollectionViewFlowLayout 11 | - AXImagePickerController 12 | - AXPracticalHUD 13 | - AXPracticalHUD (1.0.7) 14 | - MJRefresh (3.0.8) 15 | - pop (1.0.9) 16 | 17 | DEPENDENCIES: 18 | - AXPickerView 19 | 20 | SPEC CHECKSUMS: 21 | AXCollectionViewFlowLayout: bf02f0b0733741258e8afe2974b5e02fd645ce08 22 | AXExtensions: 39b7e788290e9edb000928f3bf9dea6d67d621c2 23 | AXImagePickerController: 74f03dc0af772e07190a91cb8eec3fe81e121ebd 24 | AXPickerView: 74bbecd3b897a08fc7da515f6ad6161e15502b23 25 | AXPracticalHUD: b0a87276b9830b98ad79c4178f59717b777cfdcc 26 | MJRefresh: fafde8f18f4afd66b434331a9beb67a6c0264056 27 | pop: f667631a5108a2e60d9e8797c9b32ddaf2080bce 28 | 29 | PODFILE CHECKSUM: 67f08368a5b093cde5293d6b8bf9ce75f74fc5e9 30 | 31 | COCOAPODS: 1.0.0.beta.8 32 | -------------------------------------------------------------------------------- /Pods/Pods.xcodeproj/xcuserdata/ai.xcuserdatad/xcschemes/AXCollectionViewFlowLayout.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 43 | 44 | 45 | 46 | 52 | 53 | 55 | 56 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /Pods/Pods.xcodeproj/xcuserdata/ai.xcuserdatad/xcschemes/AXExtensions.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 43 | 44 | 45 | 46 | 52 | 53 | 55 | 56 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /Pods/Pods.xcodeproj/xcuserdata/ai.xcuserdatad/xcschemes/AXImagePickerController.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 43 | 44 | 45 | 46 | 52 | 53 | 55 | 56 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /Pods/Pods.xcodeproj/xcuserdata/ai.xcuserdatad/xcschemes/AXPickerView.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 43 | 44 | 45 | 46 | 52 | 53 | 55 | 56 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /Pods/Pods.xcodeproj/xcuserdata/ai.xcuserdatad/xcschemes/AXPracticalHUD.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 43 | 44 | 45 | 46 | 52 | 53 | 55 | 56 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /Pods/Pods.xcodeproj/xcuserdata/ai.xcuserdatad/xcschemes/MJRefresh.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 43 | 44 | 45 | 46 | 52 | 53 | 55 | 56 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /Pods/Pods.xcodeproj/xcuserdata/ai.xcuserdatad/xcschemes/Pods-AXAttributedLabel.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 43 | 44 | 45 | 46 | 52 | 53 | 55 | 56 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /Pods/Pods.xcodeproj/xcuserdata/ai.xcuserdatad/xcschemes/pop.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 43 | 44 | 45 | 46 | 52 | 53 | 55 | 56 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /Pods/Pods.xcodeproj/xcuserdata/ai.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | AXCollectionViewFlowLayout.xcscheme 8 | 9 | isShown 10 | 11 | 12 | AXExtensions.xcscheme 13 | 14 | isShown 15 | 16 | 17 | AXImagePickerController.xcscheme 18 | 19 | isShown 20 | 21 | 22 | AXPickerView.xcscheme 23 | 24 | isShown 25 | 26 | 27 | AXPracticalHUD.xcscheme 28 | 29 | isShown 30 | 31 | 32 | MJRefresh.xcscheme 33 | 34 | isShown 35 | 36 | 37 | Pods-AXAttributedLabel.xcscheme 38 | 39 | isShown 40 | 41 | 42 | pop.xcscheme 43 | 44 | isShown 45 | 46 | 47 | 48 | SuppressBuildableAutocreation 49 | 50 | 14D70029D0CDA2A6E22F0DE4E2E9E595 51 | 52 | primary 53 | 54 | 55 | 29535619CE8ADDA5CD714E222AC1F9BE 56 | 57 | primary 58 | 59 | 60 | 46DFAB0FBC2B21D941A54E0C5A577820 61 | 62 | primary 63 | 64 | 65 | 498B5D388A4F9704487384A5281DB6B1 66 | 67 | primary 68 | 69 | 70 | 62ED17F0F9EB91D7667DF58D153A4BB0 71 | 72 | primary 73 | 74 | 75 | AC0FBB041D994DA3DB86FE9CCE4C8A7E 76 | 77 | primary 78 | 79 | 80 | D2ECEAAF3E6D37838A7F2B9D8862E411 81 | 82 | primary 83 | 84 | 85 | FE67A65DF949861BAD3F909BE5690205 86 | 87 | primary 88 | 89 | 90 | 91 | 92 | 93 | -------------------------------------------------------------------------------- /Pods/Target Support Files/AXCollectionViewFlowLayout/AXCollectionViewFlowLayout-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_AXCollectionViewFlowLayout : NSObject 3 | @end 4 | @implementation PodsDummy_AXCollectionViewFlowLayout 5 | @end 6 | -------------------------------------------------------------------------------- /Pods/Target Support Files/AXCollectionViewFlowLayout/AXCollectionViewFlowLayout-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | -------------------------------------------------------------------------------- /Pods/Target Support Files/AXCollectionViewFlowLayout/AXCollectionViewFlowLayout.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_SHARED_BUILD_DIR/AXCollectionViewFlowLayout 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/AXCollectionViewFlowLayout" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AXCollectionViewFlowLayout" "${PODS_ROOT}/Headers/Public/AXExtensions" "${PODS_ROOT}/Headers/Public/AXImagePickerController" "${PODS_ROOT}/Headers/Public/AXPickerView" "${PODS_ROOT}/Headers/Public/AXPracticalHUD" "${PODS_ROOT}/Headers/Public/MJRefresh" "${PODS_ROOT}/Headers/Public/pop" 4 | OTHER_LDFLAGS = -framework "Foundation" -framework "UIKit" 5 | PODS_ROOT = ${SRCROOT} 6 | PODS_SHARED_BUILD_DIR = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 8 | SKIP_INSTALL = YES 9 | -------------------------------------------------------------------------------- /Pods/Target Support Files/AXExtensions/AXExtensions-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_AXExtensions : NSObject 3 | @end 4 | @implementation PodsDummy_AXExtensions 5 | @end 6 | -------------------------------------------------------------------------------- /Pods/Target Support Files/AXExtensions/AXExtensions-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | -------------------------------------------------------------------------------- /Pods/Target Support Files/AXExtensions/AXExtensions.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_SHARED_BUILD_DIR/AXExtensions 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/AXExtensions" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AXCollectionViewFlowLayout" "${PODS_ROOT}/Headers/Public/AXExtensions" "${PODS_ROOT}/Headers/Public/AXImagePickerController" "${PODS_ROOT}/Headers/Public/AXPickerView" "${PODS_ROOT}/Headers/Public/AXPracticalHUD" "${PODS_ROOT}/Headers/Public/MJRefresh" "${PODS_ROOT}/Headers/Public/pop" 4 | LIBRARY_SEARCH_PATHS = $(inherited) "$PODS_SHARED_BUILD_DIR/MJRefresh" "$PODS_SHARED_BUILD_DIR/pop" 5 | OTHER_LDFLAGS = -framework "AssetsLibrary" -framework "Foundation" -framework "Photos" -framework "UIKit" 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_SHARED_BUILD_DIR = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /Pods/Target Support Files/AXImagePickerController/AXImagePickerController-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_AXImagePickerController : NSObject 3 | @end 4 | @implementation PodsDummy_AXImagePickerController 5 | @end 6 | -------------------------------------------------------------------------------- /Pods/Target Support Files/AXImagePickerController/AXImagePickerController-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | -------------------------------------------------------------------------------- /Pods/Target Support Files/AXImagePickerController/AXImagePickerController.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_SHARED_BUILD_DIR/AXImagePickerController 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/AXImagePickerController" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AXCollectionViewFlowLayout" "${PODS_ROOT}/Headers/Public/AXExtensions" "${PODS_ROOT}/Headers/Public/AXImagePickerController" "${PODS_ROOT}/Headers/Public/AXPickerView" "${PODS_ROOT}/Headers/Public/AXPracticalHUD" "${PODS_ROOT}/Headers/Public/MJRefresh" "${PODS_ROOT}/Headers/Public/pop" 4 | LIBRARY_SEARCH_PATHS = $(inherited) "$PODS_SHARED_BUILD_DIR/AXExtensions" "$PODS_SHARED_BUILD_DIR/AXPracticalHUD" "$PODS_SHARED_BUILD_DIR/MJRefresh" "$PODS_SHARED_BUILD_DIR/pop" 5 | OTHER_LDFLAGS = -framework "Foundation" -framework "UIKit" 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_SHARED_BUILD_DIR = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /Pods/Target Support Files/AXPickerView/AXPickerView-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_AXPickerView : NSObject 3 | @end 4 | @implementation PodsDummy_AXPickerView 5 | @end 6 | -------------------------------------------------------------------------------- /Pods/Target Support Files/AXPickerView/AXPickerView-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | -------------------------------------------------------------------------------- /Pods/Target Support Files/AXPickerView/AXPickerView.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_SHARED_BUILD_DIR/AXPickerView 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/AXPickerView" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AXCollectionViewFlowLayout" "${PODS_ROOT}/Headers/Public/AXExtensions" "${PODS_ROOT}/Headers/Public/AXImagePickerController" "${PODS_ROOT}/Headers/Public/AXPickerView" "${PODS_ROOT}/Headers/Public/AXPracticalHUD" "${PODS_ROOT}/Headers/Public/MJRefresh" "${PODS_ROOT}/Headers/Public/pop" 4 | LIBRARY_SEARCH_PATHS = $(inherited) "$PODS_SHARED_BUILD_DIR/AXCollectionViewFlowLayout" "$PODS_SHARED_BUILD_DIR/AXExtensions" "$PODS_SHARED_BUILD_DIR/AXImagePickerController" "$PODS_SHARED_BUILD_DIR/AXPracticalHUD" "$PODS_SHARED_BUILD_DIR/MJRefresh" "$PODS_SHARED_BUILD_DIR/pop" 5 | OTHER_LDFLAGS = -framework "Foundation" -framework "UIKit" 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_SHARED_BUILD_DIR = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /Pods/Target Support Files/AXPracticalHUD/AXPracticalHUD-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_AXPracticalHUD : NSObject 3 | @end 4 | @implementation PodsDummy_AXPracticalHUD 5 | @end 6 | -------------------------------------------------------------------------------- /Pods/Target Support Files/AXPracticalHUD/AXPracticalHUD-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | -------------------------------------------------------------------------------- /Pods/Target Support Files/AXPracticalHUD/AXPracticalHUD.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_SHARED_BUILD_DIR/AXPracticalHUD 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/AXPracticalHUD" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AXCollectionViewFlowLayout" "${PODS_ROOT}/Headers/Public/AXExtensions" "${PODS_ROOT}/Headers/Public/AXImagePickerController" "${PODS_ROOT}/Headers/Public/AXPickerView" "${PODS_ROOT}/Headers/Public/AXPracticalHUD" "${PODS_ROOT}/Headers/Public/MJRefresh" "${PODS_ROOT}/Headers/Public/pop" 4 | OTHER_LDFLAGS = -framework "Foundation" -framework "UIKit" 5 | PODS_ROOT = ${SRCROOT} 6 | PODS_SHARED_BUILD_DIR = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 8 | SKIP_INSTALL = YES 9 | -------------------------------------------------------------------------------- /Pods/Target Support Files/MJRefresh/MJRefresh-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_MJRefresh : NSObject 3 | @end 4 | @implementation PodsDummy_MJRefresh 5 | @end 6 | -------------------------------------------------------------------------------- /Pods/Target Support Files/MJRefresh/MJRefresh-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | -------------------------------------------------------------------------------- /Pods/Target Support Files/MJRefresh/MJRefresh.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_SHARED_BUILD_DIR/MJRefresh 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/MJRefresh" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AXCollectionViewFlowLayout" "${PODS_ROOT}/Headers/Public/AXExtensions" "${PODS_ROOT}/Headers/Public/AXImagePickerController" "${PODS_ROOT}/Headers/Public/AXPickerView" "${PODS_ROOT}/Headers/Public/AXPracticalHUD" "${PODS_ROOT}/Headers/Public/MJRefresh" "${PODS_ROOT}/Headers/Public/pop" 4 | PODS_ROOT = ${SRCROOT} 5 | PODS_SHARED_BUILD_DIR = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 7 | SKIP_INSTALL = YES 8 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-AXAttributedLabel/Pods-AXAttributedLabel-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_AXAttributedLabel : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_AXAttributedLabel 5 | @end 6 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-AXAttributedLabel/Pods-AXAttributedLabel.debug.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AXCollectionViewFlowLayout" "${PODS_ROOT}/Headers/Public/AXExtensions" "${PODS_ROOT}/Headers/Public/AXImagePickerController" "${PODS_ROOT}/Headers/Public/AXPickerView" "${PODS_ROOT}/Headers/Public/AXPracticalHUD" "${PODS_ROOT}/Headers/Public/MJRefresh" "${PODS_ROOT}/Headers/Public/pop" 3 | LIBRARY_SEARCH_PATHS = $(inherited) "$CONFIGURATION_BUILD_DIR/AXCollectionViewFlowLayout" "$CONFIGURATION_BUILD_DIR/AXExtensions" "$CONFIGURATION_BUILD_DIR/AXImagePickerController" "$CONFIGURATION_BUILD_DIR/AXPickerView" "$CONFIGURATION_BUILD_DIR/AXPracticalHUD" "$CONFIGURATION_BUILD_DIR/MJRefresh" "$CONFIGURATION_BUILD_DIR/pop" 4 | OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/AXCollectionViewFlowLayout" -isystem "${PODS_ROOT}/Headers/Public/AXExtensions" -isystem "${PODS_ROOT}/Headers/Public/AXImagePickerController" -isystem "${PODS_ROOT}/Headers/Public/AXPickerView" -isystem "${PODS_ROOT}/Headers/Public/AXPracticalHUD" -isystem "${PODS_ROOT}/Headers/Public/MJRefresh" -isystem "${PODS_ROOT}/Headers/Public/pop" 5 | OTHER_LDFLAGS = $(inherited) -ObjC -l"AXCollectionViewFlowLayout" -l"AXExtensions" -l"AXImagePickerController" -l"AXPickerView" -l"AXPracticalHUD" -l"MJRefresh" -l"c++" -l"pop" -framework "AssetsLibrary" -framework "Foundation" -framework "Photos" -framework "UIKit" 6 | PODS_ROOT = ${SRCROOT}/Pods 7 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-AXAttributedLabel/Pods-AXAttributedLabel.release.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AXCollectionViewFlowLayout" "${PODS_ROOT}/Headers/Public/AXExtensions" "${PODS_ROOT}/Headers/Public/AXImagePickerController" "${PODS_ROOT}/Headers/Public/AXPickerView" "${PODS_ROOT}/Headers/Public/AXPracticalHUD" "${PODS_ROOT}/Headers/Public/MJRefresh" "${PODS_ROOT}/Headers/Public/pop" 3 | LIBRARY_SEARCH_PATHS = $(inherited) "$CONFIGURATION_BUILD_DIR/AXCollectionViewFlowLayout" "$CONFIGURATION_BUILD_DIR/AXExtensions" "$CONFIGURATION_BUILD_DIR/AXImagePickerController" "$CONFIGURATION_BUILD_DIR/AXPickerView" "$CONFIGURATION_BUILD_DIR/AXPracticalHUD" "$CONFIGURATION_BUILD_DIR/MJRefresh" "$CONFIGURATION_BUILD_DIR/pop" 4 | OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/AXCollectionViewFlowLayout" -isystem "${PODS_ROOT}/Headers/Public/AXExtensions" -isystem "${PODS_ROOT}/Headers/Public/AXImagePickerController" -isystem "${PODS_ROOT}/Headers/Public/AXPickerView" -isystem "${PODS_ROOT}/Headers/Public/AXPracticalHUD" -isystem "${PODS_ROOT}/Headers/Public/MJRefresh" -isystem "${PODS_ROOT}/Headers/Public/pop" 5 | OTHER_LDFLAGS = $(inherited) -ObjC -l"AXCollectionViewFlowLayout" -l"AXExtensions" -l"AXImagePickerController" -l"AXPickerView" -l"AXPracticalHUD" -l"MJRefresh" -l"c++" -l"pop" -framework "AssetsLibrary" -framework "Foundation" -framework "Photos" -framework "UIKit" 6 | PODS_ROOT = ${SRCROOT}/Pods 7 | -------------------------------------------------------------------------------- /Pods/Target Support Files/pop/pop-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_pop : NSObject 3 | @end 4 | @implementation PodsDummy_pop 5 | @end 6 | -------------------------------------------------------------------------------- /Pods/Target Support Files/pop/pop-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | -------------------------------------------------------------------------------- /Pods/Target Support Files/pop/pop.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_CXX_LANGUAGE_STANDARD = c++11 2 | CLANG_CXX_LIBRARY = libc++ 3 | CONFIGURATION_BUILD_DIR = $PODS_SHARED_BUILD_DIR/pop 4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 5 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/pop" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AXCollectionViewFlowLayout" "${PODS_ROOT}/Headers/Public/AXExtensions" "${PODS_ROOT}/Headers/Public/AXImagePickerController" "${PODS_ROOT}/Headers/Public/AXPickerView" "${PODS_ROOT}/Headers/Public/AXPracticalHUD" "${PODS_ROOT}/Headers/Public/MJRefresh" "${PODS_ROOT}/Headers/Public/pop" 6 | OTHER_LDFLAGS = -l"c++" 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_SHARED_BUILD_DIR = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | -------------------------------------------------------------------------------- /Pods/pop/LICENSE: -------------------------------------------------------------------------------- 1 | BSD License 2 | 3 | For Pop software 4 | 5 | Copyright (c) 2014, Facebook, Inc. All rights reserved. 6 | 7 | Redistribution and use in source and binary forms, with or without modification, 8 | are permitted provided that the following conditions are met: 9 | 10 | * Redistributions of source code must retain the above copyright notice, this 11 | list of conditions and the following disclaimer. 12 | 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | this list of conditions and the following disclaimer in the documentation 15 | and/or other materials provided with the distribution. 16 | 17 | * Neither the name Facebook nor the names of its contributors may be used to 18 | endorse or promote products derived from this software without specific 19 | prior written permission. 20 | 21 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 22 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 23 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 24 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR 25 | ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 26 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 27 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 28 | ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 30 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 | -------------------------------------------------------------------------------- /Pods/pop/pop/POP.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2014-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. An additional grant 7 | of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #ifndef POP_POP_H 11 | #define POP_POP_H 12 | 13 | #import 14 | 15 | #import 16 | #import 17 | #import 18 | #import 19 | #import 20 | #import 21 | #import 22 | #import 23 | #import 24 | #import 25 | #import 26 | #import 27 | #import 28 | 29 | #endif /* POP_POP_H */ 30 | -------------------------------------------------------------------------------- /Pods/pop/pop/POPAction.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2014-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. An additional grant 7 | of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #ifndef POPACTION_H 11 | #define POPACTION_H 12 | 13 | #import 14 | 15 | #import 16 | 17 | #ifdef __cplusplus 18 | 19 | namespace POP { 20 | 21 | /** 22 | @abstract Disables Core Animation actions using RAII. 23 | @discussion The disablement of actions is scoped to the current transaction. 24 | */ 25 | class ActionDisabler 26 | { 27 | BOOL state; 28 | 29 | public: 30 | ActionDisabler() POP_NOTHROW 31 | { 32 | state = [CATransaction disableActions]; 33 | [CATransaction setDisableActions:YES]; 34 | } 35 | 36 | ~ActionDisabler() 37 | { 38 | [CATransaction setDisableActions:state]; 39 | } 40 | }; 41 | 42 | /** 43 | @abstract Enables Core Animation actions using RAII. 44 | @discussion The enablement of actions is scoped to the current transaction. 45 | */ 46 | class ActionEnabler 47 | { 48 | BOOL state; 49 | 50 | public: 51 | ActionEnabler() POP_NOTHROW 52 | { 53 | state = [CATransaction disableActions]; 54 | [CATransaction setDisableActions:NO]; 55 | } 56 | 57 | ~ActionEnabler() 58 | { 59 | [CATransaction setDisableActions:state]; 60 | } 61 | }; 62 | 63 | } 64 | 65 | #endif /* __cplusplus */ 66 | 67 | #endif /* POPACTION_H */ 68 | -------------------------------------------------------------------------------- /Pods/pop/pop/POPAnimationEvent.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2014-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. An additional grant 7 | of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | 12 | /** 13 | @abstract Enumeraton of animation event types. 14 | */ 15 | typedef NS_ENUM(NSUInteger, POPAnimationEventType) { 16 | kPOPAnimationEventPropertyRead = 0, 17 | kPOPAnimationEventPropertyWrite, 18 | kPOPAnimationEventToValueUpdate, 19 | kPOPAnimationEventFromValueUpdate, 20 | kPOPAnimationEventVelocityUpdate, 21 | kPOPAnimationEventBouncinessUpdate, 22 | kPOPAnimationEventSpeedUpdate, 23 | kPOPAnimationEventFrictionUpdate, 24 | kPOPAnimationEventMassUpdate, 25 | kPOPAnimationEventTensionUpdate, 26 | kPOPAnimationEventDidStart, 27 | kPOPAnimationEventDidStop, 28 | kPOPAnimationEventDidReachToValue, 29 | kPOPAnimationEventAutoreversed 30 | }; 31 | 32 | /** 33 | @abstract The base animation event class. 34 | */ 35 | @interface POPAnimationEvent : NSObject 36 | 37 | /** 38 | @abstract The event type. See {@ref POPAnimationEventType} for possible values. 39 | */ 40 | @property (readonly, nonatomic, assign) POPAnimationEventType type; 41 | 42 | /** 43 | @abstract The time of event. 44 | */ 45 | @property (readonly, nonatomic, assign) CFTimeInterval time; 46 | 47 | /** 48 | @abstract Optional string describing the animation at time of event. 49 | */ 50 | @property (readonly, nonatomic, copy) NSString *animationDescription; 51 | 52 | @end 53 | 54 | /** 55 | @abstract An animation event subclass for recording value and velocity. 56 | */ 57 | @interface POPAnimationValueEvent : POPAnimationEvent 58 | 59 | /** 60 | @abstract The value recorded. 61 | */ 62 | @property (readonly, nonatomic, strong) id value; 63 | 64 | /** 65 | @abstract The velocity recorded, if any. 66 | */ 67 | @property (readonly, nonatomic, strong) id velocity; 68 | 69 | @end 70 | -------------------------------------------------------------------------------- /Pods/pop/pop/POPAnimationEventInternal.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2014-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. An additional grant 7 | of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | 12 | #import "POPAnimationEvent.h" 13 | 14 | @interface POPAnimationEvent () 15 | 16 | /** 17 | @abstract Default initializer. 18 | */ 19 | - (instancetype)initWithType:(POPAnimationEventType)type time:(CFTimeInterval)time; 20 | 21 | /** 22 | @abstract Readwrite redefinition of public property. 23 | */ 24 | @property (readwrite, nonatomic, copy) NSString *animationDescription; 25 | 26 | @end 27 | 28 | @interface POPAnimationValueEvent () 29 | 30 | /** 31 | @abstract Default initializer. 32 | */ 33 | - (instancetype)initWithType:(POPAnimationEventType)type time:(CFTimeInterval)time value:(id)value; 34 | 35 | /** 36 | @abstract Readwrite redefinition of public property. 37 | */ 38 | @property (readwrite, nonatomic, strong) id velocity; 39 | 40 | @end 41 | 42 | -------------------------------------------------------------------------------- /Pods/pop/pop/POPAnimationExtras.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2014-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. An additional grant 7 | of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | 12 | #import 13 | #import 14 | 15 | /** 16 | @abstract The current drag coefficient. 17 | @discussion A value greater than 1.0 indicates Simulator slow-motion animations are enabled. Defaults to 1.0. 18 | */ 19 | extern CGFloat POPAnimationDragCoefficient(); 20 | 21 | @interface CAAnimation (POPAnimationExtras) 22 | 23 | /** 24 | @abstract Apply the current drag coefficient to animation speed. 25 | @discussion Convenience utility to respect Simulator slow-motion animation settings. 26 | */ 27 | - (void)pop_applyDragCoefficient; 28 | 29 | @end 30 | 31 | @interface POPSpringAnimation (POPAnimationExtras) 32 | 33 | /** 34 | @abstract Converts from spring bounciness and speed to tension, friction and mass dynamics values. 35 | */ 36 | + (void)convertBounciness:(CGFloat)bounciness speed:(CGFloat)speed toTension:(CGFloat *)outTension friction:(CGFloat *)outFriction mass:(CGFloat *)outMass; 37 | 38 | /** 39 | @abstract Converts from dynamics tension, friction and mass to spring bounciness and speed values. 40 | */ 41 | + (void)convertTension:(CGFloat)tension friction:(CGFloat)friction toBounciness:(CGFloat *)outBounciness speed:(CGFloat *)outSpeed; 42 | 43 | @end 44 | -------------------------------------------------------------------------------- /Pods/pop/pop/POPAnimationPrivate.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2014-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. An additional grant 7 | of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | 12 | #define POP_ANIMATION_FRICTION_FOR_QC_FRICTION(qcFriction) (25.0 + (((qcFriction - 8.0) / 2.0) * (25.0 - 19.0))) 13 | #define POP_ANIMATION_TENSION_FOR_QC_TENSION(qcTension) (194.0 + (((qcTension - 30.0) / 50.0) * (375.0 - 194.0))) 14 | 15 | #define QC_FRICTION_FOR_POP_ANIMATION_FRICTION(fbFriction) (8.0 + 2.0 * ((fbFriction - 25.0)/(25.0 - 19.0))) 16 | #define QC_TENSION_FOR_POP_ANIMATION_TENSION(fbTension) (30.0 + 50.0 * ((fbTension - 194.0)/(375.0 - 194.0))) 17 | -------------------------------------------------------------------------------- /Pods/pop/pop/POPAnimationTracer.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2014-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. An additional grant 7 | of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | 12 | #import 13 | 14 | @class POPAnimation; 15 | 16 | /** 17 | @abstract Tracer of animation events to fasciliate unit testing & debugging. 18 | */ 19 | @interface POPAnimationTracer : NSObject 20 | 21 | /** 22 | @abstract Start recording events. 23 | */ 24 | - (void)start; 25 | 26 | /** 27 | @abstract Stop recording events. 28 | */ 29 | - (void)stop; 30 | 31 | /** 32 | @abstract Resets any recoded events. Continues recording events if already started. 33 | */ 34 | - (void)reset; 35 | 36 | /** 37 | @abstract Property representing all recorded events. 38 | @discussion Events are returned in order of occurence. 39 | */ 40 | @property (nonatomic, assign, readonly) NSArray *allEvents; 41 | 42 | /** 43 | @abstract Property representing all recorded write events for convenience. 44 | @discussion Events are returned in order of occurence. 45 | */ 46 | @property (nonatomic, assign, readonly) NSArray *writeEvents; 47 | 48 | /** 49 | @abstract Queries for events of specified type. 50 | @param type The type of event to return. 51 | @returns An array of events of specified type in order of occurence. 52 | */ 53 | - (NSArray *)eventsWithType:(POPAnimationEventType)type; 54 | 55 | /** 56 | @abstract Property indicating whether tracer should automatically log events and reset collection on animation completion. 57 | */ 58 | @property (nonatomic, assign) BOOL shouldLogAndResetOnCompletion; 59 | 60 | @end 61 | -------------------------------------------------------------------------------- /Pods/pop/pop/POPAnimationTracerInternal.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2014-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. An additional grant 7 | of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | 12 | #import 13 | 14 | @interface POPAnimationTracer (Internal) 15 | 16 | /** 17 | @abstract Designated initalizer. Pass the animation being traced. 18 | */ 19 | - (instancetype)initWithAnimation:(POPAnimation *)anAnim; 20 | 21 | /** 22 | @abstract Records read value. 23 | */ 24 | - (void)readPropertyValue:(id)aValue; 25 | 26 | /** 27 | @abstract Records write value. 28 | */ 29 | - (void)writePropertyValue:(id)aValue; 30 | 31 | /** 32 | Records to value update. 33 | */ 34 | - (void)updateToValue:(id)aValue; 35 | 36 | /** 37 | @abstract Records from value update. 38 | */ 39 | - (void)updateFromValue:(id)aValue; 40 | 41 | /** 42 | @abstract Records from value update. 43 | */ 44 | - (void)updateVelocity:(id)aValue; 45 | 46 | /** 47 | @abstract Records bounciness update. 48 | */ 49 | - (void)updateBounciness:(float)aFloat; 50 | 51 | /** 52 | @abstract Records speed update. 53 | */ 54 | - (void)updateSpeed:(float)aFloat; 55 | 56 | /** 57 | @abstract Records friction update. 58 | */ 59 | - (void)updateFriction:(float)aFloat; 60 | 61 | /** 62 | @abstract Records mass update. 63 | */ 64 | - (void)updateMass:(float)aFloat; 65 | 66 | /** 67 | @abstract Records tension update. 68 | */ 69 | - (void)updateTension:(float)aFloat; 70 | 71 | /** 72 | @abstract Records did add. 73 | */ 74 | - (void)didAdd; 75 | 76 | /** 77 | @abstract Records did start. 78 | */ 79 | - (void)didStart; 80 | 81 | /** 82 | @abstract Records did stop. 83 | */ 84 | - (void)didStop:(BOOL)finished; 85 | 86 | /** 87 | @abstract Records did reach to value. 88 | */ 89 | - (void)didReachToValue:(id)aValue; 90 | 91 | /** 92 | @abstract Records when an autoreverse animation takes place. 93 | */ 94 | - (void)autoreversed; 95 | 96 | @end 97 | -------------------------------------------------------------------------------- /Pods/pop/pop/POPAnimator.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2014-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. An additional grant 7 | of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | 12 | @protocol POPAnimatorDelegate; 13 | 14 | /** 15 | @abstract The animator class renders animations. 16 | */ 17 | @interface POPAnimator : NSObject 18 | 19 | /** 20 | @abstract The shared animator instance. 21 | @discussion Consumers should generally use the shared instance in lieu of creating new instances. 22 | */ 23 | + (instancetype)sharedAnimator; 24 | 25 | /** 26 | @abstract The optional animator delegate. 27 | */ 28 | @property (weak, nonatomic) id delegate; 29 | 30 | @end 31 | 32 | /** 33 | @abstract The animator delegate. 34 | */ 35 | @protocol POPAnimatorDelegate 36 | 37 | /** 38 | @abstract Called on each frame before animation application. 39 | */ 40 | - (void)animatorWillAnimate:(POPAnimator *)animator; 41 | 42 | /** 43 | @abstract Called on each frame after animation application. 44 | */ 45 | - (void)animatorDidAnimate:(POPAnimator *)animator; 46 | 47 | @end 48 | -------------------------------------------------------------------------------- /Pods/pop/pop/POPAnimatorPrivate.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2014-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. An additional grant 7 | of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | 12 | @class POPAnimation; 13 | 14 | @protocol POPAnimatorObserving 15 | @required 16 | 17 | /** 18 | @abstract Called on each observer after animator has advanced. Core Animation actions are disabled by default. 19 | */ 20 | - (void)animatorDidAnimate:(POPAnimator *)animator; 21 | 22 | @end 23 | 24 | @interface POPAnimator () 25 | 26 | #if !TARGET_OS_IPHONE 27 | /** 28 | Determines whether or not to use a high priority background thread for animation updates. Using a background thread can result in faster, more responsive updates, but may be less compatible. Defaults to YES. 29 | */ 30 | + (BOOL)disableBackgroundThread; 31 | + (void)setDisableBackgroundThread:(BOOL)flag; 32 | #endif 33 | 34 | /** 35 | Used for externally driven animator instances. 36 | */ 37 | @property (assign, nonatomic) BOOL disableDisplayLink; 38 | 39 | /** 40 | Time used when starting animations. Defaults to 0 meaning current media time is used. Exposed for unit testing. 41 | */ 42 | @property (assign, nonatomic) CFTimeInterval beginTime; 43 | 44 | /** 45 | Exposed for unit testing. 46 | */ 47 | - (void)renderTime:(CFTimeInterval)time; 48 | 49 | /** 50 | Funnel methods for category additions. 51 | */ 52 | - (void)addAnimation:(POPAnimation *)anim forObject:(id)obj key:(NSString *)key; 53 | - (void)removeAllAnimationsForObject:(id)obj; 54 | - (void)removeAnimationForObject:(id)obj key:(NSString *)key; 55 | - (NSArray *)animationKeysForObject:(id)obj; 56 | - (POPAnimation *)animationForObject:(id)obj key:(NSString *)key; 57 | 58 | /** 59 | @abstract Add an animator observer. Observer will be notified of each subsequent animator advance until removal. 60 | */ 61 | - (void)addObserver:(id)observer; 62 | 63 | /** 64 | @abstract Remove an animator observer. 65 | */ 66 | - (void)removeObserver:(id)observer; 67 | 68 | @end 69 | -------------------------------------------------------------------------------- /Pods/pop/pop/POPBasicAnimation.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2014-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. An additional grant 7 | of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | 12 | /** 13 | @abstract A concrete basic animation class. 14 | @discussion Animation is achieved through interpolation. 15 | */ 16 | @interface POPBasicAnimation : POPPropertyAnimation 17 | 18 | /** 19 | @abstract The designated initializer. 20 | @returns An instance of a basic animation. 21 | */ 22 | + (instancetype)animation; 23 | 24 | /** 25 | @abstract Convenience initializer that returns an animation with animatable property of name. 26 | @param name The name of the animatable property. 27 | @returns An instance of a basic animation configured with specified animatable property. 28 | */ 29 | + (instancetype)animationWithPropertyNamed:(NSString *)name; 30 | 31 | /** 32 | @abstract Convenience constructor. 33 | @returns Returns a basic animation with kCAMediaTimingFunctionDefault timing function. 34 | */ 35 | + (instancetype)defaultAnimation; 36 | 37 | /** 38 | @abstract Convenience constructor. 39 | @returns Returns a basic animation with kCAMediaTimingFunctionLinear timing function. 40 | */ 41 | + (instancetype)linearAnimation; 42 | 43 | /** 44 | @abstract Convenience constructor. 45 | @returns Returns a basic animation with kCAMediaTimingFunctionEaseIn timing function. 46 | */ 47 | + (instancetype)easeInAnimation; 48 | 49 | /** 50 | @abstract Convenience constructor. 51 | @returns Returns a basic animation with kCAMediaTimingFunctionEaseOut timing function. 52 | */ 53 | + (instancetype)easeOutAnimation; 54 | 55 | /** 56 | @abstract Convenience constructor. 57 | @returns Returns a basic animation with kCAMediaTimingFunctionEaseInEaseOut timing function. 58 | */ 59 | + (instancetype)easeInEaseOutAnimation; 60 | 61 | /** 62 | @abstract The duration in seconds. Defaults to 0.4. 63 | */ 64 | @property (assign, nonatomic) CFTimeInterval duration; 65 | 66 | /** 67 | @abstract A timing function defining the pacing of the animation. Defaults to nil indicating pacing according to kCAMediaTimingFunctionDefault. 68 | */ 69 | @property (strong, nonatomic) CAMediaTimingFunction *timingFunction; 70 | 71 | @end 72 | -------------------------------------------------------------------------------- /Pods/pop/pop/POPCustomAnimation.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2014-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. An additional grant 7 | of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | 12 | @class POPCustomAnimation; 13 | 14 | /** 15 | @abstract POPCustomAnimationBlock is the callback block of a custom animation. 16 | @discussion This block will be executed for each animation frame and should update the property or properties being animated based on current timing. 17 | @param target The object being animated. Reference the passed in target to help avoid retain loops. 18 | @param animation The custom animation instance. Use to determine the current and elapsed time since last callback. Reference the passed in animation to help avoid retain loops. 19 | @return Flag indicating whether the animation should continue animating. Return NO to indicate animation is done. 20 | */ 21 | typedef BOOL (^POPCustomAnimationBlock)(id target, POPCustomAnimation *animation); 22 | 23 | /** 24 | @abstract POPCustomAnimation is a concrete animation subclass for custom animations. 25 | */ 26 | @interface POPCustomAnimation : POPAnimation 27 | 28 | /** 29 | @abstract Creates and returns an initialized custom animation instance. 30 | @discussion This is the designated initializer. 31 | @param block The custom animation callback block. See {@ref POPCustomAnimationBlock}. 32 | @return The initialized custom animation instance. 33 | */ 34 | + (instancetype)animationWithBlock:(POPCustomAnimationBlock)block; 35 | 36 | /** 37 | @abstract The current animation time at time of callback. 38 | */ 39 | @property (readonly, nonatomic) CFTimeInterval currentTime; 40 | 41 | /** 42 | @abstract The elapsed animation time since last callback. 43 | */ 44 | @property (readonly, nonatomic) CFTimeInterval elapsedTime; 45 | 46 | @end 47 | -------------------------------------------------------------------------------- /Pods/pop/pop/POPCustomAnimation.mm: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2014-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. An additional grant 7 | of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import "POPAnimationInternal.h" 11 | 12 | #import "POPCustomAnimation.h" 13 | 14 | @interface POPCustomAnimation () 15 | @property (nonatomic, copy) POPCustomAnimationBlock animate; 16 | @end 17 | 18 | @implementation POPCustomAnimation 19 | @synthesize currentTime = _currentTime; 20 | @synthesize elapsedTime = _elapsedTime; 21 | @synthesize animate = _animate; 22 | 23 | + (instancetype)animationWithBlock:(BOOL(^)(id target, POPCustomAnimation *))block 24 | { 25 | POPCustomAnimation *b = [[self alloc] _init]; 26 | b.animate = block; 27 | return b; 28 | } 29 | 30 | - (id)_init 31 | { 32 | self = [super _init]; 33 | if (nil != self) { 34 | _state->type = kPOPAnimationCustom; 35 | } 36 | return self; 37 | } 38 | 39 | - (CFTimeInterval)beginTime 40 | { 41 | POPAnimationState *s = POPAnimationGetState(self); 42 | return s->startTime > 0 ? s->startTime : s->beginTime; 43 | } 44 | 45 | - (BOOL)_advance:(id)object currentTime:(CFTimeInterval)currentTime elapsedTime:(CFTimeInterval)elapsedTime 46 | { 47 | _currentTime = currentTime; 48 | _elapsedTime = elapsedTime; 49 | return _animate(object, self); 50 | } 51 | 52 | - (void)_appendDescription:(NSMutableString *)s debug:(BOOL)debug 53 | { 54 | [s appendFormat:@"; elapsedTime = %f; currentTime = %f;", _elapsedTime, _currentTime]; 55 | } 56 | 57 | @end 58 | 59 | /** 60 | * Note that only the animate block is copied, but not the current/elapsed times 61 | */ 62 | @implementation POPCustomAnimation (NSCopying) 63 | 64 | - (instancetype)copyWithZone:(NSZone *)zone { 65 | 66 | POPCustomAnimation *copy = [super copyWithZone:zone]; 67 | 68 | if (copy) { 69 | copy.animate = self.animate; 70 | } 71 | 72 | return copy; 73 | } 74 | 75 | @end -------------------------------------------------------------------------------- /Pods/pop/pop/POPDecayAnimation.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2014-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. An additional grant 7 | of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | 12 | /** 13 | @abstract A concrete decay animation class. 14 | @discussion Animation is achieved through gradual decay of animation value. 15 | */ 16 | @interface POPDecayAnimation : POPPropertyAnimation 17 | 18 | /** 19 | @abstract The designated initializer. 20 | @returns An instance of a decay animation. 21 | */ 22 | + (instancetype)animation; 23 | 24 | /** 25 | @abstract Convenience initializer that returns an animation with animatable property of name. 26 | @param name The name of the animatable property. 27 | @returns An instance of a decay animation configured with specified animatable property. 28 | */ 29 | + (instancetype)animationWithPropertyNamed:(NSString *)name; 30 | 31 | /** 32 | @abstract The current velocity value. 33 | @discussion Set before animation start to account for initial velocity. Expressed in change of value units per second. The only POPValueTypes supported for velocity are: kPOPValuePoint, kPOPValueInteger, kPOPValueFloat, kPOPValueRect, and kPOPValueSize. 34 | */ 35 | @property (copy, nonatomic) id velocity; 36 | 37 | /** 38 | @abstract The original velocity value. 39 | @discussion Since the velocity property is modified as the animation progresses, this property stores the original, passed in velocity to support autoreverse and repeatCount. 40 | */ 41 | @property (copy, nonatomic, readonly) id originalVelocity; 42 | 43 | /** 44 | @abstract The deceleration factor. 45 | @discussion Values specifies should be in the range [0, 1]. Lower values results in faster deceleration. Defaults to 0.998. 46 | */ 47 | @property (assign, nonatomic) CGFloat deceleration; 48 | 49 | /** 50 | @abstract The expected duration. 51 | @discussion Derived based on input velocity and deceleration values. 52 | */ 53 | @property (readonly, assign, nonatomic) CFTimeInterval duration; 54 | 55 | /** 56 | The to value is derived based on input velocity and deceleration. 57 | */ 58 | - (void)setToValue:(id)toValue NS_UNAVAILABLE; 59 | 60 | /** 61 | @abstract The reversed velocity. 62 | @discussion The reversed velocity based on the originalVelocity when the animation was set up. 63 | */ 64 | - (id)reversedVelocity; 65 | 66 | @end 67 | -------------------------------------------------------------------------------- /Pods/pop/pop/POPDefines.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2014-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. An additional grant 7 | of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #ifndef POP_POPDefines_h 11 | #define POP_POPDefines_h 12 | 13 | #import 14 | 15 | #ifdef __cplusplus 16 | # define POP_EXTERN_C_BEGIN extern "C" { 17 | # define POP_EXTERN_C_END } 18 | #else 19 | # define POP_EXTERN_C_BEGIN 20 | # define POP_EXTERN_C_END 21 | #endif 22 | 23 | #define POP_ARRAY_COUNT(x) sizeof(x) / sizeof(x[0]) 24 | 25 | #if defined (__cplusplus) && defined (__GNUC__) 26 | # define POP_NOTHROW __attribute__ ((nothrow)) 27 | #else 28 | # define POP_NOTHROW 29 | #endif 30 | 31 | #if TARGET_OS_MAC 32 | #define SCENEKIT_SDK_AVAILABLE defined(POP_USE_SCENEKIT) 33 | #elif TARGET_OS_IPHONE 34 | #define SCENEKIT_SDK_AVAILABLE defined(POP_USE_SCENEKIT) 35 | #endif 36 | 37 | #endif 38 | -------------------------------------------------------------------------------- /Pods/pop/pop/POPGeometry.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2014-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. An additional grant 7 | of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | 12 | #if TARGET_OS_IPHONE 13 | #import 14 | #endif 15 | 16 | #if !TARGET_OS_IPHONE 17 | 18 | /** NSValue extensions to support animatable types. */ 19 | @interface NSValue (POP) 20 | 21 | /** 22 | @abstract Creates an NSValue given a CGPoint. 23 | */ 24 | + (NSValue *)valueWithCGPoint:(CGPoint)point; 25 | 26 | /** 27 | @abstract Creates an NSValue given a CGSize. 28 | */ 29 | + (NSValue *)valueWithCGSize:(CGSize)size; 30 | 31 | /** 32 | @abstract Creates an NSValue given a CGRect. 33 | */ 34 | + (NSValue *)valueWithCGRect:(CGRect)rect; 35 | 36 | /** 37 | @abstract Creates an NSValue given a CFRange. 38 | */ 39 | + (NSValue *)valueWithCFRange:(CFRange)range; 40 | 41 | /** 42 | @abstract Creates an NSValue given a CGAffineTransform. 43 | */ 44 | + (NSValue *)valueWithCGAffineTransform:(CGAffineTransform)transform; 45 | 46 | /** 47 | @abstract Returns the underlying CGPoint value. 48 | */ 49 | - (CGPoint)CGPointValue; 50 | 51 | /** 52 | @abstract Returns the underlying CGSize value. 53 | */ 54 | - (CGSize)CGSizeValue; 55 | 56 | /** 57 | @abstract Returns the underlying CGRect value. 58 | */ 59 | - (CGRect)CGRectValue; 60 | 61 | /** 62 | @abstract Returns the underlying CFRange value. 63 | */ 64 | - (CFRange)CFRangeValue; 65 | 66 | /** 67 | @abstract Returns the underlying CGAffineTransform value. 68 | */ 69 | - (CGAffineTransform)CGAffineTransformValue; 70 | 71 | @end 72 | 73 | #endif 74 | -------------------------------------------------------------------------------- /Pods/pop/pop/POPMath.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2014-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. An additional grant 7 | of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | 12 | #import 13 | 14 | #import "POPDefines.h" 15 | #import "POPVector.h" 16 | 17 | NS_INLINE CGFloat sqrtr(CGFloat f) 18 | { 19 | #if CGFLOAT_IS_DOUBLE 20 | return sqrt(f); 21 | #else 22 | return sqrtf(f); 23 | #endif 24 | } 25 | 26 | // round to nearest sub; pass 2.0 to round to every 0.5 (eg: retina pixels) 27 | NS_INLINE CGFloat POPSubRound(CGFloat f, CGFloat sub) 28 | { 29 | return round(f * sub) / sub; 30 | } 31 | 32 | #define MIX(a, b, f) ((a) + (f) * ((b) - (a))) 33 | 34 | // the longer the duration, the higher the necessary precision 35 | #define SOLVE_EPS(dur) (1. / (1000. * (dur))) 36 | 37 | #define _EQLF_(x, y, epsilon) (fabsf ((x) - (y)) < epsilon) 38 | 39 | extern void POPInterpolateVector(NSUInteger count, CGFloat *dst, const CGFloat *from, const CGFloat *to, CGFloat f); 40 | 41 | extern double POPTimingFunctionSolve(const double vec[4], double t, double eps); 42 | 43 | // quadratic mapping of t [0, 1] to [start, end] 44 | extern double POPQuadraticOutInterpolation(double t, double start, double end); 45 | 46 | // normalize value to [0, 1] based on its range [startValue, endValue] 47 | extern double POPNormalize(double value, double startValue, double endValue); 48 | 49 | // project a normalized value [0, 1] to a given range [start, end] 50 | extern double POPProjectNormal(double n, double start, double end); 51 | 52 | // solve a quadratic equation of the form a * x^2 + b * x + c = 0 53 | extern void POPQuadraticSolve(CGFloat a, CGFloat b, CGFloat c, CGFloat &x1, CGFloat &x2); 54 | 55 | // for a given tension return the bouncy 3 friction that produces no bounce 56 | extern double POPBouncy3NoBounce(double tension); 57 | -------------------------------------------------------------------------------- /Pods/pop/pop/POPMath.mm: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2014-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. An additional grant 7 | of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import "POPMath.h" 11 | 12 | #import "POPAnimationPrivate.h" 13 | #import "UnitBezier.h" 14 | 15 | void POPInterpolateVector(NSUInteger count, CGFloat *dst, const CGFloat *from, const CGFloat *to, CGFloat f) 16 | { 17 | for (NSUInteger idx = 0; idx < count; idx++) { 18 | dst[idx] = MIX(from[idx], to[idx], f); 19 | } 20 | } 21 | 22 | double POPTimingFunctionSolve(const double vec[4], double t, double eps) 23 | { 24 | WebCore::UnitBezier bezier(vec[0], vec[1], vec[2], vec[3]); 25 | return bezier.solve(t, eps); 26 | } 27 | 28 | double POPNormalize(double value, double startValue, double endValue) 29 | { 30 | return (value - startValue) / (endValue - startValue); 31 | } 32 | 33 | double POPProjectNormal(double n, double start, double end) 34 | { 35 | return start + (n * (end - start)); 36 | } 37 | 38 | static double linear_interpolation(double t, double start, double end) 39 | { 40 | return t * end + (1.f - t) * start; 41 | } 42 | 43 | double POPQuadraticOutInterpolation(double t, double start, double end) 44 | { 45 | return linear_interpolation(2*t - t*t, start, end); 46 | } 47 | 48 | static double b3_friction1(double x) 49 | { 50 | return (0.0007 * pow(x, 3)) - (0.031 * pow(x, 2)) + 0.64 * x + 1.28; 51 | } 52 | 53 | static double b3_friction2(double x) 54 | { 55 | return (0.000044 * pow(x, 3)) - (0.006 * pow(x, 2)) + 0.36 * x + 2.; 56 | } 57 | 58 | static double b3_friction3(double x) 59 | { 60 | return (0.00000045 * pow(x, 3)) - (0.000332 * pow(x, 2)) + 0.1078 * x + 5.84; 61 | } 62 | 63 | double POPBouncy3NoBounce(double tension) 64 | { 65 | double friction = 0; 66 | if (tension <= 18.) { 67 | friction = b3_friction1(tension); 68 | } else if (tension > 18 && tension <= 44) { 69 | friction = b3_friction2(tension); 70 | } else if (tension > 44) { 71 | friction = b3_friction3(tension); 72 | } else { 73 | assert(false); 74 | } 75 | return friction; 76 | } 77 | 78 | void POPQuadraticSolve(CGFloat a, CGFloat b, CGFloat c, CGFloat &x1, CGFloat &x2) 79 | { 80 | CGFloat discriminant = sqrt(b * b - 4 * a * c); 81 | x1 = (-b + discriminant) / (2 * a); 82 | x2 = (-b - discriminant) / (2 * a); 83 | } 84 | -------------------------------------------------------------------------------- /Pods/pop/pop/POPPropertyAnimation.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2014-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. An additional grant 7 | of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | #import 12 | 13 | /** 14 | @abstract Flags for clamping animation values. 15 | @discussion Animation values can optionally be clamped to avoid overshoot. kPOPAnimationClampStart ensures values are more than fromValue and kPOPAnimationClampEnd ensures values are less than toValue. 16 | */ 17 | typedef NS_OPTIONS(NSUInteger, POPAnimationClampFlags) 18 | { 19 | kPOPAnimationClampNone = 0, 20 | kPOPAnimationClampStart = 1UL << 0, 21 | kPOPAnimationClampEnd = 1UL << 1, 22 | kPOPAnimationClampBoth = kPOPAnimationClampStart | kPOPAnimationClampEnd, 23 | }; 24 | 25 | /** 26 | @abstract The semi-concrete property animation subclass. 27 | */ 28 | @interface POPPropertyAnimation : POPAnimation 29 | 30 | /** 31 | @abstract The property to animate. 32 | */ 33 | @property (strong, nonatomic) POPAnimatableProperty *property; 34 | 35 | /** 36 | @abstract The value to animate from. 37 | @discussion The value type should match the property. If unspecified, the value is initialized to the object's current value on animation start. 38 | */ 39 | @property (copy, nonatomic) id fromValue; 40 | 41 | /** 42 | @abstract The value to animate to. 43 | @discussion The value type should match the property. If unspecified, the value is initialized to the object's current value on animation start. 44 | */ 45 | @property (copy, nonatomic) id toValue; 46 | 47 | /** 48 | @abstract The rounding factor applied to the current animated value. 49 | @discussion Specify 1.0 to animate between integral values. Defaults to 0 meaning no rounding. 50 | */ 51 | @property (assign, nonatomic) CGFloat roundingFactor; 52 | 53 | /** 54 | @abstract The clamp mode applied to the current animated value. 55 | @discussion See {@ref POPAnimationClampFlags} for possible values. Defaults to kPOPAnimationClampNone. 56 | */ 57 | @property (assign, nonatomic) NSUInteger clampMode; 58 | 59 | /** 60 | @abstract The flag indicating whether values should be "added" each frame, rather than set. 61 | @discussion Addition may be type dependent. Defaults to NO. 62 | */ 63 | @property (assign, nonatomic, getter = isAdditive) BOOL additive; 64 | 65 | @end 66 | -------------------------------------------------------------------------------- /Pods/pop/pop/WebCore/FloatConversion.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2007 Apple Inc. All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions 6 | * are met: 7 | * 8 | * 1. Redistributions of source code must retain the above copyright 9 | * notice, this list of conditions and the following disclaimer. 10 | * 2. Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of 14 | * its contributors may be used to endorse or promote products derived 15 | * from this software without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY 18 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 19 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 20 | * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY 21 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | */ 28 | 29 | #ifndef FloatConversion_h 30 | #define FloatConversion_h 31 | 32 | #include 33 | 34 | namespace WebCore { 35 | 36 | template 37 | float narrowPrecisionToFloat(T); 38 | 39 | template<> 40 | inline float narrowPrecisionToFloat(double number) 41 | { 42 | return static_cast(number); 43 | } 44 | 45 | template 46 | CGFloat narrowPrecisionToCGFloat(T); 47 | 48 | template<> 49 | inline CGFloat narrowPrecisionToCGFloat(double number) 50 | { 51 | return static_cast(number); 52 | } 53 | 54 | } // namespace WebCore 55 | 56 | #endif // FloatConversion_h 57 | --------------------------------------------------------------------------------