From d3a8e599929fce168831e563ccd7f982efaf4605 Mon Sep 17 00:00:00 2001 From: ZeroJ Date: Mon, 5 Sep 2016 12:38:42 +0800 Subject: [PATCH 1/8] readme --- LICENSE | 0 README.md | 3 +- ScrollPageView.podspec | 0 ScrollPageView/ContentView.swift | 0 ScrollPageView/ScrollPageView.swift | 0 ScrollPageView/ScrollSegmentView.swift | 0 ScrollPageView/SegmentStyle.swift | 0 .../project.pbxproj | 92 ++-- .../contents.xcworkspacedata | 0 .../xcdebugger/Breakpoints_v2.xcbkptlist | 0 .../xcschemes/ScrollViewController.xcscheme | 0 .../xcschemes/xcschememanagement.plist | 0 .../xcdebugger/Breakpoints_v2.xcbkptlist | 5 + .../xcschemes/ScrollViewController.xcscheme | 111 +++++ .../xcschemes/xcschememanagement.plist | 32 ++ .../AppIcon.appiconset/Contents.json | 0 .../Assets.xcassets/Contents.json | 0 .../Contents.json | 0 .../channel_grid_circle@2x.png | Bin .../delete.imageset/Contents.json | 0 .../delete.imageset/delete.png | Bin .../Contents.json | 0 .../extraBtnBackgroundImage.imageset/plus.png | Bin .../fruit.imageset/Contents.json | 0 .../fruit.imageset/Snip20160420_15.png | Bin .../test.imageset/Contents.json | 0 .../test.imageset/Snip20160413_1.png | Bin .../Base.lproj/LaunchScreen.storyboard | 0 .../Base.lproj/Main.storyboard | 60 +-- ScrollViewController/ExtraView.swift | 0 ScrollViewController/ExtraView.xib | 0 ScrollViewController/Info.plist | 0 .../RefreshView/GifAnimator.swift | 283 ++++++++++++ .../RefreshView/NormalAnimator.swift | 212 +++++++++ .../RefreshView/NormalAnimator.xib | 67 +++ .../RefreshView/RefreshView.swift | 421 ++++++++++++++++++ .../UIScrollView+RefreshView.swift | 74 +++ .../ScrollPageView/ContentView.swift | 0 .../ScrollPageView/ScrollPageView.swift | 0 .../ScrollPageView/ScrollSegmentView.swift | 0 .../ScrollPageView/SegmentStyle.swift | 0 .../UIViewControllerExtension.swift | 0 .../SelectionCollectionViewCell.swift | 0 .../SelectionCollectionViewCell.xib | 0 ScrollViewController/SelectionView.swift | 0 ScrollViewController/Vc10Controller.swift | 0 ScrollViewController/Vc11Controller.swift | 274 ------------ ScrollViewController/other/AppDelegate.swift | 0 .../other/TestController.swift | 0 .../other/TestSelectedIndexController.swift | 0 .../other/ViewController.swift | 0 .../Vc9Controller.swift" | 0 .../Vc8Controller.swift" | 310 ------------- .../PageCollectionViewController.swift" | 47 ++ .../PageTableViewController.swift" | 63 +-- .../PageViewController.swift" | 23 + .../Vc7Controller.swift" | 153 ++++--- .../Vc5Controller.swift" | 0 .../Vc3Controller.swift" | 0 .../vc1Controller.swift" | 0 .../Vc6Controller.swift" | 0 .../Vc4Controller.swift" | 0 .../Vc2Controller.swift" | 0 ScrollViewControllerTests/Info.plist | 0 .../ScrollViewControllerTests.swift | 0 ScrollViewControllerUITests/Info.plist | 0 .../ScrollViewControllerUITests.swift | 0 67 files changed, 1444 insertions(+), 786 deletions(-) mode change 100644 => 100755 LICENSE mode change 100644 => 100755 README.md mode change 100644 => 100755 ScrollPageView.podspec mode change 100644 => 100755 ScrollPageView/ContentView.swift mode change 100644 => 100755 ScrollPageView/ScrollPageView.swift mode change 100644 => 100755 ScrollPageView/ScrollSegmentView.swift mode change 100644 => 100755 ScrollPageView/SegmentStyle.swift mode change 100644 => 100755 ScrollViewController.xcodeproj/project.pbxproj mode change 100644 => 100755 ScrollViewController.xcodeproj/project.xcworkspace/contents.xcworkspacedata mode change 100644 => 100755 ScrollViewController.xcodeproj/xcuserdata/jasnig.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist mode change 100644 => 100755 ScrollViewController.xcodeproj/xcuserdata/jasnig.xcuserdatad/xcschemes/ScrollViewController.xcscheme mode change 100644 => 100755 ScrollViewController.xcodeproj/xcuserdata/jasnig.xcuserdatad/xcschemes/xcschememanagement.plist create mode 100644 ScrollViewController.xcodeproj/xcuserdata/zeroj.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist create mode 100644 ScrollViewController.xcodeproj/xcuserdata/zeroj.xcuserdatad/xcschemes/ScrollViewController.xcscheme create mode 100644 ScrollViewController.xcodeproj/xcuserdata/zeroj.xcuserdatad/xcschemes/xcschememanagement.plist mode change 100644 => 100755 ScrollViewController/Assets.xcassets/AppIcon.appiconset/Contents.json mode change 100644 => 100755 ScrollViewController/Assets.xcassets/Contents.json mode change 100644 => 100755 ScrollViewController/Assets.xcassets/channel_grid_circle.imageset/Contents.json mode change 100644 => 100755 ScrollViewController/Assets.xcassets/channel_grid_circle.imageset/channel_grid_circle@2x.png mode change 100644 => 100755 ScrollViewController/Assets.xcassets/delete.imageset/Contents.json mode change 100644 => 100755 ScrollViewController/Assets.xcassets/delete.imageset/delete.png mode change 100644 => 100755 ScrollViewController/Assets.xcassets/extraBtnBackgroundImage.imageset/Contents.json mode change 100644 => 100755 ScrollViewController/Assets.xcassets/extraBtnBackgroundImage.imageset/plus.png mode change 100644 => 100755 ScrollViewController/Assets.xcassets/fruit.imageset/Contents.json mode change 100644 => 100755 ScrollViewController/Assets.xcassets/fruit.imageset/Snip20160420_15.png mode change 100644 => 100755 ScrollViewController/Assets.xcassets/test.imageset/Contents.json mode change 100644 => 100755 ScrollViewController/Assets.xcassets/test.imageset/Snip20160413_1.png mode change 100644 => 100755 ScrollViewController/Base.lproj/LaunchScreen.storyboard mode change 100644 => 100755 ScrollViewController/Base.lproj/Main.storyboard mode change 100644 => 100755 ScrollViewController/ExtraView.swift mode change 100644 => 100755 ScrollViewController/ExtraView.xib mode change 100644 => 100755 ScrollViewController/Info.plist create mode 100644 ScrollViewController/RefreshView/GifAnimator.swift create mode 100644 ScrollViewController/RefreshView/NormalAnimator.swift create mode 100644 ScrollViewController/RefreshView/NormalAnimator.xib create mode 100644 ScrollViewController/RefreshView/RefreshView.swift create mode 100644 ScrollViewController/RefreshView/UIScrollView+RefreshView.swift mode change 100644 => 100755 ScrollViewController/ScrollPageView/ContentView.swift mode change 100644 => 100755 ScrollViewController/ScrollPageView/ScrollPageView.swift mode change 100644 => 100755 ScrollViewController/ScrollPageView/ScrollSegmentView.swift mode change 100644 => 100755 ScrollViewController/ScrollPageView/SegmentStyle.swift mode change 100644 => 100755 ScrollViewController/ScrollPageView/UIViewControllerExtension.swift mode change 100644 => 100755 ScrollViewController/SelectionCollectionViewCell.swift mode change 100644 => 100755 ScrollViewController/SelectionCollectionViewCell.xib mode change 100644 => 100755 ScrollViewController/SelectionView.swift mode change 100644 => 100755 ScrollViewController/Vc10Controller.swift delete mode 100644 ScrollViewController/Vc11Controller.swift mode change 100644 => 100755 ScrollViewController/other/AppDelegate.swift mode change 100644 => 100755 ScrollViewController/other/TestController.swift rename "ScrollViewController/\346\234\211headView\347\232\204\346\225\210\346\236\234(\347\256\200\344\271\246\344\270\252\344\272\272\351\241\265\351\235\242,\344\275\277\347\224\250TableView)/TestSelectedIndexController.swift" => ScrollViewController/other/TestSelectedIndexController.swift (100%) mode change 100644 => 100755 mode change 100644 => 100755 ScrollViewController/other/ViewController.swift mode change 100644 => 100755 "ScrollViewController/\345\217\257\344\273\245\345\234\250\345\210\235\345\247\213\345\214\226\346\210\226\350\200\205\350\277\224\345\233\236\351\241\265\351\235\242\347\232\204\346\227\266\345\200\231\350\256\276\347\275\256\345\275\223\345\211\215\351\241\265\344\270\272\345\205\266\344\273\226\351\241\265/Vc9Controller.swift" delete mode 100644 "ScrollViewController/\346\234\211headView\347\232\204\346\225\210\346\236\234(\347\256\200\344\271\246\344\270\252\344\272\272\351\241\265\351\235\242,\344\275\277\347\224\250TableView)/Vc8Controller.swift" create mode 100644 "ScrollViewController/\346\234\211headView\347\232\204\346\225\210\346\236\234(\347\256\200\344\271\246\344\270\252\344\272\272\351\241\265\351\235\242,\344\275\277\347\224\250TableView, collectionView)/PageCollectionViewController.swift" rename "ScrollViewController/\346\234\211headView\347\232\204\346\225\210\346\236\234(\347\256\200\344\271\246\344\270\252\344\272\272\351\241\265\351\235\242,\344\275\277\347\224\250TableView)/PageTableViewController.swift" => "ScrollViewController/\346\234\211headView\347\232\204\346\225\210\346\236\234(\347\256\200\344\271\246\344\270\252\344\272\272\351\241\265\351\235\242,\344\275\277\347\224\250TableView, collectionView)/PageTableViewController.swift" (57%) mode change 100644 => 100755 create mode 100644 "ScrollViewController/\346\234\211headView\347\232\204\346\225\210\346\236\234(\347\256\200\344\271\246\344\270\252\344\272\272\351\241\265\351\235\242,\344\275\277\347\224\250TableView, collectionView)/PageViewController.swift" rename "ScrollViewController/\346\234\211headView\347\232\204\346\225\210\346\236\234(\347\256\200\344\271\246\344\270\252\344\272\272\351\241\265\351\235\242,\344\270\215\344\275\277\347\224\250TableView)/Vc7Controller.swift" => "ScrollViewController/\346\234\211headView\347\232\204\346\225\210\346\236\234(\347\256\200\344\271\246\344\270\252\344\272\272\351\241\265\351\235\242,\344\275\277\347\224\250TableView, collectionView)/Vc7Controller.swift" (67%) mode change 100644 => 100755 mode change 100644 => 100755 "ScrollViewController/\346\240\207\351\242\230\344\270\215\346\273\232\345\212\250+\351\201\256\347\233\226+\351\242\234\350\211\262\346\270\220\345\217\230 \346\225\210\346\236\234/Vc5Controller.swift" mode change 100644 => 100755 "ScrollViewController/\346\273\232\345\212\250\346\235\241+\351\242\234\350\211\262\346\270\220\345\217\230 \346\225\210\346\236\234/Vc3Controller.swift" mode change 100644 => 100755 "ScrollViewController/\347\274\251\346\224\276+\351\242\234\350\211\262\346\270\220\345\217\230 \346\225\210\346\236\234/vc1Controller.swift" mode change 100644 => 100755 "ScrollViewController/\350\207\252\345\256\232\344\271\211segmentView\345\222\214contentView\344\275\215\347\275\256\347\232\204\346\225\210\346\236\234)/Vc6Controller.swift" mode change 100644 => 100755 "ScrollViewController/\351\201\256\347\233\226+\347\274\251\346\224\276+\346\262\241\346\234\211\351\242\234\350\211\262\346\270\220\345\217\230 \346\225\210\346\236\234/Vc4Controller.swift" mode change 100644 => 100755 "ScrollViewController/\351\201\256\347\233\226+\351\242\234\350\211\262\346\270\220\345\217\230 \346\225\210\346\236\234/Vc2Controller.swift" mode change 100644 => 100755 ScrollViewControllerTests/Info.plist mode change 100644 => 100755 ScrollViewControllerTests/ScrollViewControllerTests.swift mode change 100644 => 100755 ScrollViewControllerUITests/Info.plist mode change 100644 => 100755 ScrollViewControllerUITests/ScrollViewControllerUITests.swift diff --git a/LICENSE b/LICENSE old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 index 8332c01..7a0540a --- a/README.md +++ b/README.md @@ -242,8 +242,7 @@ pod 'ScrollPageView', '~> 0.1.4' scrollPageView.reloadChildVcsWithNewTitles(newTitles, andNewChildVcs: newChildVcs) -###如果您在使用过程中遇到问题, 请联系我 -####QQ:854136959 邮箱: 854136959@qq.com + ####如果对您有帮助,请随手给个star鼓励一下 ## License diff --git a/ScrollPageView.podspec b/ScrollPageView.podspec old mode 100644 new mode 100755 diff --git a/ScrollPageView/ContentView.swift b/ScrollPageView/ContentView.swift old mode 100644 new mode 100755 diff --git a/ScrollPageView/ScrollPageView.swift b/ScrollPageView/ScrollPageView.swift old mode 100644 new mode 100755 diff --git a/ScrollPageView/ScrollSegmentView.swift b/ScrollPageView/ScrollSegmentView.swift old mode 100644 new mode 100755 diff --git a/ScrollPageView/SegmentStyle.swift b/ScrollPageView/SegmentStyle.swift old mode 100644 new mode 100755 diff --git a/ScrollViewController.xcodeproj/project.pbxproj b/ScrollViewController.xcodeproj/project.pbxproj old mode 100644 new mode 100755 index f0c0eb7..880172f --- a/ScrollViewController.xcodeproj/project.pbxproj +++ b/ScrollViewController.xcodeproj/project.pbxproj @@ -7,6 +7,16 @@ objects = { /* Begin PBXBuildFile section */ + 4A1DDE071D76702C006F4C69 /* PageCollectionViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4A1DDE041D76702C006F4C69 /* PageCollectionViewController.swift */; }; + 4A1DDE081D76702C006F4C69 /* PageTableViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4A1DDE051D76702C006F4C69 /* PageTableViewController.swift */; }; + 4A1DDE091D76702C006F4C69 /* Vc7Controller.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4A1DDE061D76702C006F4C69 /* Vc7Controller.swift */; }; + 4A1DDE0B1D76706D006F4C69 /* TestSelectedIndexController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4A1DDE0A1D76706D006F4C69 /* TestSelectedIndexController.swift */; }; + 4A1DDE0D1D7671B1006F4C69 /* PageViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4A1DDE0C1D7671B1006F4C69 /* PageViewController.swift */; }; + 4A1DDE141D76722B006F4C69 /* GifAnimator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4A1DDE0F1D76722B006F4C69 /* GifAnimator.swift */; }; + 4A1DDE151D76722B006F4C69 /* NormalAnimator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4A1DDE101D76722B006F4C69 /* NormalAnimator.swift */; }; + 4A1DDE161D76722B006F4C69 /* NormalAnimator.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4A1DDE111D76722B006F4C69 /* NormalAnimator.xib */; }; + 4A1DDE171D76722B006F4C69 /* RefreshView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4A1DDE121D76722B006F4C69 /* RefreshView.swift */; }; + 4A1DDE181D76722B006F4C69 /* UIScrollView+RefreshView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4A1DDE131D76722B006F4C69 /* UIScrollView+RefreshView.swift */; }; 4B0C48511CD3000300B47FE3 /* Vc10Controller.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4B0C48501CD3000300B47FE3 /* Vc10Controller.swift */; }; 4B0C48541CD31AB000B47FE3 /* SelectionView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4B0C48531CD31AB000B47FE3 /* SelectionView.swift */; }; 4B0DD6FB1CB49EEC00439631 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 4B0DD6F91CB49EEC00439631 /* Main.storyboard */; }; @@ -23,15 +33,10 @@ 4B494B851CCF760A00B23680 /* ScrollSegmentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4B494B811CCF760A00B23680 /* ScrollSegmentView.swift */; }; 4B494B861CCF760A00B23680 /* SegmentStyle.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4B494B821CCF760A00B23680 /* SegmentStyle.swift */; }; 4B56CB9B1D06DB1F00D58BFA /* UIViewControllerExtension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4B56CB9A1D06DB1F00D58BFA /* UIViewControllerExtension.swift */; }; - 4BEB43491CFE817700F1B6F7 /* Vc11Controller.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4BEB43481CFE817700F1B6F7 /* Vc11Controller.swift */; }; 4BF37F131CCE5110005FBCDC /* Vc5Controller.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4BF37EF71CCE5110005FBCDC /* Vc5Controller.swift */; }; 4BF37F141CCE5110005FBCDC /* Vc3Controller.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4BF37EF91CCE5110005FBCDC /* Vc3Controller.swift */; }; 4BF37F151CCE5110005FBCDC /* Vc9Controller.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4BF37EFB1CCE5110005FBCDC /* Vc9Controller.swift */; }; 4BF37F161CCE5110005FBCDC /* vc1Controller.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4BF37EFD1CCE5110005FBCDC /* vc1Controller.swift */; }; - 4BF37F171CCE5110005FBCDC /* Vc7Controller.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4BF37EFF1CCE5110005FBCDC /* Vc7Controller.swift */; }; - 4BF37F181CCE5110005FBCDC /* PageTableViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4BF37F011CCE5110005FBCDC /* PageTableViewController.swift */; }; - 4BF37F191CCE5110005FBCDC /* TestSelectedIndexController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4BF37F021CCE5110005FBCDC /* TestSelectedIndexController.swift */; }; - 4BF37F1A1CCE5110005FBCDC /* Vc8Controller.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4BF37F031CCE5110005FBCDC /* Vc8Controller.swift */; }; 4BF37F1B1CCE5110005FBCDC /* Vc4Controller.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4BF37F051CCE5110005FBCDC /* Vc4Controller.swift */; }; 4BF37F1C1CCE5110005FBCDC /* Vc2Controller.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4BF37F071CCE5110005FBCDC /* Vc2Controller.swift */; }; 4BF37F1D1CCE5110005FBCDC /* Vc6Controller.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4BF37F091CCE5110005FBCDC /* Vc6Controller.swift */; }; @@ -58,6 +63,16 @@ /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ + 4A1DDE041D76702C006F4C69 /* PageCollectionViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PageCollectionViewController.swift; sourceTree = ""; }; + 4A1DDE051D76702C006F4C69 /* PageTableViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PageTableViewController.swift; sourceTree = ""; }; + 4A1DDE061D76702C006F4C69 /* Vc7Controller.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Vc7Controller.swift; sourceTree = ""; }; + 4A1DDE0A1D76706D006F4C69 /* TestSelectedIndexController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TestSelectedIndexController.swift; sourceTree = ""; }; + 4A1DDE0C1D7671B1006F4C69 /* PageViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PageViewController.swift; sourceTree = ""; }; + 4A1DDE0F1D76722B006F4C69 /* GifAnimator.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GifAnimator.swift; sourceTree = ""; }; + 4A1DDE101D76722B006F4C69 /* NormalAnimator.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NormalAnimator.swift; sourceTree = ""; }; + 4A1DDE111D76722B006F4C69 /* NormalAnimator.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = NormalAnimator.xib; sourceTree = ""; }; + 4A1DDE121D76722B006F4C69 /* RefreshView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RefreshView.swift; sourceTree = ""; }; + 4A1DDE131D76722B006F4C69 /* UIScrollView+RefreshView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "UIScrollView+RefreshView.swift"; sourceTree = ""; }; 4B0C48501CD3000300B47FE3 /* Vc10Controller.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Vc10Controller.swift; sourceTree = ""; }; 4B0C48531CD31AB000B47FE3 /* SelectionView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SelectionView.swift; sourceTree = ""; }; 4B0DD6F21CB49EEC00439631 /* ScrollViewController.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ScrollViewController.app; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -80,15 +95,10 @@ 4B494B811CCF760A00B23680 /* ScrollSegmentView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ScrollSegmentView.swift; sourceTree = ""; }; 4B494B821CCF760A00B23680 /* SegmentStyle.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SegmentStyle.swift; sourceTree = ""; }; 4B56CB9A1D06DB1F00D58BFA /* UIViewControllerExtension.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UIViewControllerExtension.swift; sourceTree = ""; }; - 4BEB43481CFE817700F1B6F7 /* Vc11Controller.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Vc11Controller.swift; sourceTree = ""; }; 4BF37EF71CCE5110005FBCDC /* Vc5Controller.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Vc5Controller.swift; sourceTree = ""; }; 4BF37EF91CCE5110005FBCDC /* Vc3Controller.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Vc3Controller.swift; sourceTree = ""; }; 4BF37EFB1CCE5110005FBCDC /* Vc9Controller.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Vc9Controller.swift; sourceTree = ""; }; 4BF37EFD1CCE5110005FBCDC /* vc1Controller.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = vc1Controller.swift; sourceTree = ""; }; - 4BF37EFF1CCE5110005FBCDC /* Vc7Controller.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Vc7Controller.swift; sourceTree = ""; }; - 4BF37F011CCE5110005FBCDC /* PageTableViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PageTableViewController.swift; sourceTree = ""; }; - 4BF37F021CCE5110005FBCDC /* TestSelectedIndexController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TestSelectedIndexController.swift; sourceTree = ""; }; - 4BF37F031CCE5110005FBCDC /* Vc8Controller.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Vc8Controller.swift; sourceTree = ""; }; 4BF37F051CCE5110005FBCDC /* Vc4Controller.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Vc4Controller.swift; sourceTree = ""; }; 4BF37F071CCE5110005FBCDC /* Vc2Controller.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Vc2Controller.swift; sourceTree = ""; }; 4BF37F091CCE5110005FBCDC /* Vc6Controller.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Vc6Controller.swift; sourceTree = ""; }; @@ -122,6 +132,29 @@ /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ + 4A1DDE031D76702C006F4C69 /* 有headView的效果(简书个人页面,使用TableView, collectionView) */ = { + isa = PBXGroup; + children = ( + 4A1DDE041D76702C006F4C69 /* PageCollectionViewController.swift */, + 4A1DDE051D76702C006F4C69 /* PageTableViewController.swift */, + 4A1DDE0C1D7671B1006F4C69 /* PageViewController.swift */, + 4A1DDE061D76702C006F4C69 /* Vc7Controller.swift */, + ); + path = "有headView的效果(简书个人页面,使用TableView, collectionView)"; + sourceTree = ""; + }; + 4A1DDE0E1D76722B006F4C69 /* RefreshView */ = { + isa = PBXGroup; + children = ( + 4A1DDE0F1D76722B006F4C69 /* GifAnimator.swift */, + 4A1DDE101D76722B006F4C69 /* NormalAnimator.swift */, + 4A1DDE111D76722B006F4C69 /* NormalAnimator.xib */, + 4A1DDE121D76722B006F4C69 /* RefreshView.swift */, + 4A1DDE131D76722B006F4C69 /* UIScrollView+RefreshView.swift */, + ); + path = RefreshView; + sourceTree = ""; + }; 4B0C48521CD3001300B47FE3 /* 类似网易新闻的动态修改tag和内容 */ = { isa = PBXGroup; children = ( @@ -230,24 +263,6 @@ path = "缩放+颜色渐变 效果"; sourceTree = ""; }; - 4BF37EFE1CCE5110005FBCDC /* 有headView的效果(简书个人页面,不使用TableView) */ = { - isa = PBXGroup; - children = ( - 4BF37EFF1CCE5110005FBCDC /* Vc7Controller.swift */, - ); - path = "有headView的效果(简书个人页面,不使用TableView)"; - sourceTree = ""; - }; - 4BF37F001CCE5110005FBCDC /* 有headView的效果(简书个人页面,使用TableView) */ = { - isa = PBXGroup; - children = ( - 4BF37F011CCE5110005FBCDC /* PageTableViewController.swift */, - 4BF37F021CCE5110005FBCDC /* TestSelectedIndexController.swift */, - 4BF37F031CCE5110005FBCDC /* Vc8Controller.swift */, - ); - path = "有headView的效果(简书个人页面,使用TableView)"; - sourceTree = ""; - }; 4BF37F041CCE5110005FBCDC /* 遮盖+缩放+没有颜色渐变 效果 */ = { isa = PBXGroup; children = ( @@ -277,6 +292,7 @@ children = ( 4BF37F0B1CCE5110005FBCDC /* AppDelegate.swift */, 4BF37F0C1CCE5110005FBCDC /* TestController.swift */, + 4A1DDE0A1D76706D006F4C69 /* TestSelectedIndexController.swift */, 4BF37F0D1CCE5110005FBCDC /* ViewController.swift */, ); path = other; @@ -285,6 +301,7 @@ 4BF37F251CCE52FA005FBCDC /* Example */ = { isa = PBXGroup; children = ( + 4A1DDE0E1D76722B006F4C69 /* RefreshView */, 4B494B7E1CCF760A00B23680 /* ScrollPageView */, 4BF37EFC1CCE5110005FBCDC /* 缩放+颜色渐变 效果 */, 4BF37F061CCE5110005FBCDC /* 遮盖+颜色渐变 效果 */, @@ -292,11 +309,9 @@ 4BF37F041CCE5110005FBCDC /* 遮盖+缩放+没有颜色渐变 效果 */, 4BF37EF61CCE5110005FBCDC /* 标题不滚动+遮盖+颜色渐变 效果 */, 4BF37F081CCE5110005FBCDC /* 自定义segmentView和contentView位置的效果) */, - 4BF37EFE1CCE5110005FBCDC /* 有headView的效果(简书个人页面,不使用TableView) */, - 4BF37F001CCE5110005FBCDC /* 有headView的效果(简书个人页面,使用TableView) */, + 4A1DDE031D76702C006F4C69 /* 有headView的效果(简书个人页面,使用TableView, collectionView) */, 4BF37EFA1CCE5110005FBCDC /* 可以在初始化或者返回页面的时候设置当前页为其他页 */, 4B0C48521CD3001300B47FE3 /* 类似网易新闻的动态修改tag和内容 */, - 4BEB43481CFE817700F1B6F7 /* Vc11Controller.swift */, ); name = Example; sourceTree = ""; @@ -411,6 +426,7 @@ 4B0F5B461CD6127300960670 /* ExtraView.xib in Resources */, 4B0DD6FB1CB49EEC00439631 /* Main.storyboard in Resources */, 4B0F5B481CD71E8300960670 /* Assets.xcassets in Resources */, + 4A1DDE161D76722B006F4C69 /* NormalAnimator.xib in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -438,26 +454,30 @@ 4BF37F1E1CCE5110005FBCDC /* AppDelegate.swift in Sources */, 4B0F5B411CD5B3BF00960670 /* SelectionCollectionViewCell.swift in Sources */, 4B494B861CCF760A00B23680 /* SegmentStyle.swift in Sources */, - 4BF37F191CCE5110005FBCDC /* TestSelectedIndexController.swift in Sources */, 4BF37F161CCE5110005FBCDC /* vc1Controller.swift in Sources */, 4BF37F1B1CCE5110005FBCDC /* Vc4Controller.swift in Sources */, + 4A1DDE071D76702C006F4C69 /* PageCollectionViewController.swift in Sources */, + 4A1DDE091D76702C006F4C69 /* Vc7Controller.swift in Sources */, + 4A1DDE141D76722B006F4C69 /* GifAnimator.swift in Sources */, 4BF37F201CCE5110005FBCDC /* ViewController.swift in Sources */, 4BF37F141CCE5110005FBCDC /* Vc3Controller.swift in Sources */, 4B494B841CCF760A00B23680 /* ScrollPageView.swift in Sources */, + 4A1DDE151D76722B006F4C69 /* NormalAnimator.swift in Sources */, 4B494B851CCF760A00B23680 /* ScrollSegmentView.swift in Sources */, 4BF37F1D1CCE5110005FBCDC /* Vc6Controller.swift in Sources */, - 4BEB43491CFE817700F1B6F7 /* Vc11Controller.swift in Sources */, + 4A1DDE181D76722B006F4C69 /* UIScrollView+RefreshView.swift in Sources */, 4B0C48541CD31AB000B47FE3 /* SelectionView.swift in Sources */, 4B0F5B441CD6126200960670 /* ExtraView.swift in Sources */, - 4BF37F1A1CCE5110005FBCDC /* Vc8Controller.swift in Sources */, - 4BF37F181CCE5110005FBCDC /* PageTableViewController.swift in Sources */, 4BF37F1F1CCE5110005FBCDC /* TestController.swift in Sources */, + 4A1DDE0D1D7671B1006F4C69 /* PageViewController.swift in Sources */, 4BF37F151CCE5110005FBCDC /* Vc9Controller.swift in Sources */, + 4A1DDE0B1D76706D006F4C69 /* TestSelectedIndexController.swift in Sources */, 4B0C48511CD3000300B47FE3 /* Vc10Controller.swift in Sources */, 4B494B831CCF760A00B23680 /* ContentView.swift in Sources */, + 4A1DDE081D76702C006F4C69 /* PageTableViewController.swift in Sources */, 4B56CB9B1D06DB1F00D58BFA /* UIViewControllerExtension.swift in Sources */, + 4A1DDE171D76722B006F4C69 /* RefreshView.swift in Sources */, 4BF37F1C1CCE5110005FBCDC /* Vc2Controller.swift in Sources */, - 4BF37F171CCE5110005FBCDC /* Vc7Controller.swift in Sources */, 4BF37F131CCE5110005FBCDC /* Vc5Controller.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; diff --git a/ScrollViewController.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/ScrollViewController.xcodeproj/project.xcworkspace/contents.xcworkspacedata old mode 100644 new mode 100755 diff --git a/ScrollViewController.xcodeproj/xcuserdata/jasnig.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist b/ScrollViewController.xcodeproj/xcuserdata/jasnig.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist old mode 100644 new mode 100755 diff --git a/ScrollViewController.xcodeproj/xcuserdata/jasnig.xcuserdatad/xcschemes/ScrollViewController.xcscheme b/ScrollViewController.xcodeproj/xcuserdata/jasnig.xcuserdatad/xcschemes/ScrollViewController.xcscheme old mode 100644 new mode 100755 diff --git a/ScrollViewController.xcodeproj/xcuserdata/jasnig.xcuserdatad/xcschemes/xcschememanagement.plist b/ScrollViewController.xcodeproj/xcuserdata/jasnig.xcuserdatad/xcschemes/xcschememanagement.plist old mode 100644 new mode 100755 diff --git a/ScrollViewController.xcodeproj/xcuserdata/zeroj.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist b/ScrollViewController.xcodeproj/xcuserdata/zeroj.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist new file mode 100644 index 0000000..fe2b454 --- /dev/null +++ b/ScrollViewController.xcodeproj/xcuserdata/zeroj.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist @@ -0,0 +1,5 @@ + + + diff --git a/ScrollViewController.xcodeproj/xcuserdata/zeroj.xcuserdatad/xcschemes/ScrollViewController.xcscheme b/ScrollViewController.xcodeproj/xcuserdata/zeroj.xcuserdatad/xcschemes/ScrollViewController.xcscheme new file mode 100644 index 0000000..3315c4f --- /dev/null +++ b/ScrollViewController.xcodeproj/xcuserdata/zeroj.xcuserdatad/xcschemes/ScrollViewController.xcscheme @@ -0,0 +1,111 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ScrollViewController.xcodeproj/xcuserdata/zeroj.xcuserdatad/xcschemes/xcschememanagement.plist b/ScrollViewController.xcodeproj/xcuserdata/zeroj.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..d4e828b --- /dev/null +++ b/ScrollViewController.xcodeproj/xcuserdata/zeroj.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,32 @@ + + + + + SchemeUserState + + ScrollViewController.xcscheme + + orderHint + 0 + + + SuppressBuildableAutocreation + + 4B0DD6F11CB49EEC00439631 + + primary + + + 4B0DD7051CB49EEC00439631 + + primary + + + 4B0DD7101CB49EEC00439631 + + primary + + + + + diff --git a/ScrollViewController/Assets.xcassets/AppIcon.appiconset/Contents.json b/ScrollViewController/Assets.xcassets/AppIcon.appiconset/Contents.json old mode 100644 new mode 100755 diff --git a/ScrollViewController/Assets.xcassets/Contents.json b/ScrollViewController/Assets.xcassets/Contents.json old mode 100644 new mode 100755 diff --git a/ScrollViewController/Assets.xcassets/channel_grid_circle.imageset/Contents.json b/ScrollViewController/Assets.xcassets/channel_grid_circle.imageset/Contents.json old mode 100644 new mode 100755 diff --git a/ScrollViewController/Assets.xcassets/channel_grid_circle.imageset/channel_grid_circle@2x.png b/ScrollViewController/Assets.xcassets/channel_grid_circle.imageset/channel_grid_circle@2x.png old mode 100644 new mode 100755 diff --git a/ScrollViewController/Assets.xcassets/delete.imageset/Contents.json b/ScrollViewController/Assets.xcassets/delete.imageset/Contents.json old mode 100644 new mode 100755 diff --git a/ScrollViewController/Assets.xcassets/delete.imageset/delete.png b/ScrollViewController/Assets.xcassets/delete.imageset/delete.png old mode 100644 new mode 100755 diff --git a/ScrollViewController/Assets.xcassets/extraBtnBackgroundImage.imageset/Contents.json b/ScrollViewController/Assets.xcassets/extraBtnBackgroundImage.imageset/Contents.json old mode 100644 new mode 100755 diff --git a/ScrollViewController/Assets.xcassets/extraBtnBackgroundImage.imageset/plus.png b/ScrollViewController/Assets.xcassets/extraBtnBackgroundImage.imageset/plus.png old mode 100644 new mode 100755 diff --git a/ScrollViewController/Assets.xcassets/fruit.imageset/Contents.json b/ScrollViewController/Assets.xcassets/fruit.imageset/Contents.json old mode 100644 new mode 100755 diff --git a/ScrollViewController/Assets.xcassets/fruit.imageset/Snip20160420_15.png b/ScrollViewController/Assets.xcassets/fruit.imageset/Snip20160420_15.png old mode 100644 new mode 100755 diff --git a/ScrollViewController/Assets.xcassets/test.imageset/Contents.json b/ScrollViewController/Assets.xcassets/test.imageset/Contents.json old mode 100644 new mode 100755 diff --git a/ScrollViewController/Assets.xcassets/test.imageset/Snip20160413_1.png b/ScrollViewController/Assets.xcassets/test.imageset/Snip20160413_1.png old mode 100644 new mode 100755 diff --git a/ScrollViewController/Base.lproj/LaunchScreen.storyboard b/ScrollViewController/Base.lproj/LaunchScreen.storyboard old mode 100644 new mode 100755 diff --git a/ScrollViewController/Base.lproj/Main.storyboard b/ScrollViewController/Base.lproj/Main.storyboard old mode 100644 new mode 100755 index b245ae2..866a4b6 --- a/ScrollViewController/Base.lproj/Main.storyboard +++ b/ScrollViewController/Base.lproj/Main.storyboard @@ -1,5 +1,5 @@ - + @@ -103,7 +103,7 @@