├── AlipayDemo ├── Carthage │ ├── Checkouts │ │ └── MJRefresh │ │ │ ├── Carthage │ │ │ └── Build │ │ │ ├── MJRefreshExample │ │ │ ├── Images.xcassets │ │ │ │ ├── Contents.json │ │ │ │ ├── logo.imageset │ │ │ │ │ ├── logo.png │ │ │ │ │ ├── logo@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ ├── NavBar.imageset │ │ │ │ │ ├── NavBar@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ ├── AppIcon.appiconset │ │ │ │ │ ├── AppIcon@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ ├── MJRefresh.imageset │ │ │ │ │ ├── MJRefresh.png │ │ │ │ │ └── Contents.json │ │ │ │ ├── NavBar64.imageset │ │ │ │ │ ├── NavBar64@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ └── DianPing │ │ │ │ │ ├── dropdown_anim__0001.imageset │ │ │ │ │ ├── dropdown_anim__0001@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__0002.imageset │ │ │ │ │ ├── dropdown_anim__0002@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__0003.imageset │ │ │ │ │ ├── dropdown_anim__0003@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__0004.imageset │ │ │ │ │ ├── dropdown_anim__0004@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__0005.imageset │ │ │ │ │ ├── dropdown_anim__0005@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__0006.imageset │ │ │ │ │ ├── dropdown_anim__0006@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__0007.imageset │ │ │ │ │ ├── dropdown_anim__0007@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__0008.imageset │ │ │ │ │ ├── dropdown_anim__0008@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__0009.imageset │ │ │ │ │ ├── dropdown_anim__0009@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_loading_01.imageset │ │ │ │ │ ├── dropdown_loading_01@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_loading_02.imageset │ │ │ │ │ ├── dropdown_loading_02@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_loading_03.imageset │ │ │ │ │ ├── dropdown_loading_03@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__00010.imageset │ │ │ │ │ ├── dropdown_anim__00010@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__00011.imageset │ │ │ │ │ ├── dropdown_anim__00011@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__00012.imageset │ │ │ │ │ ├── dropdown_anim__00012@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__00013.imageset │ │ │ │ │ ├── dropdown_anim__00013@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__00014.imageset │ │ │ │ │ ├── dropdown_anim__00014@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__00015.imageset │ │ │ │ │ ├── dropdown_anim__00015@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__00016.imageset │ │ │ │ │ ├── dropdown_anim__00016@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__00017.imageset │ │ │ │ │ ├── dropdown_anim__00017@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__00018.imageset │ │ │ │ │ ├── dropdown_anim__00018@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__00019.imageset │ │ │ │ │ ├── dropdown_anim__00019@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__00020.imageset │ │ │ │ │ ├── dropdown_anim__00020@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__00021.imageset │ │ │ │ │ ├── dropdown_anim__00021@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__00022.imageset │ │ │ │ │ ├── dropdown_anim__00022@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__00023.imageset │ │ │ │ │ ├── dropdown_anim__00023@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__00024.imageset │ │ │ │ │ ├── dropdown_anim__00024@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__00025.imageset │ │ │ │ │ ├── dropdown_anim__00025@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__00026.imageset │ │ │ │ │ ├── dropdown_anim__00026@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__00027.imageset │ │ │ │ │ ├── dropdown_anim__00027@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__00028.imageset │ │ │ │ │ ├── dropdown_anim__00028@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__00029.imageset │ │ │ │ │ ├── dropdown_anim__00029@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__00030.imageset │ │ │ │ │ ├── dropdown_anim__00030@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__00031.imageset │ │ │ │ │ ├── dropdown_anim__00031@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__00032.imageset │ │ │ │ │ ├── dropdown_anim__00032@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__00033.imageset │ │ │ │ │ ├── dropdown_anim__00033@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__00034.imageset │ │ │ │ │ ├── dropdown_anim__00034@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__00035.imageset │ │ │ │ │ ├── dropdown_anim__00035@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__00036.imageset │ │ │ │ │ ├── dropdown_anim__00036@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__00037.imageset │ │ │ │ │ ├── dropdown_anim__00037@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__00038.imageset │ │ │ │ │ ├── dropdown_anim__00038@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__00039.imageset │ │ │ │ │ ├── dropdown_anim__00039@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__00040.imageset │ │ │ │ │ ├── dropdown_anim__00040@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__00041.imageset │ │ │ │ │ ├── dropdown_anim__00041@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__00042.imageset │ │ │ │ │ ├── dropdown_anim__00042@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__00043.imageset │ │ │ │ │ ├── dropdown_anim__00043@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__00044.imageset │ │ │ │ │ ├── dropdown_anim__00044@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__00045.imageset │ │ │ │ │ ├── dropdown_anim__00045@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__00046.imageset │ │ │ │ │ ├── dropdown_anim__00046@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__00047.imageset │ │ │ │ │ ├── dropdown_anim__00047@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__00048.imageset │ │ │ │ │ ├── dropdown_anim__00048@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__00049.imageset │ │ │ │ │ ├── dropdown_anim__00049@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__00050.imageset │ │ │ │ │ ├── dropdown_anim__00050@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__00051.imageset │ │ │ │ │ ├── dropdown_anim__00051@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__00052.imageset │ │ │ │ │ ├── dropdown_anim__00052@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__00053.imageset │ │ │ │ │ ├── dropdown_anim__00053@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__00054.imageset │ │ │ │ │ ├── dropdown_anim__00054@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__00055.imageset │ │ │ │ │ ├── dropdown_anim__00055@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__00056.imageset │ │ │ │ │ ├── dropdown_anim__00056@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__00057.imageset │ │ │ │ │ ├── dropdown_anim__00057@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__00058.imageset │ │ │ │ │ ├── dropdown_anim__00058@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── dropdown_anim__00059.imageset │ │ │ │ │ ├── dropdown_anim__00059@2x.png │ │ │ │ │ └── Contents.json │ │ │ │ │ └── dropdown_anim__00060.imageset │ │ │ │ │ ├── dropdown_anim__00060@2x.png │ │ │ │ │ └── Contents.json │ │ │ ├── Classes │ │ │ │ ├── DIY │ │ │ │ │ ├── MJDIYHeader.h │ │ │ │ │ ├── MJDIYAutoFooter.h │ │ │ │ │ ├── MJDIYBackFooter.h │ │ │ │ │ ├── MJChiBaoZiFooter.h │ │ │ │ │ ├── MJChiBaoZiFooter2.h │ │ │ │ │ ├── MJChiBaoZiHeader.h │ │ │ │ │ ├── MJChiBaoZiFooter.m │ │ │ │ │ ├── MJChiBaoZiFooter2.m │ │ │ │ │ ├── MJChiBaoZiHeader.m │ │ │ │ │ └── MJDIYAutoFooter.m │ │ │ │ ├── First │ │ │ │ │ ├── MJExampleWindow.h │ │ │ │ │ ├── MJSingleViewController.h │ │ │ │ │ ├── MJExample.m │ │ │ │ │ ├── MJTempViewController.h │ │ │ │ │ ├── MJExampleViewController.h │ │ │ │ │ ├── MJNavigationController.h │ │ │ │ │ ├── MJExample.h │ │ │ │ │ ├── MJExampleWindow.m │ │ │ │ │ ├── MJNavigationController.m │ │ │ │ │ ├── MJSingleViewController.m │ │ │ │ │ └── MJTempViewController.m │ │ │ │ ├── Second │ │ │ │ │ ├── MJWebViewViewController.h │ │ │ │ │ ├── MJTableViewController.h │ │ │ │ │ ├── MJCollectionViewController.h │ │ │ │ │ ├── MJTestViewController.h │ │ │ │ │ ├── MJTestViewController.m │ │ │ │ │ ├── MJTestViewController.xib │ │ │ │ │ └── MJWebViewViewController.m │ │ │ │ ├── Category │ │ │ │ │ ├── UIViewController+Example.h │ │ │ │ │ └── UIViewController+Example.m │ │ │ │ └── Other │ │ │ │ │ ├── AppDelegate.h │ │ │ │ │ └── AppDelegate.m │ │ │ ├── PrefixHeader.pch │ │ │ ├── main.m │ │ │ └── Info.plist │ │ │ ├── MJRefresh │ │ │ ├── MJRefresh.bundle │ │ │ │ ├── arrow@2x.png │ │ │ │ ├── en.lproj │ │ │ │ │ └── Localizable.strings │ │ │ │ ├── zh-Hans.lproj │ │ │ │ │ └── Localizable.strings │ │ │ │ └── zh-Hant.lproj │ │ │ │ │ └── Localizable.strings │ │ │ ├── Base │ │ │ │ ├── MJRefreshBackFooter.h │ │ │ │ ├── MJRefreshAutoFooter.h │ │ │ │ ├── MJRefreshHeader.h │ │ │ │ ├── MJRefreshFooter.h │ │ │ │ └── MJRefreshFooter.m │ │ │ ├── Custom │ │ │ │ ├── Footer │ │ │ │ │ ├── Auto │ │ │ │ │ │ ├── MJRefreshAutoNormalFooter.h │ │ │ │ │ │ ├── MJRefreshAutoGifFooter.h │ │ │ │ │ │ ├── MJRefreshAutoStateFooter.h │ │ │ │ │ │ ├── MJRefreshAutoNormalFooter.m │ │ │ │ │ │ └── MJRefreshAutoStateFooter.m │ │ │ │ │ └── Back │ │ │ │ │ │ ├── MJRefreshBackNormalFooter.h │ │ │ │ │ │ ├── MJRefreshBackGifFooter.h │ │ │ │ │ │ ├── MJRefreshBackStateFooter.h │ │ │ │ │ │ └── MJRefreshBackStateFooter.m │ │ │ │ └── Header │ │ │ │ │ ├── MJRefreshNormalHeader.h │ │ │ │ │ ├── MJRefreshGifHeader.h │ │ │ │ │ └── MJRefreshStateHeader.h │ │ │ ├── NSBundle+MJRefresh.h │ │ │ ├── MJRefresh.h │ │ │ ├── UIView+MJExtension.h │ │ │ ├── Info.plist │ │ │ ├── UIScrollView+MJExtension.h │ │ │ ├── UIScrollView+MJRefresh.h │ │ │ ├── UIView+MJExtension.m │ │ │ ├── MJRefreshConst.m │ │ │ ├── NSBundle+MJRefresh.m │ │ │ ├── MJRefreshConst.h │ │ │ └── UIScrollView+MJExtension.m │ │ │ ├── .gitignore │ │ │ ├── MJRefresh.podspec │ │ │ ├── MJRefreshFramework │ │ │ ├── MJRefreshFramework.h │ │ │ └── Info.plist │ │ │ ├── MJRefreshExampleTests │ │ │ ├── Info.plist │ │ │ └── MJRefreshExampleTests.m │ │ │ ├── LICENSE │ │ │ └── MJRefreshExample.xcodeproj │ │ │ └── xcshareddata │ │ │ └── xcschemes │ │ │ └── MJRefreshFramework.xcscheme │ └── Build │ │ └── iOS │ │ ├── MJRefresh.framework │ │ ├── Info.plist │ │ ├── MJRefresh │ │ ├── Modules │ │ │ └── module.modulemap │ │ ├── MJRefresh.bundle │ │ │ ├── arrow@2x.png │ │ │ ├── en.lproj │ │ │ │ └── Localizable.strings │ │ │ ├── zh-Hans.lproj │ │ │ │ └── Localizable.strings │ │ │ └── zh-Hant.lproj │ │ │ │ └── Localizable.strings │ │ └── Headers │ │ │ ├── MJRefreshBackFooter.h │ │ │ ├── MJRefreshAutoNormalFooter.h │ │ │ ├── MJRefreshNormalHeader.h │ │ │ ├── NSBundle+MJRefresh.h │ │ │ ├── MJRefreshBackNormalFooter.h │ │ │ ├── MJRefresh.h │ │ │ ├── MJRefreshGifHeader.h │ │ │ ├── MJRefreshAutoGifFooter.h │ │ │ ├── MJRefreshBackGifFooter.h │ │ │ ├── MJRefreshFramework.h │ │ │ ├── MJRefreshBackStateFooter.h │ │ │ ├── MJRefreshAutoStateFooter.h │ │ │ ├── MJRefreshAutoFooter.h │ │ │ ├── UIView+MJExtension.h │ │ │ ├── MJRefreshStateHeader.h │ │ │ ├── UIScrollView+MJExtension.h │ │ │ ├── MJRefreshHeader.h │ │ │ ├── UIScrollView+MJRefresh.h │ │ │ ├── MJRefreshFooter.h │ │ │ └── MJRefreshConst.h │ │ └── MJRefresh.framework.dSYM │ │ └── Contents │ │ ├── Resources │ │ └── DWARF │ │ │ └── MJRefresh │ │ └── Info.plist ├── Cartfile.resolved ├── Assets.xcassets │ ├── Contents.json │ ├── home_pay.imageset │ │ ├── home_pay@2x.png │ │ └── Contents.json │ ├── home_xiu.imageset │ │ ├── home_xiu@2x.png │ │ └── Contents.json │ ├── pay_mini.imageset │ │ ├── pay_mini@2x.png │ │ └── Contents.json │ ├── home_bill.imageset │ │ ├── home_bill@2x.png │ │ ├── home_bill@3x.png │ │ └── Contents.json │ ├── home_card.imageset │ │ ├── home_card@2x.png │ │ └── Contents.json │ ├── home_scan.imageset │ │ ├── home_scan@2x.png │ │ └── Contents.json │ ├── home_search.imageset │ │ ├── home_search.png │ │ ├── home_search@3x.png │ │ └── Contents.json │ ├── scan_mini.imageset │ │ ├── scan_mini@2x.png │ │ └── Contents.json │ ├── camera_mini.imageset │ │ ├── camera_mini@2x.png │ │ └── Contents.json │ ├── home_bill_320.imageset │ │ ├── home_bill_320@2x.png │ │ └── Contents.json │ ├── home_contacts.imageset │ │ ├── home_contacts@2x.png │ │ ├── home_contacts@3x.png │ │ └── Contents.json │ ├── userinfo_loading.imageset │ │ ├── userinfo_loading@2x.png │ │ ├── userinfo_loading@3x.png │ │ └── Contents.json │ └── AppIcon.appiconset │ │ └── Contents.json ├── Cartfile ├── Extension.swift ├── Info.plist ├── Base.lproj │ ├── LaunchScreen.storyboard │ └── Main.storyboard ├── AppDelegate.swift └── IndexTableView.swift ├── AlipayDemo.xcodeproj ├── xcuserdata │ ├── Kevin.xcuserdatad │ │ ├── xcdebugger │ │ │ └── Breakpoints_v2.xcbkptlist │ │ └── xcschemes │ │ │ └── xcschememanagement.plist │ └── lmh.xcuserdatad │ │ ├── xcdebugger │ │ └── Breakpoints_v2.xcbkptlist │ │ └── xcschemes │ │ └── xcschememanagement.plist └── project.xcworkspace │ └── contents.xcworkspacedata ├── AlipayDemoTests ├── Info.plist └── AlipayDemoTests.swift ├── AlipayDemoUITests ├── Info.plist └── AlipayDemoUITests.swift └── readme.md /AlipayDemo/Carthage/Checkouts/MJRefresh/Carthage/Build: -------------------------------------------------------------------------------- 1 | ../../../../Carthage/Build -------------------------------------------------------------------------------- /AlipayDemo/Cartfile.resolved: -------------------------------------------------------------------------------- 1 | github "seedotlee/MJRefresh" "2f7b8ce8a977218e1e93a5a746dbcc4dc6370ce1" 2 | -------------------------------------------------------------------------------- /AlipayDemo/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /AlipayDemo/Assets.xcassets/home_pay.imageset/home_pay@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Assets.xcassets/home_pay.imageset/home_pay@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Assets.xcassets/home_xiu.imageset/home_xiu@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Assets.xcassets/home_xiu.imageset/home_xiu@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Assets.xcassets/pay_mini.imageset/pay_mini@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Assets.xcassets/pay_mini.imageset/pay_mini@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Build/iOS/MJRefresh.framework/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Build/iOS/MJRefresh.framework/Info.plist -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Build/iOS/MJRefresh.framework/MJRefresh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Build/iOS/MJRefresh.framework/MJRefresh -------------------------------------------------------------------------------- /AlipayDemo/Assets.xcassets/home_bill.imageset/home_bill@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Assets.xcassets/home_bill.imageset/home_bill@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Assets.xcassets/home_bill.imageset/home_bill@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Assets.xcassets/home_bill.imageset/home_bill@3x.png -------------------------------------------------------------------------------- /AlipayDemo/Assets.xcassets/home_card.imageset/home_card@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Assets.xcassets/home_card.imageset/home_card@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Assets.xcassets/home_scan.imageset/home_scan@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Assets.xcassets/home_scan.imageset/home_scan@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Assets.xcassets/home_search.imageset/home_search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Assets.xcassets/home_search.imageset/home_search.png -------------------------------------------------------------------------------- /AlipayDemo/Assets.xcassets/scan_mini.imageset/scan_mini@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Assets.xcassets/scan_mini.imageset/scan_mini@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Assets.xcassets/camera_mini.imageset/camera_mini@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Assets.xcassets/camera_mini.imageset/camera_mini@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Assets.xcassets/home_search.imageset/home_search@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Assets.xcassets/home_search.imageset/home_search@3x.png -------------------------------------------------------------------------------- /AlipayDemo.xcodeproj/xcuserdata/Kevin.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | -------------------------------------------------------------------------------- /AlipayDemo.xcodeproj/xcuserdata/lmh.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Build/iOS/MJRefresh.framework/Modules/module.modulemap: -------------------------------------------------------------------------------- 1 | framework module MJRefresh { 2 | umbrella header "MJRefresh.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /AlipayDemo/Assets.xcassets/home_bill_320.imageset/home_bill_320@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Assets.xcassets/home_bill_320.imageset/home_bill_320@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Assets.xcassets/home_contacts.imageset/home_contacts@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Assets.xcassets/home_contacts.imageset/home_contacts@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Assets.xcassets/home_contacts.imageset/home_contacts@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Assets.xcassets/home_contacts.imageset/home_contacts@3x.png -------------------------------------------------------------------------------- /AlipayDemo/Assets.xcassets/userinfo_loading.imageset/userinfo_loading@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Assets.xcassets/userinfo_loading.imageset/userinfo_loading@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Assets.xcassets/userinfo_loading.imageset/userinfo_loading@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Assets.xcassets/userinfo_loading.imageset/userinfo_loading@3x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Build/iOS/MJRefresh.framework/MJRefresh.bundle/arrow@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Build/iOS/MJRefresh.framework/MJRefresh.bundle/arrow@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefresh/MJRefresh.bundle/arrow@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefresh/MJRefresh.bundle/arrow@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Build/iOS/MJRefresh.framework.dSYM/Contents/Resources/DWARF/MJRefresh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Build/iOS/MJRefresh.framework.dSYM/Contents/Resources/DWARF/MJRefresh -------------------------------------------------------------------------------- /AlipayDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Build/iOS/MJRefresh.framework/MJRefresh.bundle/en.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Build/iOS/MJRefresh.framework/MJRefresh.bundle/en.lproj/Localizable.strings -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefresh/MJRefresh.bundle/en.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefresh/MJRefresh.bundle/en.lproj/Localizable.strings -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/logo.imageset/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/logo.imageset/logo.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/logo.imageset/logo@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/logo.imageset/logo@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Build/iOS/MJRefresh.framework/MJRefresh.bundle/zh-Hans.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Build/iOS/MJRefresh.framework/MJRefresh.bundle/zh-Hans.lproj/Localizable.strings -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefresh/MJRefresh.bundle/zh-Hans.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefresh/MJRefresh.bundle/zh-Hans.lproj/Localizable.strings -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/NavBar.imageset/NavBar@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/NavBar.imageset/NavBar@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/AppIcon.appiconset/AppIcon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/AppIcon.appiconset/AppIcon@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/MJRefresh.imageset/MJRefresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/MJRefresh.imageset/MJRefresh.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/NavBar64.imageset/NavBar64@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/NavBar64.imageset/NavBar64@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Cartfile: -------------------------------------------------------------------------------- 1 | 2 | # 必须最低 2.3.1 版本 3 | # >= 2.3.1 4 | 5 | # 必须 1.x 版本 6 | # ~>1.0 7 | 8 | # 必须 0.4.1 版本 9 | # == 0.4.1 10 | 11 | # 使用最新版本 12 | # "xxx/xxx" 13 | 14 | # 使用git源 15 | # git "url" "branch" 16 | 17 | github "seedotlee/MJRefresh" "new-version" 18 | 19 | 20 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__0001.imageset/dropdown_anim__0001@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__0001.imageset/dropdown_anim__0001@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__0002.imageset/dropdown_anim__0002@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__0002.imageset/dropdown_anim__0002@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__0003.imageset/dropdown_anim__0003@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__0003.imageset/dropdown_anim__0003@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__0004.imageset/dropdown_anim__0004@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__0004.imageset/dropdown_anim__0004@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__0005.imageset/dropdown_anim__0005@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__0005.imageset/dropdown_anim__0005@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__0006.imageset/dropdown_anim__0006@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__0006.imageset/dropdown_anim__0006@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__0007.imageset/dropdown_anim__0007@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__0007.imageset/dropdown_anim__0007@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__0008.imageset/dropdown_anim__0008@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__0008.imageset/dropdown_anim__0008@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__0009.imageset/dropdown_anim__0009@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__0009.imageset/dropdown_anim__0009@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_loading_01.imageset/dropdown_loading_01@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_loading_01.imageset/dropdown_loading_01@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_loading_02.imageset/dropdown_loading_02@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_loading_02.imageset/dropdown_loading_02@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_loading_03.imageset/dropdown_loading_03@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_loading_03.imageset/dropdown_loading_03@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00010.imageset/dropdown_anim__00010@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00010.imageset/dropdown_anim__00010@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00011.imageset/dropdown_anim__00011@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00011.imageset/dropdown_anim__00011@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00012.imageset/dropdown_anim__00012@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00012.imageset/dropdown_anim__00012@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00013.imageset/dropdown_anim__00013@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00013.imageset/dropdown_anim__00013@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00014.imageset/dropdown_anim__00014@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00014.imageset/dropdown_anim__00014@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00015.imageset/dropdown_anim__00015@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00015.imageset/dropdown_anim__00015@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00016.imageset/dropdown_anim__00016@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00016.imageset/dropdown_anim__00016@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00017.imageset/dropdown_anim__00017@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00017.imageset/dropdown_anim__00017@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00018.imageset/dropdown_anim__00018@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00018.imageset/dropdown_anim__00018@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00019.imageset/dropdown_anim__00019@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00019.imageset/dropdown_anim__00019@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00020.imageset/dropdown_anim__00020@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00020.imageset/dropdown_anim__00020@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00021.imageset/dropdown_anim__00021@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00021.imageset/dropdown_anim__00021@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00022.imageset/dropdown_anim__00022@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00022.imageset/dropdown_anim__00022@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00023.imageset/dropdown_anim__00023@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00023.imageset/dropdown_anim__00023@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00024.imageset/dropdown_anim__00024@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00024.imageset/dropdown_anim__00024@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00025.imageset/dropdown_anim__00025@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00025.imageset/dropdown_anim__00025@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00026.imageset/dropdown_anim__00026@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00026.imageset/dropdown_anim__00026@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00027.imageset/dropdown_anim__00027@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00027.imageset/dropdown_anim__00027@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00028.imageset/dropdown_anim__00028@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00028.imageset/dropdown_anim__00028@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00029.imageset/dropdown_anim__00029@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00029.imageset/dropdown_anim__00029@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00030.imageset/dropdown_anim__00030@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00030.imageset/dropdown_anim__00030@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00031.imageset/dropdown_anim__00031@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00031.imageset/dropdown_anim__00031@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00032.imageset/dropdown_anim__00032@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00032.imageset/dropdown_anim__00032@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00033.imageset/dropdown_anim__00033@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00033.imageset/dropdown_anim__00033@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00034.imageset/dropdown_anim__00034@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00034.imageset/dropdown_anim__00034@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00035.imageset/dropdown_anim__00035@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00035.imageset/dropdown_anim__00035@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00036.imageset/dropdown_anim__00036@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00036.imageset/dropdown_anim__00036@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00037.imageset/dropdown_anim__00037@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00037.imageset/dropdown_anim__00037@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00038.imageset/dropdown_anim__00038@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00038.imageset/dropdown_anim__00038@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00039.imageset/dropdown_anim__00039@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00039.imageset/dropdown_anim__00039@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00040.imageset/dropdown_anim__00040@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00040.imageset/dropdown_anim__00040@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00041.imageset/dropdown_anim__00041@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00041.imageset/dropdown_anim__00041@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00042.imageset/dropdown_anim__00042@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00042.imageset/dropdown_anim__00042@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00043.imageset/dropdown_anim__00043@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00043.imageset/dropdown_anim__00043@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00044.imageset/dropdown_anim__00044@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00044.imageset/dropdown_anim__00044@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00045.imageset/dropdown_anim__00045@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00045.imageset/dropdown_anim__00045@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00046.imageset/dropdown_anim__00046@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00046.imageset/dropdown_anim__00046@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00047.imageset/dropdown_anim__00047@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00047.imageset/dropdown_anim__00047@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00048.imageset/dropdown_anim__00048@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00048.imageset/dropdown_anim__00048@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00049.imageset/dropdown_anim__00049@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00049.imageset/dropdown_anim__00049@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00050.imageset/dropdown_anim__00050@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00050.imageset/dropdown_anim__00050@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00051.imageset/dropdown_anim__00051@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00051.imageset/dropdown_anim__00051@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00052.imageset/dropdown_anim__00052@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00052.imageset/dropdown_anim__00052@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00053.imageset/dropdown_anim__00053@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00053.imageset/dropdown_anim__00053@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00054.imageset/dropdown_anim__00054@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00054.imageset/dropdown_anim__00054@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00055.imageset/dropdown_anim__00055@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00055.imageset/dropdown_anim__00055@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00056.imageset/dropdown_anim__00056@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00056.imageset/dropdown_anim__00056@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00057.imageset/dropdown_anim__00057@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00057.imageset/dropdown_anim__00057@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00058.imageset/dropdown_anim__00058@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00058.imageset/dropdown_anim__00058@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00059.imageset/dropdown_anim__00059@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00059.imageset/dropdown_anim__00059@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00060.imageset/dropdown_anim__00060@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seedotlee/AlipayIndexDemo/HEAD/AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00060.imageset/dropdown_anim__00060@2x.png -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Classes/DIY/MJDIYHeader.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJDIYHeader.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/6/13. 6 | // Copyright © 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefresh.h" 10 | 11 | @interface MJDIYHeader : MJRefreshHeader 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/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 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Build/iOS/MJRefresh.framework/Headers/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 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | 3 | # Xcode 4 | build/* 5 | *.pbxuser 6 | !default.pbxuser 7 | *.mode1v3 8 | !default.mode1v3 9 | *.mode2v3 10 | !default.mode2v3 11 | *.perspectivev3 12 | !default.perspectivev3 13 | *.xcworkspace 14 | !default.xcworkspace 15 | xcuserdata 16 | profile 17 | *.moved-aside 18 | *.xcuserstate 19 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Classes/First/MJExampleWindow.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJExampleWindow.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/8/17. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface MJExampleWindow : UIWindow 12 | + (void)show; 13 | @end 14 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Classes/DIY/MJDIYAutoFooter.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJDIYAutoFooter.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 MJDIYAutoFooter : MJRefreshAutoFooter 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Classes/DIY/MJDIYBackFooter.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJDIYBackFooter.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 MJDIYBackFooter : MJRefreshBackFooter 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/PrefixHeader.pch: -------------------------------------------------------------------------------- 1 | // 2 | // PrefixHeader.pch 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/9/22. 6 | // Copyright © 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #ifndef PrefixHeader_pch 10 | #define PrefixHeader_pch 11 | #import "MJTempViewController.h" 12 | #endif /* PrefixHeader_pch */ 13 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Classes/DIY/MJChiBaoZiFooter.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJChiBaoZiFooter.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/6/12. 6 | // Copyright © 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshAutoGifFooter.h" 10 | 11 | @interface MJChiBaoZiFooter : MJRefreshAutoGifFooter 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Classes/DIY/MJChiBaoZiFooter2.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJChiBaoZiFooter2.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/6/12. 6 | // Copyright © 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshBackGifFooter.h" 10 | 11 | @interface MJChiBaoZiFooter2 : MJRefreshBackGifFooter 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Classes/DIY/MJChiBaoZiHeader.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJChiBaoZiHeader.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/6/12. 6 | // Copyright © 2015年 小码哥. All rights reserved. 7 | // 吃包子效果的头部控件 8 | 9 | #import "MJRefreshGifHeader.h" 10 | 11 | @interface MJChiBaoZiHeader : MJRefreshGifHeader 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Classes/First/MJSingleViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJSingleViewController.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/6/13. 6 | // Copyright © 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface MJSingleViewController : UITableViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Classes/Second/MJWebViewViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJWebViewViewController.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/3/12. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface MJWebViewViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Classes/Category/UIViewController+Example.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIViewController+Example.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/3/12. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UIViewController (Example) 12 | @property (copy, nonatomic) NSString *method; 13 | @end 14 | -------------------------------------------------------------------------------- /AlipayDemo/Assets.xcassets/home_pay.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "home_pay@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Assets.xcassets/home_xiu.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "home_xiu@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Assets.xcassets/pay_mini.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "pay_mini@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Assets.xcassets/camera_mini.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "camera_mini@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Assets.xcassets/home_card.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "home_card@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Assets.xcassets/home_scan.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "home_scan@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Assets.xcassets/scan_mini.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "scan_mini@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Assets.xcassets/home_bill_320.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "home_bill_320@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/3/4. 6 | // Copyright (c) 2015年 小码哥. 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 | -------------------------------------------------------------------------------- /AlipayDemo/Assets.xcassets/home_bill.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "home_bill@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "filename" : "home_bill@3x.png", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Build/iOS/MJRefresh.framework/Headers/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 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/MJRefresh.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "MJRefresh.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/NavBar.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "NavBar@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/NavBar64.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "NavBar64@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Assets.xcassets/home_search.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "home_search.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "filename" : "home_search@3x.png", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/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 | -------------------------------------------------------------------------------- /AlipayDemo/Assets.xcassets/home_contacts.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "home_contacts@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "filename" : "home_contacts@3x.png", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /AlipayDemo/Assets.xcassets/userinfo_loading.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "userinfo_loading@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "filename" : "userinfo_loading@3x.png", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Classes/First/MJExample.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 | // MJExample.m 4 | // MJRefreshExample 5 | // 6 | // Created by MJ Lee on 15/3/5. 7 | // Copyright (c) 2015年 小码哥. All rights reserved. 8 | // 9 | 10 | #import "MJExample.h" 11 | 12 | @implementation MJExample 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/logo.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "logo.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "logo@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__0001.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__0001@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00010.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00010@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00011.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00011@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00012.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00012@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00013.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00013@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00014.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00014@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00015.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00015@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00016.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00016@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00017.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00017@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00018.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00018@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00019.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00019@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__0002.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__0002@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00020.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00020@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00021.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00021@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00022.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00022@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00023.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00023@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00024.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00024@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00025.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00025@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00026.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00026@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00027.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00027@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00028.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00028@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00029.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00029@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__0003.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__0003@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00030.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00030@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00031.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00031@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00032.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00032@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00033.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00033@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00034.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00034@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00035.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00035@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00036.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00036@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00037.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00037@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00038.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00038@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00039.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00039@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__0004.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__0004@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00040.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00040@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00041.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00041@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00042.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00042@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00043.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00043@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00044.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00044@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00045.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00045@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00046.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00046@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00047.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00047@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00048.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00048@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00049.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00049@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__0005.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__0005@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00050.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00050@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00051.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00051@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00052.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00052@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00053.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00053@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00054.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00054@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00055.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00055@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00056.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00056@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00057.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00057@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00058.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00058@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00059.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00059@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__0006.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__0006@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__00060.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__00060@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__0007.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__0007@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__0008.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__0008@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_anim__0009.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_anim__0009@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_loading_01.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_loading_01@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_loading_02.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_loading_02@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.xcassets/DianPing/dropdown_loading_03.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "dropdown_loading_03@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefresh/NSBundle+MJRefresh.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSBundle+MJRefresh.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 16/6/13. 6 | // Copyright © 2016年 小码哥. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface NSBundle (MJRefresh) 12 | + (instancetype)mj_refreshBundle; 13 | + (UIImage *)mj_arrowImage; 14 | + (NSString *)mj_localizedStringForKey:(NSString *)key value:(NSString *)value; 15 | + (NSString *)mj_localizedStringForKey:(NSString *)key; 16 | @end 17 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Build/iOS/MJRefresh.framework/Headers/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 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Build/iOS/MJRefresh.framework/Headers/NSBundle+MJRefresh.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSBundle+MJRefresh.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 16/6/13. 6 | // Copyright © 2016年 小码哥. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface NSBundle (MJRefresh) 12 | + (instancetype)mj_refreshBundle; 13 | + (UIImage *)mj_arrowImage; 14 | + (NSString *)mj_localizedStringForKey:(NSString *)key value:(NSString *)value; 15 | + (NSString *)mj_localizedStringForKey:(NSString *)key; 16 | @end 17 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Classes/First/MJTempViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJTempViewController.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/9/22. 6 | // Copyright © 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface MJTempViewController : UIViewController 12 | 13 | + (instancetype)sharedInstance; 14 | 15 | @property (assign, nonatomic) UIStatusBarStyle statusBarStyle; 16 | @property (assign, nonatomic) BOOL statusBarHidden; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/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 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Build/iOS/MJRefresh.framework/Headers/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 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/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 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Classes/Second/MJTableViewController.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 | // MJTableViewController.h 4 | // MJRefreshExample 5 | // 6 | // Created by MJ Lee on 15/3/4. 7 | // Copyright (c) 2015年 小码哥. All rights reserved. 8 | // 9 | 10 | #import 11 | 12 | @interface MJTableViewController : UITableViewController 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Classes/First/MJExampleViewController.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 | // MJExampleViewController.h 4 | // MJRefreshExample 5 | // 6 | // Created by MJ Lee on 15/3/5. 7 | // Copyright (c) 2015年 小码哥. All rights reserved. 8 | // 9 | 10 | #import 11 | 12 | @interface MJExampleViewController : UITableViewController 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Classes/First/MJNavigationController.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 | // MJNavigationController.h 4 | // MJRefreshExample 5 | // 6 | // Created by MJ Lee on 15/3/5. 7 | // Copyright (c) 2015年 小码哥. All rights reserved. 8 | // 9 | 10 | #import 11 | 12 | @interface MJNavigationController : UINavigationController 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Classes/Second/MJCollectionViewController.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 | // MJCollectionViewController.h 4 | // MJRefreshExample 5 | // 6 | // Created by MJ Lee on 15/3/6. 7 | // Copyright (c) 2015年 小码哥. All rights reserved. 8 | // 9 | 10 | #import 11 | 12 | @interface MJCollectionViewController : UICollectionViewController 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/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" -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Classes/Other/AppDelegate.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 | // AppDelegate.h 4 | // MJRefreshExample 5 | // 6 | // Created by MJ Lee on 15/3/4. 7 | // Copyright (c) 2015年 小码哥. All rights reserved. 8 | // 9 | 10 | #import 11 | 12 | @interface AppDelegate : UIResponder 13 | 14 | @property (strong, nonatomic) UIWindow *window; 15 | 16 | 17 | @end 18 | 19 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Build/iOS/MJRefresh.framework/Headers/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" -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefresh.podspec: -------------------------------------------------------------------------------- 1 | Pod::Spec.new do |s| 2 | s.name = 'MJRefresh' 3 | s.version = '3.1.12' 4 | s.summary = 'An easy way to use pull-to-refresh' 5 | s.homepage = 'https://github.com/CoderMJLee/MJRefresh' 6 | s.license = 'MIT' 7 | s.authors = {'MJ Lee' => '199109106@qq.com'} 8 | s.platform = :ios, '6.0' 9 | s.source = {:git => 'https://github.com/CoderMJLee/MJRefresh.git', :tag => s.version} 10 | s.source_files = 'MJRefresh/**/*.{h,m}' 11 | s.resource = 'MJRefresh/MJRefresh.bundle' 12 | s.requires_arc = true 13 | end 14 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Build/iOS/MJRefresh.framework/Headers/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 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/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 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Build/iOS/MJRefresh.framework/Headers/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 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Build/iOS/MJRefresh.framework/Headers/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 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/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 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/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 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Build/iOS/MJRefresh.framework/Headers/MJRefreshFramework.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshFramework.h 3 | // MJRefreshFramework 4 | // 5 | // Created by Kevin on 9/28/16. 6 | // Copyright © 2016 小码哥. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | //! Project version number for MJRefreshFramework. 12 | FOUNDATION_EXPORT double MJRefreshFrameworkVersionNumber; 13 | 14 | //! Project version string for MJRefreshFramework. 15 | FOUNDATION_EXPORT const unsigned char MJRefreshFrameworkVersionString[]; 16 | 17 | // In this header, you should import all the public headers of your framework using statements like #import 18 | 19 | 20 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshFramework/MJRefreshFramework.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshFramework.h 3 | // MJRefreshFramework 4 | // 5 | // Created by Kevin on 9/28/16. 6 | // Copyright © 2016 小码哥. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | //! Project version number for MJRefreshFramework. 12 | FOUNDATION_EXPORT double MJRefreshFrameworkVersionNumber; 13 | 14 | //! Project version string for MJRefreshFramework. 15 | FOUNDATION_EXPORT const unsigned char MJRefreshFrameworkVersionString[]; 16 | 17 | // In this header, you should import all the public headers of your framework using statements like #import 18 | 19 | 20 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Build/iOS/MJRefresh.framework/Headers/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 | /** 文字距离圈圈、箭头的距离 */ 13 | @property (assign, nonatomic) CGFloat labelLeftInset; 14 | /** 显示刷新状态的label */ 15 | @property (weak, nonatomic, readonly) UILabel *stateLabel; 16 | /** 设置state状态下的文字 */ 17 | - (void)setTitle:(NSString *)title forState:(MJRefreshState)state; 18 | 19 | /** 获取state状态下的title */ 20 | - (NSString *)titleForState:(MJRefreshState)state; 21 | @end 22 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Classes/First/MJExample.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 | // MJExample.h 4 | // MJRefreshExample 5 | // 6 | // Created by MJ Lee on 15/3/5. 7 | // Copyright (c) 2015年 小码哥. All rights reserved. 8 | // 9 | 10 | #import 11 | 12 | @interface MJExample : NSObject 13 | @property (copy, nonatomic) NSString *header; 14 | @property (strong, nonatomic) NSArray *titles; 15 | @property (strong, nonatomic) NSArray *methods; 16 | @property (assign, nonatomic) Class vcClass; 17 | @end 18 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/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 | /** 文字距离圈圈、箭头的距离 */ 13 | @property (assign, nonatomic) CGFloat labelLeftInset; 14 | /** 显示刷新状态的label */ 15 | @property (weak, nonatomic, readonly) UILabel *stateLabel; 16 | /** 设置state状态下的文字 */ 17 | - (void)setTitle:(NSString *)title forState:(MJRefreshState)state; 18 | 19 | /** 获取state状态下的title */ 20 | - (NSString *)titleForState:(MJRefreshState)state; 21 | @end 22 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Build/iOS/MJRefresh.framework/MJRefresh.bundle/zh-Hant.lproj/Localizable.strings: -------------------------------------------------------------------------------- 1 | "MJRefreshHeaderIdleText" = "下拉可以刷新"; 2 | "MJRefreshHeaderPullingText" = "鬆開立即刷新"; 3 | "MJRefreshHeaderRefreshingText" = "正在刷新數據中..."; 4 | 5 | "MJRefreshAutoFooterIdleText" = "點擊或上拉加載更多"; 6 | "MJRefreshAutoFooterRefreshingText" = "正在加載更多的數據..."; 7 | "MJRefreshAutoFooterNoMoreDataText" = "已經全部加載完畢"; 8 | 9 | "MJRefreshBackFooterIdleText" = "上拉可以加載更多"; 10 | "MJRefreshBackFooterPullingText" = "鬆開立即加載更多"; 11 | "MJRefreshBackFooterRefreshingText" = "正在加載更多的數據..."; 12 | "MJRefreshBackFooterNoMoreDataText" = "已經全部加載完畢"; 13 | 14 | "MJRefreshHeaderLastTimeText" = "最後更新:"; 15 | "MJRefreshHeaderDateTodayText" = "今天"; 16 | "MJRefreshHeaderNoneLastDateText" = "無記錄"; 17 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefresh/MJRefresh.bundle/zh-Hant.lproj/Localizable.strings: -------------------------------------------------------------------------------- 1 | "MJRefreshHeaderIdleText" = "下拉可以刷新"; 2 | "MJRefreshHeaderPullingText" = "鬆開立即刷新"; 3 | "MJRefreshHeaderRefreshingText" = "正在刷新數據中..."; 4 | 5 | "MJRefreshAutoFooterIdleText" = "點擊或上拉加載更多"; 6 | "MJRefreshAutoFooterRefreshingText" = "正在加載更多的數據..."; 7 | "MJRefreshAutoFooterNoMoreDataText" = "已經全部加載完畢"; 8 | 9 | "MJRefreshBackFooterIdleText" = "上拉可以加載更多"; 10 | "MJRefreshBackFooterPullingText" = "鬆開立即加載更多"; 11 | "MJRefreshBackFooterRefreshingText" = "正在加載更多的數據..."; 12 | "MJRefreshBackFooterNoMoreDataText" = "已經全部加載完畢"; 13 | 14 | "MJRefreshHeaderLastTimeText" = "最後更新:"; 15 | "MJRefreshHeaderDateTodayText" = "今天"; 16 | "MJRefreshHeaderNoneLastDateText" = "無記錄"; 17 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Build/iOS/MJRefresh.framework/Headers/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 | /** 文字距离圈圈、箭头的距离 */ 13 | @property (assign, nonatomic) CGFloat labelLeftInset; 14 | /** 显示刷新状态的label */ 15 | @property (weak, nonatomic, readonly) UILabel *stateLabel; 16 | 17 | /** 设置state状态下的文字 */ 18 | - (void)setTitle:(NSString *)title forState:(MJRefreshState)state; 19 | 20 | /** 隐藏刷新状态的文字 */ 21 | @property (assign, nonatomic, getter=isRefreshingTitleHidden) BOOL refreshingTitleHidden; 22 | @end 23 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/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 | /** 文字距离圈圈、箭头的距离 */ 13 | @property (assign, nonatomic) CGFloat labelLeftInset; 14 | /** 显示刷新状态的label */ 15 | @property (weak, nonatomic, readonly) UILabel *stateLabel; 16 | 17 | /** 设置state状态下的文字 */ 18 | - (void)setTitle:(NSString *)title forState:(MJRefreshState)state; 19 | 20 | /** 隐藏刷新状态的文字 */ 21 | @property (assign, nonatomic, getter=isRefreshingTitleHidden) BOOL refreshingTitleHidden; 22 | @end 23 | -------------------------------------------------------------------------------- /AlipayDemoTests/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 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /AlipayDemoUITests/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 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/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("请使用triggerAutomaticallyRefreshPercent属性"); 17 | 18 | /** 当底部控件出现多少时就自动刷新(默认为1.0,也就是底部控件完全出现时,才会自动刷新) */ 19 | @property (assign, nonatomic) CGFloat triggerAutomaticallyRefreshPercent; 20 | @end 21 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Build/iOS/MJRefresh.framework/Headers/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("请使用triggerAutomaticallyRefreshPercent属性"); 17 | 18 | /** 当底部控件出现多少时就自动刷新(默认为1.0,也就是底部控件完全出现时,才会自动刷新) */ 19 | @property (assign, nonatomic) CGFloat triggerAutomaticallyRefreshPercent; 20 | @end 21 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/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 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Build/iOS/MJRefresh.framework.dSYM/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleIdentifier 8 | com.apple.xcode.dsym.com.mj.MJRefresh.MJRefreshFramework 9 | CFBundleInfoDictionaryVersion 10 | 6.0 11 | CFBundlePackageType 12 | dSYM 13 | CFBundleSignature 14 | ???? 15 | CFBundleShortVersionString 16 | 1.0 17 | CFBundleVersion 18 | 1 19 | 20 | 21 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Build/iOS/MJRefresh.framework/Headers/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 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Classes/Second/MJTestViewController.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 | // MJTestViewController.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 | #define MJPerformSelectorLeakWarning(Stuff) \ 13 | do { \ 14 | _Pragma("clang diagnostic push") \ 15 | _Pragma("clang diagnostic ignored \"-Warc-performSelector-leaks\"") \ 16 | Stuff; \ 17 | _Pragma("clang diagnostic pop") \ 18 | } while (0) 19 | 20 | @interface MJTestViewController : UIViewController 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Classes/DIY/MJChiBaoZiFooter.m: -------------------------------------------------------------------------------- 1 | // 2 | // MJChiBaoZiFooter.m 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/6/12. 6 | // Copyright © 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJChiBaoZiFooter.h" 10 | 11 | @implementation MJChiBaoZiFooter 12 | #pragma mark - 重写方法 13 | #pragma mark 基本设置 14 | - (void)prepare 15 | { 16 | [super prepare]; 17 | 18 | // 设置正在刷新状态的动画图片 19 | NSMutableArray *refreshingImages = [NSMutableArray array]; 20 | for (NSUInteger i = 1; i<=3; i++) { 21 | UIImage *image = [UIImage imageNamed:[NSString stringWithFormat:@"dropdown_loading_0%zd", i]]; 22 | [refreshingImages addObject:image]; 23 | } 24 | [self setImages:refreshingImages forState:MJRefreshStateRefreshing]; 25 | } 26 | @end 27 | -------------------------------------------------------------------------------- /AlipayDemo.xcodeproj/xcuserdata/Kevin.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | AlipayDemo.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | 96F464071DAA4551007C381E 16 | 17 | primary 18 | 19 | 20 | 96F4641B1DAA4551007C381E 21 | 22 | primary 23 | 24 | 25 | 96F464261DAA4551007C381E 26 | 27 | primary 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /AlipayDemo.xcodeproj/xcuserdata/lmh.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | AlipayDemo.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | 96F464071DAA4551007C381E 16 | 17 | primary 18 | 19 | 20 | 96F4641B1DAA4551007C381E 21 | 22 | primary 23 | 24 | 25 | 96F464261DAA4551007C381E 26 | 27 | primary 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Classes/First/MJExampleWindow.m: -------------------------------------------------------------------------------- 1 | // 2 | // MJExampleWindow.m 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/8/17. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJExampleWindow.h" 10 | #import "MJTempViewController.h" 11 | 12 | @implementation MJExampleWindow 13 | 14 | static UIWindow *window_; 15 | + (void)show 16 | { 17 | window_ = [[UIWindow alloc] init]; 18 | CGFloat width = 150; 19 | CGFloat x = [UIScreen mainScreen].bounds.size.width - width - 10; 20 | window_.frame = CGRectMake(x, 0, width, 25); 21 | window_.windowLevel = UIWindowLevelAlert; 22 | window_.hidden = NO; 23 | window_.alpha = 0.5; 24 | window_.rootViewController = [[MJTempViewController alloc] init]; 25 | window_.backgroundColor = [UIColor clearColor]; 26 | } 27 | @end 28 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Build/iOS/MJRefresh.framework/Headers/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 | /** 文字距离圈圈、箭头的距离 */ 20 | @property (assign, nonatomic) CGFloat labelLeftInset; 21 | /** 显示刷新状态的label */ 22 | @property (weak, nonatomic, readonly) UILabel *stateLabel; 23 | /** 设置state状态下的文字 */ 24 | - (void)setTitle:(NSString *)title forState:(MJRefreshState)state; 25 | @end 26 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExampleTests/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 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/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 | /** 文字距离圈圈、箭头的距离 */ 20 | @property (assign, nonatomic) CGFloat labelLeftInset; 21 | /** 显示刷新状态的label */ 22 | @property (weak, nonatomic, readonly) UILabel *stateLabel; 23 | /** 设置state状态下的文字 */ 24 | - (void)setTitle:(NSString *)title forState:(MJRefreshState)state; 25 | @end 26 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefresh/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | $(CURRENT_PROJECT_VERSION) 21 | NSPrincipalClass 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshFramework/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | $(CURRENT_PROJECT_VERSION) 21 | NSPrincipalClass 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/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 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Build/iOS/MJRefresh.framework/Headers/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 | -------------------------------------------------------------------------------- /AlipayDemo/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "size" : "60x60", 41 | "scale" : "3x" 42 | } 43 | ], 44 | "info" : { 45 | "version" : 1, 46 | "author" : "xcode" 47 | } 48 | } -------------------------------------------------------------------------------- /AlipayDemo/Extension.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Extension.swift 3 | // AlipayDemo 4 | // 5 | // Created by See on 10/11/16. 6 | // Copyright © 2016 See. All rights reserved. 7 | // 8 | import UIKit 9 | 10 | extension UIButton { 11 | 12 | func alignImageAndTitleVertically(padding: CGFloat = 6.0) { 13 | let imageSize = self.imageView!.frame.size 14 | let titleSize = self.titleLabel!.frame.size 15 | let totalHeight = imageSize.height + titleSize.height + padding 16 | 17 | self.imageEdgeInsets = UIEdgeInsets( 18 | top: -(totalHeight - imageSize.height), 19 | left: (self.frame.size.width - imageSize.width) / 2 - 5, 20 | bottom: 0, 21 | right: 0 22 | ) 23 | 24 | self.titleEdgeInsets = UIEdgeInsets( 25 | top: 0, 26 | left: -(self.frame.size.width - titleSize.width) / 2 - 10, 27 | bottom: -(totalHeight - titleSize.height), 28 | right: 0 29 | ) 30 | } 31 | 32 | } 33 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/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 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Build/iOS/MJRefresh.framework/Headers/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 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Classes/Category/UIViewController+Example.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIViewController+Example.m 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/3/12. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "UIViewController+Example.h" 10 | #import 11 | 12 | @implementation UIViewController (Example) 13 | 14 | #pragma mark - swizzle 15 | + (void)load 16 | { 17 | Method method1 = class_getInstanceMethod([self class], NSSelectorFromString(@"dealloc")); 18 | Method method2 = class_getInstanceMethod([self class], @selector(deallocSwizzle)); 19 | method_exchangeImplementations(method1, method2); 20 | } 21 | 22 | - (void)deallocSwizzle 23 | { 24 | NSLog(@"%@被销毁了", self); 25 | 26 | [self deallocSwizzle]; 27 | } 28 | 29 | static char MethodKey; 30 | - (void)setMethod:(NSString *)method 31 | { 32 | objc_setAssociatedObject(self, &MethodKey, method, OBJC_ASSOCIATION_COPY_NONATOMIC); 33 | } 34 | 35 | - (NSString *)method 36 | { 37 | return objc_getAssociatedObject(self, &MethodKey); 38 | } 39 | @end 40 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/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 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExampleTests/MJRefreshExampleTests.m: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshExampleTests.m 3 | // MJRefreshExampleTests 4 | // 5 | // Created by MJ Lee on 15/3/4. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | @interface MJRefreshExampleTests : XCTestCase 13 | 14 | @end 15 | 16 | @implementation MJRefreshExampleTests 17 | 18 | - (void)setUp { 19 | [super setUp]; 20 | // Put setup code here. This method is called before the invocation of each test method in the class. 21 | } 22 | 23 | - (void)tearDown { 24 | // Put teardown code here. This method is called after the invocation of each test method in the class. 25 | [super tearDown]; 26 | } 27 | 28 | - (void)testExample { 29 | // This is an example of a functional test case. 30 | XCTAssert(YES, @"Pass"); 31 | } 32 | 33 | - (void)testPerformanceExample { 34 | // This is an example of a performance test case. 35 | [self measureBlock:^{ 36 | // Put the code you want to measure the time of here. 37 | }]; 38 | } 39 | 40 | @end 41 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Build/iOS/MJRefresh.framework/Headers/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 | -------------------------------------------------------------------------------- /AlipayDemoTests/AlipayDemoTests.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AlipayDemoTests.swift 3 | // AlipayDemoTests 4 | // 5 | // Created by Lanmeihui on 10/9/16. 6 | // Copyright © 2016 See. All rights reserved. 7 | // 8 | 9 | import XCTest 10 | @testable import AlipayDemo 11 | 12 | class AlipayDemoTests: XCTestCase { 13 | 14 | override func setUp() { 15 | super.setUp() 16 | // Put setup code here. This method is called before the invocation of each test method in the class. 17 | } 18 | 19 | override func tearDown() { 20 | // Put teardown code here. This method is called after the invocation of each test method in the class. 21 | super.tearDown() 22 | } 23 | 24 | func testExample() { 25 | // This is an example of a functional test case. 26 | // Use XCTAssert and related functions to verify your tests produce the correct results. 27 | } 28 | 29 | func testPerformanceExample() { 30 | // This is an example of a performance test case. 31 | self.measure { 32 | // Put the code you want to measure the time of here. 33 | } 34 | } 35 | 36 | } 37 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Classes/Second/MJTestViewController.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 | // MJTestViewController.m 4 | // MJRefreshExample 5 | // 6 | // Created by MJ Lee on 14-5-28. 7 | // Copyright (c) 2014年 小码哥. All rights reserved. 8 | // 9 | 10 | #import "MJTestViewController.h" 11 | 12 | @interface MJTestViewController () 13 | 14 | @end 15 | 16 | @implementation MJTestViewController 17 | 18 | - (void)viewDidLoad 19 | { 20 | [super viewDidLoad]; 21 | 22 | self.title = @"测试控制器"; 23 | 24 | self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"关闭" style:UIBarButtonItemStyleDone target:self action:@selector(close)]; 25 | } 26 | 27 | - (void)close 28 | { 29 | if (self.presentingViewController) { 30 | [self dismissViewControllerAnimated:YES completion:nil]; 31 | } else { 32 | [self.navigationController popViewControllerAnimated:YES]; 33 | } 34 | } 35 | 36 | @end 37 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/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 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/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 | /** 自动根据有无数据来显示和隐藏(有数据就显示,没有数据隐藏。默认是NO) */ 29 | @property (assign, nonatomic, getter=isAutomaticallyHidden) BOOL automaticallyHidden; 30 | @end 31 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Build/iOS/MJRefresh.framework/Headers/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 | /** 自动根据有无数据来显示和隐藏(有数据就显示,没有数据隐藏。默认是NO) */ 29 | @property (assign, nonatomic, getter=isAutomaticallyHidden) BOOL automaticallyHidden; 30 | @end 31 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Classes/DIY/MJChiBaoZiFooter2.m: -------------------------------------------------------------------------------- 1 | // 2 | // MJChiBaoZiFooter2.m 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/6/12. 6 | // Copyright © 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJChiBaoZiFooter2.h" 10 | 11 | @implementation MJChiBaoZiFooter2 12 | #pragma mark - 重写方法 13 | #pragma mark 基本设置 14 | - (void)prepare 15 | { 16 | [super prepare]; 17 | 18 | // 设置普通状态的动画图片 19 | NSMutableArray *idleImages = [NSMutableArray array]; 20 | for (NSUInteger i = 1; i<=60; i++) { 21 | UIImage *image = [UIImage imageNamed:[NSString stringWithFormat:@"dropdown_anim__000%zd", i]]; 22 | [idleImages addObject:image]; 23 | } 24 | [self setImages:idleImages forState:MJRefreshStateIdle]; 25 | 26 | // 设置即将刷新状态的动画图片(一松开就会刷新的状态) 27 | NSMutableArray *refreshingImages = [NSMutableArray array]; 28 | for (NSUInteger i = 1; i<=3; i++) { 29 | UIImage *image = [UIImage imageNamed:[NSString stringWithFormat:@"dropdown_loading_0%zd", i]]; 30 | [refreshingImages addObject:image]; 31 | } 32 | [self setImages:refreshingImages forState:MJRefreshStatePulling]; 33 | 34 | // 设置正在刷新状态的动画图片 35 | [self setImages:refreshingImages forState:MJRefreshStateRefreshing]; 36 | } 37 | @end 38 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Classes/DIY/MJChiBaoZiHeader.m: -------------------------------------------------------------------------------- 1 | // 2 | // MJChiBaoZiHeader.m 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/6/12. 6 | // Copyright © 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJChiBaoZiHeader.h" 10 | 11 | @implementation MJChiBaoZiHeader 12 | #pragma mark - 重写方法 13 | #pragma mark 基本设置 14 | - (void)prepare 15 | { 16 | [super prepare]; 17 | 18 | // 设置普通状态的动画图片 19 | NSMutableArray *idleImages = [NSMutableArray array]; 20 | for (NSUInteger i = 1; i<=60; i++) { 21 | UIImage *image = [UIImage imageNamed:[NSString stringWithFormat:@"dropdown_anim__000%zd", i]]; 22 | [idleImages addObject:image]; 23 | } 24 | [self setImages:idleImages forState:MJRefreshStateIdle]; 25 | 26 | // 设置即将刷新状态的动画图片(一松开就会刷新的状态) 27 | NSMutableArray *refreshingImages = [NSMutableArray array]; 28 | for (NSUInteger i = 1; i<=3; i++) { 29 | UIImage *image = [UIImage imageNamed:[NSString stringWithFormat:@"dropdown_loading_0%zd", i]]; 30 | [refreshingImages addObject:image]; 31 | } 32 | [self setImages:refreshingImages forState:MJRefreshStatePulling]; 33 | 34 | // 设置正在刷新状态的动画图片 35 | [self setImages:refreshingImages forState:MJRefreshStateRefreshing]; 36 | } 37 | @end 38 | -------------------------------------------------------------------------------- /AlipayDemo/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 | CFBundleVersion 20 | 1 21 | LSRequiresIPhoneOS 22 | 23 | UILaunchStoryboardName 24 | LaunchScreen 25 | UIMainStoryboardFile 26 | Main 27 | UIRequiredDeviceCapabilities 28 | 29 | armv7 30 | 31 | UISupportedInterfaceOrientations 32 | 33 | UIInterfaceOrientationPortrait 34 | UIInterfaceOrientationLandscapeLeft 35 | UIInterfaceOrientationLandscapeRight 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Classes/Second/MJTestViewController.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /AlipayDemoUITests/AlipayDemoUITests.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AlipayDemoUITests.swift 3 | // AlipayDemoUITests 4 | // 5 | // Created by Lanmeihui on 10/9/16. 6 | // Copyright © 2016 See. All rights reserved. 7 | // 8 | 9 | import XCTest 10 | 11 | class AlipayDemoUITests: XCTestCase { 12 | 13 | override func setUp() { 14 | super.setUp() 15 | 16 | // Put setup code here. This method is called before the invocation of each test method in the class. 17 | 18 | // In UI tests it is usually best to stop immediately when a failure occurs. 19 | continueAfterFailure = false 20 | // UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method. 21 | XCUIApplication().launch() 22 | 23 | // 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. 24 | } 25 | 26 | override func tearDown() { 27 | // Put teardown code here. This method is called after the invocation of each test method in the class. 28 | super.tearDown() 29 | } 30 | 31 | func testExample() { 32 | // Use recording to get started writing UI tests. 33 | // Use XCTAssert and related functions to verify your tests produce the correct results. 34 | } 35 | 36 | } 37 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Classes/First/MJNavigationController.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 | // MJNavigationController.m 4 | // MJRefreshExample 5 | // 6 | // Created by MJ Lee on 15/3/5. 7 | // Copyright (c) 2015年 小码哥. All rights reserved. 8 | // 9 | 10 | #import "MJNavigationController.h" 11 | // 判断是否为iOS7 12 | #define iOS7 ([[[UIDevice currentDevice] systemVersion] floatValue] >= 7.0) 13 | 14 | @implementation MJNavigationController 15 | 16 | #pragma mark 一个类只会调用一次 17 | + (void)initialize 18 | { 19 | // 1.取出设置主题的对象 20 | UINavigationBar *navBar = [UINavigationBar appearanceWhenContainedIn:[MJNavigationController class], nil]; 21 | 22 | // 2.设置导航栏的背景图片 23 | NSString *navBarBg = nil; 24 | if (iOS7) { // iOS7 25 | navBarBg = @"NavBar64"; 26 | navBar.tintColor = [UIColor whiteColor]; 27 | } else { // 非iOS7 28 | navBarBg = @"NavBar"; 29 | } 30 | [navBar setBackgroundImage:[UIImage imageNamed:navBarBg] forBarMetrics:UIBarMetricsDefault]; 31 | 32 | // 3.标题 33 | #ifdef __IPHONE_7_0 34 | [navBar setTitleTextAttributes:@{NSForegroundColorAttributeName : [UIColor whiteColor]}]; 35 | #else 36 | [navBar setTitleTextAttributes:@{UITextAttributeTextColor : [UIColor whiteColor]}]; 37 | #endif 38 | } 39 | @end 40 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Images.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 | "size" : "60x60", 25 | "idiom" : "iphone", 26 | "filename" : "AppIcon@2x.png", 27 | "scale" : "2x" 28 | }, 29 | { 30 | "idiom" : "iphone", 31 | "size" : "60x60", 32 | "scale" : "3x" 33 | }, 34 | { 35 | "idiom" : "ipad", 36 | "size" : "29x29", 37 | "scale" : "1x" 38 | }, 39 | { 40 | "idiom" : "ipad", 41 | "size" : "29x29", 42 | "scale" : "2x" 43 | }, 44 | { 45 | "idiom" : "ipad", 46 | "size" : "40x40", 47 | "scale" : "1x" 48 | }, 49 | { 50 | "idiom" : "ipad", 51 | "size" : "40x40", 52 | "scale" : "2x" 53 | }, 54 | { 55 | "idiom" : "ipad", 56 | "size" : "76x76", 57 | "scale" : "1x" 58 | }, 59 | { 60 | "idiom" : "ipad", 61 | "size" : "76x76", 62 | "scale" : "2x" 63 | }, 64 | { 65 | "idiom" : "ipad", 66 | "size" : "83.5x83.5", 67 | "scale" : "2x" 68 | } 69 | ], 70 | "info" : { 71 | "version" : 1, 72 | "author" : "xcode" 73 | } 74 | } -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/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 | MJRefresh 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | NSAppTransportSecurity 26 | 27 | NSAllowsArbitraryLoads 28 | 29 | 30 | UILaunchStoryboardName 31 | LaunchScreen 32 | UIMainStoryboardFile 33 | Main 34 | UIRequiredDeviceCapabilities 35 | 36 | armv7 37 | 38 | UISupportedInterfaceOrientations 39 | 40 | UIInterfaceOrientationPortrait 41 | UIInterfaceOrientationLandscapeLeft 42 | UIInterfaceOrientationLandscapeRight 43 | 44 | UISupportedInterfaceOrientations~ipad 45 | 46 | UIInterfaceOrientationPortrait 47 | UIInterfaceOrientationPortraitUpsideDown 48 | UIInterfaceOrientationLandscapeLeft 49 | UIInterfaceOrientationLandscapeRight 50 | 51 | 52 | 53 | -------------------------------------------------------------------------------- /AlipayDemo/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 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/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 | -------------------------------------------------------------------------------- /AlipayDemo/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/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 MJRefreshLabelLeftInset = 25; 6 | const CGFloat MJRefreshHeaderHeight = 54.0; 7 | const CGFloat MJRefreshFooterHeight = 44.0; 8 | const CGFloat MJRefreshFastAnimationDuration = 0.25; 9 | const CGFloat MJRefreshSlowAnimationDuration = 0.4; 10 | 11 | NSString *const MJRefreshKeyPathContentOffset = @"contentOffset"; 12 | NSString *const MJRefreshKeyPathContentInset = @"contentInset"; 13 | NSString *const MJRefreshKeyPathContentSize = @"contentSize"; 14 | NSString *const MJRefreshKeyPathPanState = @"state"; 15 | 16 | NSString *const MJRefreshHeaderLastUpdatedTimeKey = @"MJRefreshHeaderLastUpdatedTimeKey"; 17 | 18 | NSString *const MJRefreshHeaderIdleText = @"MJRefreshHeaderIdleText"; 19 | NSString *const MJRefreshHeaderPullingText = @"MJRefreshHeaderPullingText"; 20 | NSString *const MJRefreshHeaderRefreshingText = @"MJRefreshHeaderRefreshingText"; 21 | 22 | NSString *const MJRefreshAutoFooterIdleText = @"MJRefreshAutoFooterIdleText"; 23 | NSString *const MJRefreshAutoFooterRefreshingText = @"MJRefreshAutoFooterRefreshingText"; 24 | NSString *const MJRefreshAutoFooterNoMoreDataText = @"MJRefreshAutoFooterNoMoreDataText"; 25 | 26 | NSString *const MJRefreshBackFooterIdleText = @"MJRefreshBackFooterIdleText"; 27 | NSString *const MJRefreshBackFooterPullingText = @"MJRefreshBackFooterPullingText"; 28 | NSString *const MJRefreshBackFooterRefreshingText = @"MJRefreshBackFooterRefreshingText"; 29 | NSString *const MJRefreshBackFooterNoMoreDataText = @"MJRefreshBackFooterNoMoreDataText"; 30 | 31 | NSString *const MJRefreshHeaderLastTimeText = @"MJRefreshHeaderLastTimeText"; 32 | NSString *const MJRefreshHeaderDateTodayText = @"MJRefreshHeaderDateTodayText"; 33 | NSString *const MJRefreshHeaderNoneLastDateText = @"MJRefreshHeaderNoneLastDateText"; -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/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 mark - 重写父类的方法 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 -= self.stateLabel.mj_textWith * 0.5 + self.labelLeftInset; 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 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/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 = NO; 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 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Classes/Second/MJWebViewViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // MJWebViewViewController.m 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/3/12. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJWebViewViewController.h" 10 | #import "UIViewController+Example.h" 11 | #import "MJRefresh.h" 12 | 13 | @interface MJWebViewViewController () 14 | @property (weak, nonatomic) IBOutlet UIWebView *webView; 15 | @end 16 | 17 | @implementation MJWebViewViewController 18 | #pragma mark - 示例 19 | - (void)example31 20 | { 21 | __weak UIWebView *webView = self.webView; 22 | webView.delegate = self; 23 | 24 | __weak UIScrollView *scrollView = self.webView.scrollView; 25 | 26 | // 添加下拉刷新控件 27 | scrollView.mj_header= [MJRefreshNormalHeader headerWithRefreshingBlock:^{ 28 | [webView reload]; 29 | }]; 30 | 31 | // 如果是上拉刷新,就以此类推 32 | } 33 | 34 | #pragma mark - webViewDelegate 35 | - (void)webViewDidFinishLoad:(nonnull UIWebView *)webView 36 | { 37 | [self.webView.scrollView.mj_header endRefreshing]; 38 | } 39 | 40 | #pragma mark - 其他 41 | - (void)viewDidLoad { 42 | [super viewDidLoad]; 43 | 44 | // 加载页面 45 | [self.webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://weibo.com/exceptions"]]]; 46 | 47 | #pragma clang diagnostic push 48 | #pragma clang diagnostic ignored "-Warc-performSelector-leaks" 49 | [self performSelector:NSSelectorFromString(self.method) withObject:nil]; 50 | #pragma clang diagnostic pop 51 | } 52 | 53 | - (void)viewWillAppear:(BOOL)animated 54 | { 55 | [super viewWillAppear:animated]; 56 | 57 | [self.navigationController setNavigationBarHidden:YES animated:YES]; 58 | 59 | [self setNeedsStatusBarAppearanceUpdate]; 60 | } 61 | 62 | - (void)viewWillDisappear:(BOOL)animated 63 | { 64 | [super viewWillDisappear:animated]; 65 | 66 | [self.navigationController setNavigationBarHidden:NO animated:YES]; 67 | } 68 | 69 | - (BOOL)prefersStatusBarHidden 70 | { 71 | return YES; 72 | } 73 | 74 | - (IBAction)back { 75 | [self.navigationController popViewControllerAnimated:YES]; 76 | } 77 | 78 | @end 79 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefresh/NSBundle+MJRefresh.m: -------------------------------------------------------------------------------- 1 | // 2 | // NSBundle+MJRefresh.m 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 16/6/13. 6 | // Copyright © 2016年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "NSBundle+MJRefresh.h" 10 | #import "MJRefreshComponent.h" 11 | 12 | @implementation NSBundle (MJRefresh) 13 | + (instancetype)mj_refreshBundle 14 | { 15 | static NSBundle *refreshBundle = nil; 16 | if (refreshBundle == nil) { 17 | // 这里不使用mainBundle是为了适配pod 1.x和0.x 18 | refreshBundle = [NSBundle bundleWithPath:[[NSBundle bundleForClass:[MJRefreshComponent class]] pathForResource:@"MJRefresh" ofType:@"bundle"]]; 19 | } 20 | return refreshBundle; 21 | } 22 | 23 | + (UIImage *)mj_arrowImage 24 | { 25 | static UIImage *arrowImage = nil; 26 | if (arrowImage == nil) { 27 | arrowImage = [[UIImage imageWithContentsOfFile:[[self mj_refreshBundle] pathForResource:@"arrow@2x" ofType:@"png"]] imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate]; 28 | } 29 | return arrowImage; 30 | } 31 | 32 | + (NSString *)mj_localizedStringForKey:(NSString *)key 33 | { 34 | return [self mj_localizedStringForKey:key value:nil]; 35 | } 36 | 37 | + (NSString *)mj_localizedStringForKey:(NSString *)key value:(NSString *)value 38 | { 39 | static NSBundle *bundle = nil; 40 | if (bundle == nil) { 41 | // (iOS获取的语言字符串比较不稳定)目前框架只处理en、zh-Hans、zh-Hant三种情况,其他按照系统默认处理 42 | NSString *language = [NSLocale preferredLanguages].firstObject; 43 | if ([language hasPrefix:@"en"]) { 44 | language = @"en"; 45 | } else if ([language hasPrefix:@"zh"]) { 46 | if ([language rangeOfString:@"Hans"].location != NSNotFound) { 47 | language = @"zh-Hans"; // 简体中文 48 | } else { // zh-Hant\zh-HK\zh-TW 49 | language = @"zh-Hant"; // 繁體中文 50 | } 51 | } else { 52 | language = @"en"; 53 | } 54 | 55 | // 从MJRefresh.bundle中查找资源 56 | bundle = [NSBundle bundleWithPath:[[NSBundle mj_refreshBundle] pathForResource:language ofType:@"lproj"]]; 57 | } 58 | value = [bundle localizedStringForKey:key value:value table:nil]; 59 | return [[NSBundle mainBundle] localizedStringForKey:key value:value table:nil]; 60 | } 61 | @end 62 | -------------------------------------------------------------------------------- /AlipayDemo/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // AlipayDemo 4 | // 5 | // Created by See on 10/9/16. 6 | // Copyright © 2016 See. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | @UIApplicationMain 12 | class AppDelegate: UIResponder, UIApplicationDelegate { 13 | 14 | var window: UIWindow? 15 | 16 | 17 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { 18 | // Override point for customization after application launch. 19 | return true 20 | } 21 | 22 | func applicationWillResignActive(_ application: UIApplication) { 23 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 24 | // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game. 25 | } 26 | 27 | func applicationDidEnterBackground(_ application: UIApplication) { 28 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 29 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 30 | } 31 | 32 | func applicationWillEnterForeground(_ application: UIApplication) { 33 | // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background. 34 | } 35 | 36 | func applicationDidBecomeActive(_ application: UIApplication) { 37 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 38 | } 39 | 40 | func applicationWillTerminate(_ application: UIApplication) { 41 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 42 | } 43 | 44 | 45 | } 46 | 47 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/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 mj_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.labelLeftInset = MJRefreshLabelLeftInset; 57 | 58 | // 初始化文字 59 | [self setTitle:[NSBundle mj_localizedStringForKey:MJRefreshBackFooterIdleText] forState:MJRefreshStateIdle]; 60 | [self setTitle:[NSBundle mj_localizedStringForKey:MJRefreshBackFooterPullingText] forState:MJRefreshStatePulling]; 61 | [self setTitle:[NSBundle mj_localizedStringForKey:MJRefreshBackFooterRefreshingText] forState:MJRefreshStateRefreshing]; 62 | [self setTitle:[NSBundle mj_localizedStringForKey:MJRefreshBackFooterNoMoreDataText] forState:MJRefreshStateNoMoreData]; 63 | } 64 | 65 | - (void)placeSubviews 66 | { 67 | [super placeSubviews]; 68 | 69 | if (self.stateLabel.constraints.count) return; 70 | 71 | // 状态标签 72 | self.stateLabel.frame = self.bounds; 73 | } 74 | 75 | - (void)setState:(MJRefreshState)state 76 | { 77 | MJRefreshCheckState 78 | 79 | // 设置状态文字 80 | self.stateLabel.text = self.stateTitles[@(state)]; 81 | } 82 | @end 83 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Classes/Other/AppDelegate.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 | // AppDelegate.m 4 | // MJRefreshExample 5 | // 6 | // Created by MJ Lee on 15/3/4. 7 | // Copyright (c) 2015年 小码哥. All rights reserved. 8 | // 9 | 10 | #import "AppDelegate.h" 11 | #import "MJExampleWindow.h" 12 | 13 | @interface AppDelegate () 14 | @end 15 | 16 | @implementation AppDelegate 17 | 18 | 19 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { 20 | 21 | return YES; 22 | } 23 | 24 | - (void)applicationWillResignActive:(UIApplication *)application { 25 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 26 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 27 | } 28 | 29 | - (void)applicationDidEnterBackground:(UIApplication *)application { 30 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 31 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 32 | } 33 | 34 | - (void)applicationWillEnterForeground:(UIApplication *)application { 35 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 36 | } 37 | 38 | - (void)applicationDidBecomeActive:(UIApplication *)application { 39 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 40 | static dispatch_once_t onceToken; 41 | dispatch_once(&onceToken, ^{ 42 | [MJExampleWindow show]; 43 | }); 44 | } 45 | 46 | - (void)applicationWillTerminate:(UIApplication *)application { 47 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 48 | } 49 | 50 | @end 51 | -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- 1 | # 支付宝 9.x 版本首页效果 2 | 3 | 对于新版支付宝首页的产品功能这里就不说什么了,一大堆人吐槽,我们只想要一个好好的支付工具,阿里硬是要融入社交... 4 | 5 | 今天这里不是来评论支付宝功能的,而是作为一个iOS开发人员在使用的过程中发现,首页这滑动好“怪异”啊~~ 6 | 7 | ![](http://odumpn7vt.bkt.clouddn.com/Screen%20Shot%202016-10-11%20at%20%20PM.png) 8 | 9 | 首先,右侧的滚动条的位置好怪!为什么在中间?只能说明一个问题,这个tableview是从这里开始的。 10 | 11 | 其次,既然tableview在中间开始,那上面那一片view是如何滚动的(从滚动条可以看出不是tableviewheader)?而且和tableview做到无缝衔接。 12 | 13 | 再次,滑动tableview上面那块view,直接响应滑动。 14 | 15 | 16 | 通过上面种种奇怪的现象,于是我决定针对这个效果些一个demo来玩玩。 17 | 18 | 19 | ![](http://odumpn7vt.bkt.clouddn.com/Kapture%202016-11-03%20at%2017.56.59.gif) 20 | 21 | demo地址: [https://github.com/seedotlee/AlipayIndexDemo](https://github.com/seedotlee/AlipayIndexDemo) 22 | 23 | 因为是demo嘛,所以代码就尽量简单,处理就基本只放在一个class中,这样比较容易理解,大家就不要吐槽这一块了~~~ 24 | 25 | ## 关键点 26 | 27 | 经过我反复实验,还是 UIScrollView + UITableView 的方式实现最靠谱,那问题来了,如何处理两个ScrollView的滑动冲突? 28 | 29 | 答案就是关掉一个滑动!当然就是关掉tableview的滑动,通过外层scrollview的offset来直接控制tableview的滑动,关键代码: 30 | 31 | ``` 32 | 33 | func scrollViewDidScroll(_ scrollView: UIScrollView) { 34 | 35 | let y = scrollView.contentOffset.y 36 | if y <= 0 { 37 | var newFrame = self.headerView.frame 38 | newFrame.origin.y = y 39 | self.headerView.frame = newFrame 40 | 41 | newFrame = self.mainTableView.frame 42 | newFrame.origin.y = y + topOffsetY 43 | self.mainTableView.frame = newFrame 44 | 45 | //偏移量给到tableview,tableview自己来滑动 46 | self.mainTableView.setScrollViewContentOffSet(point: CGPoint(x: 0, y: y)) 47 | 48 | //功能区状态回归 49 | newFrame = self.functionHeaderView.frame 50 | newFrame.origin.y = 0 51 | self.functionHeaderView.frame = newFrame 52 | 53 | } else if y < functionHeaderViewHeight && y > 0{ 54 | //处理功能区隐藏和视差 55 | var newFrame = self.functionHeaderView.frame 56 | newFrame.origin.y = y/2 57 | self.functionHeaderView.frame = newFrame 58 | 59 | //处理透明度 60 | let alpha = (1 - y/functionHeaderViewHeight*2.5 ) > 0 ? (1 - y/functionHeaderViewHeight*2.5 ) : 0 61 | 62 | functionHeaderView.alpha = alpha 63 | if alpha > 0.5 { 64 | let newAlpha = alpha*2 - 1 65 | mainNavView.alpha = newAlpha 66 | coverNavView.alpha = 0 67 | } else { 68 | let newAlpha = alpha*2 69 | mainNavView.alpha = 0 70 | coverNavView.alpha = 1 - newAlpha 71 | } 72 | 73 | } 74 | 75 | 76 | } 77 | 78 | ``` 79 | 80 | 这里的关键就是当想上滑动的时候,实际就是滑动最外层的scrollview,然而想下滑动到顶的时候仅仅只讲offset传递给tableview让其继续滚动。 81 | 82 | tableview嵌入方式借鉴了: 83 | 84 | https://github.com/Zhanggaoyi92/Alipay-8.11-update-demo 85 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/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 mj_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.labelLeftInset = MJRefreshLabelLeftInset; 61 | 62 | // 初始化文字 63 | [self setTitle:[NSBundle mj_localizedStringForKey:MJRefreshAutoFooterIdleText] forState:MJRefreshStateIdle]; 64 | [self setTitle:[NSBundle mj_localizedStringForKey:MJRefreshAutoFooterRefreshingText] forState:MJRefreshStateRefreshing]; 65 | [self setTitle:[NSBundle mj_localizedStringForKey:MJRefreshAutoFooterNoMoreDataText] forState:MJRefreshStateNoMoreData]; 66 | 67 | // 监听label 68 | self.stateLabel.userInteractionEnabled = YES; 69 | [self.stateLabel addGestureRecognizer:[[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(stateLabelClick)]]; 70 | } 71 | 72 | - (void)placeSubviews 73 | { 74 | [super placeSubviews]; 75 | 76 | if (self.stateLabel.constraints.count) return; 77 | 78 | // 状态标签 79 | self.stateLabel.frame = self.bounds; 80 | } 81 | 82 | - (void)setState:(MJRefreshState)state 83 | { 84 | MJRefreshCheckState 85 | 86 | if (self.isRefreshingTitleHidden && state == MJRefreshStateRefreshing) { 87 | self.stateLabel.text = nil; 88 | } else { 89 | self.stateLabel.text = self.stateTitles[@(state)]; 90 | } 91 | } 92 | @end -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefresh/MJRefreshConst.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 | #import 4 | #import 5 | 6 | // 弱引用 7 | #define MJWeakSelf __weak typeof(self) weakSelf = self; 8 | 9 | // 日志输出 10 | #ifdef DEBUG 11 | #define MJRefreshLog(...) NSLog(__VA_ARGS__) 12 | #else 13 | #define MJRefreshLog(...) 14 | #endif 15 | 16 | // 过期提醒 17 | #define MJRefreshDeprecated(instead) NS_DEPRECATED(2_0, 2_0, 2_0, 2_0, instead) 18 | 19 | // 运行时objc_msgSend 20 | #define MJRefreshMsgSend(...) ((void (*)(void *, SEL, UIView *))objc_msgSend)(__VA_ARGS__) 21 | #define MJRefreshMsgTarget(target) (__bridge void *)(target) 22 | 23 | // RGB颜色 24 | #define MJRefreshColor(r, g, b) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:1.0] 25 | 26 | // 文字颜色 27 | #define MJRefreshLabelTextColor MJRefreshColor(90, 90, 90) 28 | 29 | // 字体大小 30 | #define MJRefreshLabelFont [UIFont boldSystemFontOfSize:14] 31 | 32 | // 常量 33 | UIKIT_EXTERN const CGFloat MJRefreshLabelLeftInset; 34 | UIKIT_EXTERN const CGFloat MJRefreshHeaderHeight; 35 | UIKIT_EXTERN const CGFloat MJRefreshFooterHeight; 36 | UIKIT_EXTERN const CGFloat MJRefreshFastAnimationDuration; 37 | UIKIT_EXTERN const CGFloat MJRefreshSlowAnimationDuration; 38 | 39 | UIKIT_EXTERN NSString *const MJRefreshKeyPathContentOffset; 40 | UIKIT_EXTERN NSString *const MJRefreshKeyPathContentSize; 41 | UIKIT_EXTERN NSString *const MJRefreshKeyPathContentInset; 42 | UIKIT_EXTERN NSString *const MJRefreshKeyPathPanState; 43 | 44 | UIKIT_EXTERN NSString *const MJRefreshHeaderLastUpdatedTimeKey; 45 | 46 | UIKIT_EXTERN NSString *const MJRefreshHeaderIdleText; 47 | UIKIT_EXTERN NSString *const MJRefreshHeaderPullingText; 48 | UIKIT_EXTERN NSString *const MJRefreshHeaderRefreshingText; 49 | 50 | UIKIT_EXTERN NSString *const MJRefreshAutoFooterIdleText; 51 | UIKIT_EXTERN NSString *const MJRefreshAutoFooterRefreshingText; 52 | UIKIT_EXTERN NSString *const MJRefreshAutoFooterNoMoreDataText; 53 | 54 | UIKIT_EXTERN NSString *const MJRefreshBackFooterIdleText; 55 | UIKIT_EXTERN NSString *const MJRefreshBackFooterPullingText; 56 | UIKIT_EXTERN NSString *const MJRefreshBackFooterRefreshingText; 57 | UIKIT_EXTERN NSString *const MJRefreshBackFooterNoMoreDataText; 58 | 59 | UIKIT_EXTERN NSString *const MJRefreshHeaderLastTimeText; 60 | UIKIT_EXTERN NSString *const MJRefreshHeaderDateTodayText; 61 | UIKIT_EXTERN NSString *const MJRefreshHeaderNoneLastDateText; 62 | 63 | // 状态检查 64 | #define MJRefreshCheckState \ 65 | MJRefreshState oldState = self.state; \ 66 | if (state == oldState) return; \ 67 | [super setState:state]; 68 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Build/iOS/MJRefresh.framework/Headers/MJRefreshConst.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 | #import 4 | #import 5 | 6 | // 弱引用 7 | #define MJWeakSelf __weak typeof(self) weakSelf = self; 8 | 9 | // 日志输出 10 | #ifdef DEBUG 11 | #define MJRefreshLog(...) NSLog(__VA_ARGS__) 12 | #else 13 | #define MJRefreshLog(...) 14 | #endif 15 | 16 | // 过期提醒 17 | #define MJRefreshDeprecated(instead) NS_DEPRECATED(2_0, 2_0, 2_0, 2_0, instead) 18 | 19 | // 运行时objc_msgSend 20 | #define MJRefreshMsgSend(...) ((void (*)(void *, SEL, UIView *))objc_msgSend)(__VA_ARGS__) 21 | #define MJRefreshMsgTarget(target) (__bridge void *)(target) 22 | 23 | // RGB颜色 24 | #define MJRefreshColor(r, g, b) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:1.0] 25 | 26 | // 文字颜色 27 | #define MJRefreshLabelTextColor MJRefreshColor(90, 90, 90) 28 | 29 | // 字体大小 30 | #define MJRefreshLabelFont [UIFont boldSystemFontOfSize:14] 31 | 32 | // 常量 33 | UIKIT_EXTERN const CGFloat MJRefreshLabelLeftInset; 34 | UIKIT_EXTERN const CGFloat MJRefreshHeaderHeight; 35 | UIKIT_EXTERN const CGFloat MJRefreshFooterHeight; 36 | UIKIT_EXTERN const CGFloat MJRefreshFastAnimationDuration; 37 | UIKIT_EXTERN const CGFloat MJRefreshSlowAnimationDuration; 38 | 39 | UIKIT_EXTERN NSString *const MJRefreshKeyPathContentOffset; 40 | UIKIT_EXTERN NSString *const MJRefreshKeyPathContentSize; 41 | UIKIT_EXTERN NSString *const MJRefreshKeyPathContentInset; 42 | UIKIT_EXTERN NSString *const MJRefreshKeyPathPanState; 43 | 44 | UIKIT_EXTERN NSString *const MJRefreshHeaderLastUpdatedTimeKey; 45 | 46 | UIKIT_EXTERN NSString *const MJRefreshHeaderIdleText; 47 | UIKIT_EXTERN NSString *const MJRefreshHeaderPullingText; 48 | UIKIT_EXTERN NSString *const MJRefreshHeaderRefreshingText; 49 | 50 | UIKIT_EXTERN NSString *const MJRefreshAutoFooterIdleText; 51 | UIKIT_EXTERN NSString *const MJRefreshAutoFooterRefreshingText; 52 | UIKIT_EXTERN NSString *const MJRefreshAutoFooterNoMoreDataText; 53 | 54 | UIKIT_EXTERN NSString *const MJRefreshBackFooterIdleText; 55 | UIKIT_EXTERN NSString *const MJRefreshBackFooterPullingText; 56 | UIKIT_EXTERN NSString *const MJRefreshBackFooterRefreshingText; 57 | UIKIT_EXTERN NSString *const MJRefreshBackFooterNoMoreDataText; 58 | 59 | UIKIT_EXTERN NSString *const MJRefreshHeaderLastTimeText; 60 | UIKIT_EXTERN NSString *const MJRefreshHeaderDateTodayText; 61 | UIKIT_EXTERN NSString *const MJRefreshHeaderNoneLastDateText; 62 | 63 | // 状态检查 64 | #define MJRefreshCheckState \ 65 | MJRefreshState oldState = self.state; \ 66 | if (state == oldState) return; \ 67 | [super setState:state]; 68 | -------------------------------------------------------------------------------- /AlipayDemo/IndexTableView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // IndexTableView.swift 3 | // AlipayDemo 4 | // 5 | // Created by See on 10/10/16. 6 | // Copyright © 2016 See. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import MJRefresh 11 | 12 | class IndexTableView: UITableView,UITableViewDelegate,UITableViewDataSource { 13 | 14 | /* 15 | // Only override draw() if you perform custom drawing. 16 | // An empty implementation adversely affects performance during animation. 17 | override func draw(_ rect: CGRect) { 18 | // Drawing code 19 | } 20 | */ 21 | var numberRows:Int = 50 22 | 23 | var changeContentSize:((_ contentSize:CGSize)->())? 24 | 25 | 26 | override init(frame: CGRect, style: UITableViewStyle) { 27 | super.init(frame: frame, style: style) 28 | self.delegate = self 29 | self.dataSource = self 30 | self.rowHeight = (1000 - 140) / 20; 31 | self.contentInset = UIEdgeInsets(top: 0, left: 0, bottom: 0, right: 0) 32 | self.mj_header = MJRefreshNormalHeader { [weak self] in 33 | guard let weak = self else {return} 34 | 35 | DispatchQueue.main.asyncAfter(deadline: .now() + .seconds(1), execute: { 36 | // Put your code which should be executed with a delay here 37 | weak.mj_header.endRefreshing() 38 | weak.reloadData() 39 | 40 | }) 41 | } 42 | 43 | } 44 | 45 | required init?(coder aDecoder: NSCoder) { 46 | fatalError("init(coder:) has not been implemented") 47 | } 48 | 49 | func loadeMoreData() { 50 | 51 | self.numberRows += 10 52 | self.reloadData() 53 | self.changeContentSize?(self.contentSize) 54 | 55 | } 56 | 57 | func setScrollViewContentOffSet(point:CGPoint) { 58 | if !self.mj_header.isRefreshing() { 59 | self.contentOffset = point 60 | } 61 | } 62 | 63 | //UITableViewDataSource 64 | 65 | func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { 66 | 67 | if let cell = tableView.dequeueReusableCell(withIdentifier: "cell") { 68 | 69 | cell.textLabel?.text = "\(indexPath.row) - reusablecell" 70 | return cell 71 | } else { 72 | 73 | let cell = UITableViewCell(style: UITableViewCellStyle.default, reuseIdentifier: "cell") 74 | cell.textLabel?.text = "\(indexPath.row)" 75 | 76 | return cell 77 | } 78 | 79 | } 80 | 81 | func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { 82 | return numberRows 83 | } 84 | } 85 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefresh/UIScrollView+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 | // UIScrollView+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 "UIScrollView+MJExtension.h" 11 | #import 12 | 13 | @implementation UIScrollView (MJExtension) 14 | 15 | - (void)setMj_insetT:(CGFloat)mj_insetT 16 | { 17 | UIEdgeInsets inset = self.contentInset; 18 | inset.top = mj_insetT; 19 | self.contentInset = inset; 20 | } 21 | 22 | - (CGFloat)mj_insetT 23 | { 24 | return self.contentInset.top; 25 | } 26 | 27 | - (void)setMj_insetB:(CGFloat)mj_insetB 28 | { 29 | UIEdgeInsets inset = self.contentInset; 30 | inset.bottom = mj_insetB; 31 | self.contentInset = inset; 32 | } 33 | 34 | - (CGFloat)mj_insetB 35 | { 36 | return self.contentInset.bottom; 37 | } 38 | 39 | - (void)setMj_insetL:(CGFloat)mj_insetL 40 | { 41 | UIEdgeInsets inset = self.contentInset; 42 | inset.left = mj_insetL; 43 | self.contentInset = inset; 44 | } 45 | 46 | - (CGFloat)mj_insetL 47 | { 48 | return self.contentInset.left; 49 | } 50 | 51 | - (void)setMj_insetR:(CGFloat)mj_insetR 52 | { 53 | UIEdgeInsets inset = self.contentInset; 54 | inset.right = mj_insetR; 55 | self.contentInset = inset; 56 | } 57 | 58 | - (CGFloat)mj_insetR 59 | { 60 | return self.contentInset.right; 61 | } 62 | 63 | - (void)setMj_offsetX:(CGFloat)mj_offsetX 64 | { 65 | CGPoint offset = self.contentOffset; 66 | offset.x = mj_offsetX; 67 | self.contentOffset = offset; 68 | } 69 | 70 | - (CGFloat)mj_offsetX 71 | { 72 | return self.contentOffset.x; 73 | } 74 | 75 | - (void)setMj_offsetY:(CGFloat)mj_offsetY 76 | { 77 | CGPoint offset = self.contentOffset; 78 | offset.y = mj_offsetY; 79 | self.contentOffset = offset; 80 | } 81 | 82 | - (CGFloat)mj_offsetY 83 | { 84 | return self.contentOffset.y; 85 | } 86 | 87 | - (void)setMj_contentW:(CGFloat)mj_contentW 88 | { 89 | CGSize size = self.contentSize; 90 | size.width = mj_contentW; 91 | self.contentSize = size; 92 | } 93 | 94 | - (CGFloat)mj_contentW 95 | { 96 | return self.contentSize.width; 97 | } 98 | 99 | - (void)setMj_contentH:(CGFloat)mj_contentH 100 | { 101 | CGSize size = self.contentSize; 102 | size.height = mj_contentH; 103 | self.contentSize = size; 104 | } 105 | 106 | - (CGFloat)mj_contentH 107 | { 108 | return self.contentSize.height; 109 | } 110 | @end 111 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Classes/First/MJSingleViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // MJSingleViewController.m 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/6/13. 6 | // Copyright © 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJSingleViewController.h" 10 | #import "MJTestViewController.h" 11 | #import "MJRefresh.h" 12 | 13 | @interface MJSingleViewController () 14 | @property (assign, nonatomic) int count; 15 | @end 16 | 17 | @implementation MJSingleViewController 18 | 19 | - (void)viewDidLoad { 20 | [super viewDidLoad]; 21 | 22 | self.count = 0; 23 | 24 | __unsafe_unretained typeof(self) weakSelf = self; 25 | __unsafe_unretained UITableView *tableView = self.tableView; 26 | 27 | tableView.mj_header= [MJRefreshNormalHeader headerWithRefreshingBlock:^{ 28 | dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(2.0 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{ 29 | weakSelf.count += 12; 30 | [tableView reloadData]; 31 | [tableView.mj_header endRefreshing]; 32 | }); 33 | }]; 34 | tableView.mj_header.automaticallyChangeAlpha = YES; 35 | 36 | MJRefreshAutoNormalFooter *footer = [MJRefreshAutoNormalFooter footerWithRefreshingBlock:^{ 37 | dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(2.0 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{ 38 | weakSelf.count += 5; 39 | [tableView reloadData]; 40 | [tableView.mj_footer endRefreshing]; 41 | }); 42 | }]; 43 | footer.hidden = YES; 44 | tableView.mj_footer = footer; 45 | } 46 | 47 | - (NSInteger)tableView:(nonnull UITableView *)tableView numberOfRowsInSection:(NSInteger)section 48 | { 49 | return self.count; 50 | } 51 | 52 | - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath 53 | { 54 | static NSString *ID = @"cell"; 55 | UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:ID]; 56 | if (cell == nil) { 57 | cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:ID]; 58 | } 59 | if (indexPath.row % 2 && self.navigationController) { 60 | cell.textLabel.text = @"push"; 61 | } else { 62 | cell.textLabel.text = @"modal"; 63 | } 64 | return cell; 65 | } 66 | 67 | - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath 68 | { 69 | MJTestViewController *test = [[MJTestViewController alloc] init]; 70 | if (indexPath.row % 2 && self.navigationController) { 71 | test.hidesBottomBarWhenPushed = YES; 72 | [self.navigationController pushViewController:test animated:YES]; 73 | } else { 74 | UINavigationController *nav = [[UINavigationController alloc] initWithRootViewController:test]; 75 | [self presentViewController:nav animated:YES completion:nil]; 76 | } 77 | } 78 | @end 79 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Classes/First/MJTempViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // MJTempViewController.m 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/9/22. 6 | // Copyright © 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJTempViewController.h" 10 | 11 | @interface MJTempViewController () 12 | 13 | @end 14 | 15 | @implementation MJTempViewController 16 | #pragma mark - 单例 17 | static id instance_; 18 | 19 | + (instancetype)sharedInstance 20 | { 21 | static dispatch_once_t onceToken; 22 | dispatch_once(&onceToken, ^{ 23 | instance_ = [[self alloc] init]; 24 | }); 25 | return instance_; 26 | } 27 | 28 | + (instancetype)allocWithZone:(struct _NSZone *)zone 29 | { 30 | static dispatch_once_t onceToken; 31 | dispatch_once(&onceToken, ^{ 32 | instance_ = [super allocWithZone:zone]; 33 | }); 34 | return instance_; 35 | } 36 | 37 | #pragma mark - 初始化 38 | - (void)viewDidLoad { 39 | [super viewDidLoad]; 40 | 41 | self.statusBarStyle = UIStatusBarStyleLightContent; 42 | 43 | self.view.backgroundColor = [UIColor clearColor]; 44 | 45 | UISegmentedControl *control = [[UISegmentedControl alloc] initWithItems:@[@"示例1", @"示例2", @"示例3"]]; 46 | control.tintColor = [UIColor orangeColor]; 47 | control.frame = self.view.bounds; 48 | control.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight; 49 | control.selectedSegmentIndex = 0; 50 | [control addTarget:self action:@selector(contorlSelect:) forControlEvents:UIControlEventValueChanged]; 51 | [self.view addSubview:control]; 52 | } 53 | 54 | - (void)contorlSelect:(UISegmentedControl *)control 55 | { 56 | UIWindow *keyWindow = [UIApplication sharedApplication].keyWindow; 57 | keyWindow.rootViewController = [keyWindow.rootViewController.storyboard instantiateViewControllerWithIdentifier:[NSString stringWithFormat:@"%zd", control.selectedSegmentIndex]]; 58 | 59 | if (control.selectedSegmentIndex == 0) { 60 | self.statusBarStyle = UIStatusBarStyleLightContent; 61 | self.statusBarHidden = NO; 62 | } else if (control.selectedSegmentIndex == 1) { 63 | self.statusBarHidden = YES; 64 | } else if (control.selectedSegmentIndex == 2) { 65 | self.statusBarStyle = UIStatusBarStyleDefault; 66 | self.statusBarHidden = NO; 67 | } 68 | } 69 | 70 | - (UIStatusBarStyle)preferredStatusBarStyle 71 | { 72 | return self.statusBarStyle; 73 | } 74 | 75 | - (BOOL)prefersStatusBarHidden 76 | { 77 | return self.statusBarHidden; 78 | } 79 | 80 | - (void)setStatusBarHidden:(BOOL)statusBarHidden 81 | { 82 | _statusBarHidden = statusBarHidden; 83 | 84 | [self setNeedsStatusBarAppearanceUpdate]; 85 | } 86 | 87 | - (void)setStatusBarStyle:(UIStatusBarStyle)statusBarStyle 88 | { 89 | _statusBarStyle = statusBarStyle; 90 | 91 | [self setNeedsStatusBarAppearanceUpdate]; 92 | } 93 | 94 | @end 95 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample/Classes/DIY/MJDIYAutoFooter.m: -------------------------------------------------------------------------------- 1 | // 2 | // MJDIYAutoFooter.m 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/6/13. 6 | // Copyright © 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJDIYAutoFooter.h" 10 | 11 | @interface MJDIYAutoFooter() 12 | @property (weak, nonatomic) UILabel *label; 13 | @property (weak, nonatomic) UISwitch *s; 14 | @property (weak, nonatomic) UIActivityIndicatorView *loading; 15 | @end 16 | 17 | @implementation MJDIYAutoFooter 18 | #pragma mark - 重写方法 19 | #pragma mark 在这里做一些初始化配置(比如添加子控件) 20 | - (void)prepare 21 | { 22 | [super prepare]; 23 | 24 | // 设置控件的高度 25 | self.mj_h = 50; 26 | 27 | // 添加label 28 | UILabel *label = [[UILabel alloc] init]; 29 | label.textColor = [UIColor colorWithRed:1.0 green:0.5 blue:0.0 alpha:1.0]; 30 | label.font = [UIFont boldSystemFontOfSize:16]; 31 | label.textAlignment = NSTextAlignmentCenter; 32 | [self addSubview:label]; 33 | self.label = label; 34 | 35 | // 打酱油的开关 36 | UISwitch *s = [[UISwitch alloc] init]; 37 | [self addSubview:s]; 38 | self.s = s; 39 | 40 | // loading 41 | UIActivityIndicatorView *loading = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleGray]; 42 | [self addSubview:loading]; 43 | self.loading = loading; 44 | } 45 | 46 | #pragma mark 在这里设置子控件的位置和尺寸 47 | - (void)placeSubviews 48 | { 49 | [super placeSubviews]; 50 | 51 | self.label.frame = self.bounds; 52 | self.s.center = CGPointMake(self.mj_w - 20, self.mj_h - 20); 53 | 54 | self.loading.center = CGPointMake(30, self.mj_h * 0.5); 55 | } 56 | 57 | #pragma mark 监听scrollView的contentOffset改变 58 | - (void)scrollViewContentOffsetDidChange:(NSDictionary *)change 59 | { 60 | [super scrollViewContentOffsetDidChange:change]; 61 | 62 | } 63 | 64 | #pragma mark 监听scrollView的contentSize改变 65 | - (void)scrollViewContentSizeDidChange:(NSDictionary *)change 66 | { 67 | [super scrollViewContentSizeDidChange:change]; 68 | 69 | } 70 | 71 | #pragma mark 监听scrollView的拖拽状态改变 72 | - (void)scrollViewPanStateDidChange:(NSDictionary *)change 73 | { 74 | [super scrollViewPanStateDidChange:change]; 75 | 76 | } 77 | 78 | #pragma mark 监听控件的刷新状态 79 | - (void)setState:(MJRefreshState)state 80 | { 81 | MJRefreshCheckState; 82 | 83 | switch (state) { 84 | case MJRefreshStateIdle: 85 | self.label.text = @"赶紧上拉吖(开关是打酱油滴)"; 86 | [self.loading stopAnimating]; 87 | [self.s setOn:NO animated:YES]; 88 | break; 89 | case MJRefreshStateRefreshing: 90 | [self.s setOn:YES animated:YES]; 91 | self.label.text = @"加载数据中(开关是打酱油滴)"; 92 | [self.loading startAnimating]; 93 | break; 94 | case MJRefreshStateNoMoreData: 95 | self.label.text = @"木有数据了(开关是打酱油滴)"; 96 | [self.s setOn:NO animated:YES]; 97 | [self.loading stopAnimating]; 98 | break; 99 | default: 100 | break; 101 | } 102 | } 103 | 104 | @end 105 | -------------------------------------------------------------------------------- /AlipayDemo/Carthage/Checkouts/MJRefresh/MJRefreshExample.xcodeproj/xcshareddata/xcschemes/MJRefreshFramework.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 34 | 35 | 45 | 46 | 52 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 70 | 71 | 72 | 73 | 75 | 76 | 79 | 80 | 81 | --------------------------------------------------------------------------------