├── .gitignore ├── JJSliderViewController ├── JJSliderViewController.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata └── JJSliderViewController │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Assets.xcassets │ ├── AppIcon.appiconset │ │ └── Contents.json │ ├── Contents.json │ └── TabBar │ │ ├── Contents.json │ │ ├── compose_slogan.imageset │ │ ├── Contents.json │ │ ├── compose_slogan@2x.png │ │ └── compose_slogan@3x.png │ │ ├── main_badge.imageset │ │ ├── Contents.json │ │ └── main_badge@2x.png │ │ ├── tabbar_background.imageset │ │ ├── Contents.json │ │ └── tabbar_background@2x.png │ │ ├── tabbar_compose_background_icon_close.imageset │ │ ├── Contents.json │ │ ├── tabbar_compose_background_icon_close@2x.png │ │ └── tabbar_compose_background_icon_close@3x.png │ │ ├── tabbar_compose_background_icon_return.imageset │ │ ├── Contents.json │ │ ├── tabbar_compose_background_icon_return@2x.png │ │ └── tabbar_compose_background_icon_return@3x.png │ │ ├── tabbar_compose_button.imageset │ │ ├── Contents.json │ │ ├── tabbar_compose_button@2x.png │ │ └── tabbar_compose_button@3x.png │ │ ├── tabbar_compose_button_highlighted.imageset │ │ ├── Contents.json │ │ ├── tabbar_compose_button_highlighted@2x.png │ │ └── tabbar_compose_button_highlighted@3x.png │ │ ├── tabbar_compose_camera.imageset │ │ ├── Contents.json │ │ ├── tabbar_compose_camera@2x.png │ │ └── tabbar_compose_camera@3x.png │ │ ├── tabbar_compose_friend.imageset │ │ ├── Contents.json │ │ ├── tabbar_compose_friend@2x.png │ │ └── tabbar_compose_friend@3x.png │ │ ├── tabbar_compose_icon_add.imageset │ │ ├── Contents.json │ │ ├── tabbar_compose_icon_add@2x.png │ │ └── tabbar_compose_icon_add@3x.png │ │ ├── tabbar_compose_icon_add_highlighted.imageset │ │ ├── Contents.json │ │ ├── tabbar_compose_icon_add_highlighted@2x.png │ │ └── tabbar_compose_icon_add_highlighted@3x.png │ │ ├── tabbar_compose_idea.imageset │ │ ├── Contents.json │ │ ├── tabbar_compose_idea@2x.png │ │ └── tabbar_compose_idea@3x.png │ │ ├── tabbar_compose_lbs.imageset │ │ ├── Contents.json │ │ ├── tabbar_compose_lbs@2x.png │ │ └── tabbar_compose_lbs@3x.png │ │ ├── tabbar_compose_more.imageset │ │ ├── Contents.json │ │ ├── tabbar_compose_more@2x.png │ │ └── tabbar_compose_more@3x.png │ │ ├── tabbar_compose_music.imageset │ │ ├── Contents.json │ │ ├── tabbar_compose_music@2x.png │ │ └── tabbar_compose_music@3x.png │ │ ├── tabbar_compose_photo.imageset │ │ ├── Contents.json │ │ ├── tabbar_compose_photo@2x.png │ │ └── tabbar_compose_photo@3x.png │ │ ├── tabbar_compose_review.imageset │ │ ├── Contents.json │ │ ├── tabbar_compose_review@2x.png │ │ └── tabbar_compose_review@3x.png │ │ ├── tabbar_compose_shooting.imageset │ │ ├── Contents.json │ │ ├── tabbar_compose_shooting@2x.png │ │ └── tabbar_compose_shooting@3x.png │ │ ├── tabbar_compose_transfer.imageset │ │ ├── Contents.json │ │ ├── tabbar_compose_transfer@2x.png │ │ └── tabbar_compose_transfer@3x.png │ │ ├── tabbar_compose_wbcamera.imageset │ │ ├── Contents.json │ │ ├── tabbar_compose_wbcamera@2x.png │ │ └── tabbar_compose_wbcamera@3x.png │ │ ├── tabbar_compose_weibo.imageset │ │ ├── Contents.json │ │ ├── tabbar_compose_weibo@2x.png │ │ └── tabbar_compose_weibo@3x.png │ │ ├── tabbar_discover.imageset │ │ ├── Contents.json │ │ ├── tabbar_discover@2x.png │ │ └── tabbar_discover@3x.png │ │ ├── tabbar_discover_selected.imageset │ │ ├── Contents.json │ │ ├── tabbar_discover_selected@2x.png │ │ └── tabbar_discover_selected@3x.png │ │ ├── tabbar_home.imageset │ │ ├── Contents.json │ │ ├── tabbar_home@2x.png │ │ └── tabbar_home@3x.png │ │ ├── tabbar_home_selected.imageset │ │ ├── Contents.json │ │ ├── tabbar_home_selected@2x.png │ │ └── tabbar_home_selected@3x.png │ │ ├── tabbar_message_center.imageset │ │ ├── Contents.json │ │ ├── tabbar_message_center@2x.png │ │ └── tabbar_message_center@3x.png │ │ ├── tabbar_message_center_selected.imageset │ │ ├── Contents.json │ │ ├── tabbar_message_center_selected@2x.png │ │ └── tabbar_message_center_selected@3x.png │ │ ├── tabbar_profile.imageset │ │ ├── Contents.json │ │ ├── tabbar_profile@2x.png │ │ └── tabbar_profile@3x.png │ │ └── tabbar_profile_selected.imageset │ │ ├── Contents.json │ │ ├── tabbar_profile_selected@2x.png │ │ └── tabbar_profile_selected@3x.png │ ├── Base.lproj │ └── LaunchScreen.storyboard │ ├── Info.plist │ ├── Screenshot │ ├── QQ20170416-230303.png │ ├── QQ20170416-230412.png │ └── QQ20170416-230521.png │ ├── SliderViewController │ ├── SliderVC │ │ ├── JJSliderViewController.h │ │ └── JJSliderViewController.m │ └── ViewContrillers │ │ ├── BaseViewController │ │ ├── JJMainTabBarVC.h │ │ ├── JJMainTabBarVC.m │ │ ├── UIViewController+JJ.h │ │ ├── UIViewController+JJ.m │ │ └── controller.json │ │ ├── Discover │ │ ├── JJDiscoverVC.h │ │ └── JJDiscoverVC.m │ │ ├── Home │ │ ├── JJHomeVC.h │ │ └── JJHomeVC.m │ │ ├── LeftVC │ │ ├── JJLeftVC.h │ │ └── JJLeftVC.m │ │ ├── Message │ │ ├── JJMessageVC.h │ │ └── JJMessageVC.m │ │ └── Profile │ │ ├── JJProfileVC.h │ │ └── JJProfileVC.m │ └── main.m ├── LICENSE └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode 2 | # 3 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore 4 | 5 | ## Build generated 6 | build/ 7 | DerivedData/ 8 | 9 | ## Various settings 10 | *.pbxuser 11 | !default.pbxuser 12 | *.mode1v3 13 | !default.mode1v3 14 | *.mode2v3 15 | !default.mode2v3 16 | *.perspectivev3 17 | !default.perspectivev3 18 | xcuserdata/ 19 | 20 | ## Other 21 | *.moved-aside 22 | *.xcuserstate 23 | 24 | ## Obj-C/Swift specific 25 | *.hmap 26 | *.ipa 27 | *.dSYM.zip 28 | *.dSYM 29 | 30 | # CocoaPods 31 | # 32 | # We recommend against adding the Pods directory to your .gitignore. However 33 | # you should judge for yourself, the pros and cons are mentioned at: 34 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control 35 | # 36 | # Pods/ 37 | 38 | # Carthage 39 | # 40 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 41 | # Carthage/Checkouts 42 | 43 | Carthage/Build 44 | 45 | # fastlane 46 | # 47 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 48 | # screenshots whenever they are needed. 49 | # For more information about the recommended setup visit: 50 | # https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md 51 | 52 | fastlane/report.xml 53 | fastlane/screenshots 54 | 55 | #Code Injection 56 | # 57 | # After new code Injection tools there's a generated folder /iOSInjectionProject 58 | # https://github.com/johnno1962/injectionforxcode 59 | 60 | iOSInjectionProject/ 61 | -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | A441C7731EA3BAD100034762 /* controller.json in Resources */ = {isa = PBXBuildFile; fileRef = A441C75F1EA3BAD100034762 /* controller.json */; }; 11 | A441C7741EA3BAD100034762 /* JJMainTabBarVC.m in Sources */ = {isa = PBXBuildFile; fileRef = A441C7611EA3BAD100034762 /* JJMainTabBarVC.m */; }; 12 | A441C7751EA3BAD100034762 /* UIViewController+JJ.m in Sources */ = {isa = PBXBuildFile; fileRef = A441C7631EA3BAD100034762 /* UIViewController+JJ.m */; }; 13 | A441C7761EA3BAD100034762 /* JJDiscoverVC.m in Sources */ = {isa = PBXBuildFile; fileRef = A441C7661EA3BAD100034762 /* JJDiscoverVC.m */; }; 14 | A441C7771EA3BAD100034762 /* JJHomeVC.m in Sources */ = {isa = PBXBuildFile; fileRef = A441C7691EA3BAD100034762 /* JJHomeVC.m */; }; 15 | A441C7781EA3BAD100034762 /* JJLeftVC.m in Sources */ = {isa = PBXBuildFile; fileRef = A441C76C1EA3BAD100034762 /* JJLeftVC.m */; }; 16 | A441C7791EA3BAD100034762 /* JJMessageVC.m in Sources */ = {isa = PBXBuildFile; fileRef = A441C76F1EA3BAD100034762 /* JJMessageVC.m */; }; 17 | A441C77A1EA3BAD100034762 /* JJProfileVC.m in Sources */ = {isa = PBXBuildFile; fileRef = A441C7721EA3BAD100034762 /* JJProfileVC.m */; }; 18 | A441C77E1EA3BBF100034762 /* JJSliderViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = A441C77D1EA3BBF100034762 /* JJSliderViewController.m */; }; 19 | A4A04B6D1EA2664F009816D3 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = A4A04B6C1EA2664F009816D3 /* main.m */; }; 20 | A4A04B701EA2664F009816D3 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = A4A04B6F1EA2664F009816D3 /* AppDelegate.m */; }; 21 | A4A04B781EA2664F009816D3 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = A4A04B771EA2664F009816D3 /* Assets.xcassets */; }; 22 | A4A04B7B1EA2664F009816D3 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = A4A04B791EA2664F009816D3 /* LaunchScreen.storyboard */; }; 23 | /* End PBXBuildFile section */ 24 | 25 | /* Begin PBXFileReference section */ 26 | A441C75F1EA3BAD100034762 /* controller.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = controller.json; sourceTree = ""; }; 27 | A441C7601EA3BAD100034762 /* JJMainTabBarVC.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JJMainTabBarVC.h; sourceTree = ""; }; 28 | A441C7611EA3BAD100034762 /* JJMainTabBarVC.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JJMainTabBarVC.m; sourceTree = ""; }; 29 | A441C7621EA3BAD100034762 /* UIViewController+JJ.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIViewController+JJ.h"; sourceTree = ""; }; 30 | A441C7631EA3BAD100034762 /* UIViewController+JJ.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIViewController+JJ.m"; sourceTree = ""; }; 31 | A441C7651EA3BAD100034762 /* JJDiscoverVC.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JJDiscoverVC.h; sourceTree = ""; }; 32 | A441C7661EA3BAD100034762 /* JJDiscoverVC.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JJDiscoverVC.m; sourceTree = ""; }; 33 | A441C7681EA3BAD100034762 /* JJHomeVC.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JJHomeVC.h; sourceTree = ""; }; 34 | A441C7691EA3BAD100034762 /* JJHomeVC.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JJHomeVC.m; sourceTree = ""; }; 35 | A441C76B1EA3BAD100034762 /* JJLeftVC.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JJLeftVC.h; sourceTree = ""; }; 36 | A441C76C1EA3BAD100034762 /* JJLeftVC.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JJLeftVC.m; sourceTree = ""; }; 37 | A441C76E1EA3BAD100034762 /* JJMessageVC.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JJMessageVC.h; sourceTree = ""; }; 38 | A441C76F1EA3BAD100034762 /* JJMessageVC.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JJMessageVC.m; sourceTree = ""; }; 39 | A441C7711EA3BAD100034762 /* JJProfileVC.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JJProfileVC.h; sourceTree = ""; }; 40 | A441C7721EA3BAD100034762 /* JJProfileVC.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JJProfileVC.m; sourceTree = ""; }; 41 | A441C77C1EA3BBF100034762 /* JJSliderViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JJSliderViewController.h; sourceTree = ""; }; 42 | A441C77D1EA3BBF100034762 /* JJSliderViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JJSliderViewController.m; sourceTree = ""; }; 43 | A4A04B681EA2664F009816D3 /* JJSliderViewController.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = JJSliderViewController.app; sourceTree = BUILT_PRODUCTS_DIR; }; 44 | A4A04B6C1EA2664F009816D3 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 45 | A4A04B6E1EA2664F009816D3 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; 46 | A4A04B6F1EA2664F009816D3 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; 47 | A4A04B771EA2664F009816D3 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 48 | A4A04B7A1EA2664F009816D3 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 49 | A4A04B7C1EA2664F009816D3 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 50 | /* End PBXFileReference section */ 51 | 52 | /* Begin PBXFrameworksBuildPhase section */ 53 | A4A04B651EA2664F009816D3 /* Frameworks */ = { 54 | isa = PBXFrameworksBuildPhase; 55 | buildActionMask = 2147483647; 56 | files = ( 57 | ); 58 | runOnlyForDeploymentPostprocessing = 0; 59 | }; 60 | /* End PBXFrameworksBuildPhase section */ 61 | 62 | /* Begin PBXGroup section */ 63 | A441C75D1EA3BAD100034762 /* ViewContrillers(功能控制器) */ = { 64 | isa = PBXGroup; 65 | children = ( 66 | A441C7641EA3BAD100034762 /* Discover(发现模块) */, 67 | A441C7671EA3BAD100034762 /* Home(首页模块) */, 68 | A441C76D1EA3BAD100034762 /* Message(消息模块) */, 69 | A441C7701EA3BAD100034762 /* Profile(我的模块) */, 70 | ); 71 | name = "ViewContrillers(功能控制器)"; 72 | path = ViewContrillers; 73 | sourceTree = ""; 74 | }; 75 | A441C75E1EA3BAD100034762 /* BaseVC(右侧控制器) */ = { 76 | isa = PBXGroup; 77 | children = ( 78 | A441C75F1EA3BAD100034762 /* controller.json */, 79 | A441C7601EA3BAD100034762 /* JJMainTabBarVC.h */, 80 | A441C7611EA3BAD100034762 /* JJMainTabBarVC.m */, 81 | A441C7621EA3BAD100034762 /* UIViewController+JJ.h */, 82 | A441C7631EA3BAD100034762 /* UIViewController+JJ.m */, 83 | ); 84 | name = "BaseVC(右侧控制器)"; 85 | path = ViewContrillers/BaseViewController; 86 | sourceTree = ""; 87 | }; 88 | A441C7641EA3BAD100034762 /* Discover(发现模块) */ = { 89 | isa = PBXGroup; 90 | children = ( 91 | A441C7651EA3BAD100034762 /* JJDiscoverVC.h */, 92 | A441C7661EA3BAD100034762 /* JJDiscoverVC.m */, 93 | ); 94 | name = "Discover(发现模块)"; 95 | path = Discover; 96 | sourceTree = ""; 97 | }; 98 | A441C7671EA3BAD100034762 /* Home(首页模块) */ = { 99 | isa = PBXGroup; 100 | children = ( 101 | A441C7681EA3BAD100034762 /* JJHomeVC.h */, 102 | A441C7691EA3BAD100034762 /* JJHomeVC.m */, 103 | ); 104 | name = "Home(首页模块)"; 105 | path = Home; 106 | sourceTree = ""; 107 | }; 108 | A441C76A1EA3BAD100034762 /* LeftVC(左侧控制器) */ = { 109 | isa = PBXGroup; 110 | children = ( 111 | A441C76B1EA3BAD100034762 /* JJLeftVC.h */, 112 | A441C76C1EA3BAD100034762 /* JJLeftVC.m */, 113 | ); 114 | name = "LeftVC(左侧控制器)"; 115 | path = ViewContrillers/LeftVC; 116 | sourceTree = ""; 117 | }; 118 | A441C76D1EA3BAD100034762 /* Message(消息模块) */ = { 119 | isa = PBXGroup; 120 | children = ( 121 | A441C76E1EA3BAD100034762 /* JJMessageVC.h */, 122 | A441C76F1EA3BAD100034762 /* JJMessageVC.m */, 123 | ); 124 | name = "Message(消息模块)"; 125 | path = Message; 126 | sourceTree = ""; 127 | }; 128 | A441C7701EA3BAD100034762 /* Profile(我的模块) */ = { 129 | isa = PBXGroup; 130 | children = ( 131 | A441C7711EA3BAD100034762 /* JJProfileVC.h */, 132 | A441C7721EA3BAD100034762 /* JJProfileVC.m */, 133 | ); 134 | name = "Profile(我的模块)"; 135 | path = Profile; 136 | sourceTree = ""; 137 | }; 138 | A441C77B1EA3BBF100034762 /* SliderVC(侧滑控制器) */ = { 139 | isa = PBXGroup; 140 | children = ( 141 | A441C77C1EA3BBF100034762 /* JJSliderViewController.h */, 142 | A441C77D1EA3BBF100034762 /* JJSliderViewController.m */, 143 | ); 144 | name = "SliderVC(侧滑控制器)"; 145 | path = SliderVC; 146 | sourceTree = ""; 147 | }; 148 | A441C77F1EA3BD3800034762 /* Screenshot */ = { 149 | isa = PBXGroup; 150 | children = ( 151 | ); 152 | path = Screenshot; 153 | sourceTree = ""; 154 | }; 155 | A4A04B5F1EA2664F009816D3 = { 156 | isa = PBXGroup; 157 | children = ( 158 | A4A04B6A1EA2664F009816D3 /* JJSliderViewController */, 159 | A4A04B691EA2664F009816D3 /* Products */, 160 | ); 161 | sourceTree = ""; 162 | }; 163 | A4A04B691EA2664F009816D3 /* Products */ = { 164 | isa = PBXGroup; 165 | children = ( 166 | A4A04B681EA2664F009816D3 /* JJSliderViewController.app */, 167 | ); 168 | name = Products; 169 | sourceTree = ""; 170 | }; 171 | A4A04B6A1EA2664F009816D3 /* JJSliderViewController */ = { 172 | isa = PBXGroup; 173 | children = ( 174 | A441C77F1EA3BD3800034762 /* Screenshot */, 175 | A4A04B821EA26681009816D3 /* SliderViewController */, 176 | A4A04B831EA2668E009816D3 /* Default */, 177 | A4A04B6B1EA2664F009816D3 /* Supporting Files */, 178 | ); 179 | path = JJSliderViewController; 180 | sourceTree = ""; 181 | }; 182 | A4A04B6B1EA2664F009816D3 /* Supporting Files */ = { 183 | isa = PBXGroup; 184 | children = ( 185 | A4A04B6C1EA2664F009816D3 /* main.m */, 186 | ); 187 | name = "Supporting Files"; 188 | sourceTree = ""; 189 | }; 190 | A4A04B821EA26681009816D3 /* SliderViewController */ = { 191 | isa = PBXGroup; 192 | children = ( 193 | A441C77B1EA3BBF100034762 /* SliderVC(侧滑控制器) */, 194 | A441C76A1EA3BAD100034762 /* LeftVC(左侧控制器) */, 195 | A441C75E1EA3BAD100034762 /* BaseVC(右侧控制器) */, 196 | A441C75D1EA3BAD100034762 /* ViewContrillers(功能控制器) */, 197 | ); 198 | path = SliderViewController; 199 | sourceTree = ""; 200 | }; 201 | A4A04B831EA2668E009816D3 /* Default */ = { 202 | isa = PBXGroup; 203 | children = ( 204 | A4A04B6E1EA2664F009816D3 /* AppDelegate.h */, 205 | A4A04B6F1EA2664F009816D3 /* AppDelegate.m */, 206 | A4A04B771EA2664F009816D3 /* Assets.xcassets */, 207 | A4A04B791EA2664F009816D3 /* LaunchScreen.storyboard */, 208 | A4A04B7C1EA2664F009816D3 /* Info.plist */, 209 | ); 210 | name = Default; 211 | sourceTree = ""; 212 | }; 213 | /* End PBXGroup section */ 214 | 215 | /* Begin PBXNativeTarget section */ 216 | A4A04B671EA2664F009816D3 /* JJSliderViewController */ = { 217 | isa = PBXNativeTarget; 218 | buildConfigurationList = A4A04B7F1EA2664F009816D3 /* Build configuration list for PBXNativeTarget "JJSliderViewController" */; 219 | buildPhases = ( 220 | A4A04B641EA2664F009816D3 /* Sources */, 221 | A4A04B651EA2664F009816D3 /* Frameworks */, 222 | A4A04B661EA2664F009816D3 /* Resources */, 223 | ); 224 | buildRules = ( 225 | ); 226 | dependencies = ( 227 | ); 228 | name = JJSliderViewController; 229 | productName = JJSliderViewController; 230 | productReference = A4A04B681EA2664F009816D3 /* JJSliderViewController.app */; 231 | productType = "com.apple.product-type.application"; 232 | }; 233 | /* End PBXNativeTarget section */ 234 | 235 | /* Begin PBXProject section */ 236 | A4A04B601EA2664F009816D3 /* Project object */ = { 237 | isa = PBXProject; 238 | attributes = { 239 | CLASSPREFIX = JJ; 240 | LastUpgradeCheck = 0830; 241 | ORGANIZATIONNAME = "罗文琦"; 242 | TargetAttributes = { 243 | A4A04B671EA2664F009816D3 = { 244 | CreatedOnToolsVersion = 8.3.1; 245 | DevelopmentTeam = 47BSKU7WYS; 246 | ProvisioningStyle = Automatic; 247 | }; 248 | }; 249 | }; 250 | buildConfigurationList = A4A04B631EA2664F009816D3 /* Build configuration list for PBXProject "JJSliderViewController" */; 251 | compatibilityVersion = "Xcode 3.2"; 252 | developmentRegion = English; 253 | hasScannedForEncodings = 0; 254 | knownRegions = ( 255 | en, 256 | Base, 257 | ); 258 | mainGroup = A4A04B5F1EA2664F009816D3; 259 | productRefGroup = A4A04B691EA2664F009816D3 /* Products */; 260 | projectDirPath = ""; 261 | projectRoot = ""; 262 | targets = ( 263 | A4A04B671EA2664F009816D3 /* JJSliderViewController */, 264 | ); 265 | }; 266 | /* End PBXProject section */ 267 | 268 | /* Begin PBXResourcesBuildPhase section */ 269 | A4A04B661EA2664F009816D3 /* Resources */ = { 270 | isa = PBXResourcesBuildPhase; 271 | buildActionMask = 2147483647; 272 | files = ( 273 | A4A04B7B1EA2664F009816D3 /* LaunchScreen.storyboard in Resources */, 274 | A441C7731EA3BAD100034762 /* controller.json in Resources */, 275 | A4A04B781EA2664F009816D3 /* Assets.xcassets in Resources */, 276 | ); 277 | runOnlyForDeploymentPostprocessing = 0; 278 | }; 279 | /* End PBXResourcesBuildPhase section */ 280 | 281 | /* Begin PBXSourcesBuildPhase section */ 282 | A4A04B641EA2664F009816D3 /* Sources */ = { 283 | isa = PBXSourcesBuildPhase; 284 | buildActionMask = 2147483647; 285 | files = ( 286 | A4A04B701EA2664F009816D3 /* AppDelegate.m in Sources */, 287 | A441C7761EA3BAD100034762 /* JJDiscoverVC.m in Sources */, 288 | A441C7741EA3BAD100034762 /* JJMainTabBarVC.m in Sources */, 289 | A441C77E1EA3BBF100034762 /* JJSliderViewController.m in Sources */, 290 | A441C7791EA3BAD100034762 /* JJMessageVC.m in Sources */, 291 | A441C7751EA3BAD100034762 /* UIViewController+JJ.m in Sources */, 292 | A441C77A1EA3BAD100034762 /* JJProfileVC.m in Sources */, 293 | A441C7781EA3BAD100034762 /* JJLeftVC.m in Sources */, 294 | A441C7771EA3BAD100034762 /* JJHomeVC.m in Sources */, 295 | A4A04B6D1EA2664F009816D3 /* main.m in Sources */, 296 | ); 297 | runOnlyForDeploymentPostprocessing = 0; 298 | }; 299 | /* End PBXSourcesBuildPhase section */ 300 | 301 | /* Begin PBXVariantGroup section */ 302 | A4A04B791EA2664F009816D3 /* LaunchScreen.storyboard */ = { 303 | isa = PBXVariantGroup; 304 | children = ( 305 | A4A04B7A1EA2664F009816D3 /* Base */, 306 | ); 307 | name = LaunchScreen.storyboard; 308 | sourceTree = ""; 309 | }; 310 | /* End PBXVariantGroup section */ 311 | 312 | /* Begin XCBuildConfiguration section */ 313 | A4A04B7D1EA2664F009816D3 /* Debug */ = { 314 | isa = XCBuildConfiguration; 315 | buildSettings = { 316 | ALWAYS_SEARCH_USER_PATHS = NO; 317 | CLANG_ANALYZER_NONNULL = YES; 318 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 319 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 320 | CLANG_CXX_LIBRARY = "libc++"; 321 | CLANG_ENABLE_MODULES = YES; 322 | CLANG_ENABLE_OBJC_ARC = YES; 323 | CLANG_WARN_BOOL_CONVERSION = YES; 324 | CLANG_WARN_CONSTANT_CONVERSION = YES; 325 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 326 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 327 | CLANG_WARN_EMPTY_BODY = YES; 328 | CLANG_WARN_ENUM_CONVERSION = YES; 329 | CLANG_WARN_INFINITE_RECURSION = YES; 330 | CLANG_WARN_INT_CONVERSION = YES; 331 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 332 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 333 | CLANG_WARN_UNREACHABLE_CODE = YES; 334 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 335 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 336 | COPY_PHASE_STRIP = NO; 337 | DEBUG_INFORMATION_FORMAT = dwarf; 338 | ENABLE_STRICT_OBJC_MSGSEND = YES; 339 | ENABLE_TESTABILITY = YES; 340 | GCC_C_LANGUAGE_STANDARD = gnu99; 341 | GCC_DYNAMIC_NO_PIC = NO; 342 | GCC_NO_COMMON_BLOCKS = YES; 343 | GCC_OPTIMIZATION_LEVEL = 0; 344 | GCC_PREPROCESSOR_DEFINITIONS = ( 345 | "DEBUG=1", 346 | "$(inherited)", 347 | ); 348 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 349 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 350 | GCC_WARN_UNDECLARED_SELECTOR = YES; 351 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 352 | GCC_WARN_UNUSED_FUNCTION = YES; 353 | GCC_WARN_UNUSED_VARIABLE = YES; 354 | IPHONEOS_DEPLOYMENT_TARGET = 10.3; 355 | MTL_ENABLE_DEBUG_INFO = YES; 356 | ONLY_ACTIVE_ARCH = YES; 357 | SDKROOT = iphoneos; 358 | TARGETED_DEVICE_FAMILY = "1,2"; 359 | }; 360 | name = Debug; 361 | }; 362 | A4A04B7E1EA2664F009816D3 /* Release */ = { 363 | isa = XCBuildConfiguration; 364 | buildSettings = { 365 | ALWAYS_SEARCH_USER_PATHS = NO; 366 | CLANG_ANALYZER_NONNULL = YES; 367 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 368 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 369 | CLANG_CXX_LIBRARY = "libc++"; 370 | CLANG_ENABLE_MODULES = YES; 371 | CLANG_ENABLE_OBJC_ARC = YES; 372 | CLANG_WARN_BOOL_CONVERSION = YES; 373 | CLANG_WARN_CONSTANT_CONVERSION = YES; 374 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 375 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 376 | CLANG_WARN_EMPTY_BODY = YES; 377 | CLANG_WARN_ENUM_CONVERSION = YES; 378 | CLANG_WARN_INFINITE_RECURSION = YES; 379 | CLANG_WARN_INT_CONVERSION = YES; 380 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 381 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 382 | CLANG_WARN_UNREACHABLE_CODE = YES; 383 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 384 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 385 | COPY_PHASE_STRIP = NO; 386 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 387 | ENABLE_NS_ASSERTIONS = NO; 388 | ENABLE_STRICT_OBJC_MSGSEND = YES; 389 | GCC_C_LANGUAGE_STANDARD = gnu99; 390 | GCC_NO_COMMON_BLOCKS = YES; 391 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 392 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 393 | GCC_WARN_UNDECLARED_SELECTOR = YES; 394 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 395 | GCC_WARN_UNUSED_FUNCTION = YES; 396 | GCC_WARN_UNUSED_VARIABLE = YES; 397 | IPHONEOS_DEPLOYMENT_TARGET = 10.3; 398 | MTL_ENABLE_DEBUG_INFO = NO; 399 | SDKROOT = iphoneos; 400 | TARGETED_DEVICE_FAMILY = "1,2"; 401 | VALIDATE_PRODUCT = YES; 402 | }; 403 | name = Release; 404 | }; 405 | A4A04B801EA2664F009816D3 /* Debug */ = { 406 | isa = XCBuildConfiguration; 407 | buildSettings = { 408 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 409 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 410 | DEVELOPMENT_TEAM = 47BSKU7WYS; 411 | INFOPLIST_FILE = JJSliderViewController/Info.plist; 412 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 413 | PRODUCT_BUNDLE_IDENTIFIER = JSliderViewController1234; 414 | PRODUCT_NAME = "$(TARGET_NAME)"; 415 | PROVISIONING_PROFILE_SPECIFIER = ""; 416 | }; 417 | name = Debug; 418 | }; 419 | A4A04B811EA2664F009816D3 /* Release */ = { 420 | isa = XCBuildConfiguration; 421 | buildSettings = { 422 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 423 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 424 | DEVELOPMENT_TEAM = 47BSKU7WYS; 425 | INFOPLIST_FILE = JJSliderViewController/Info.plist; 426 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 427 | PRODUCT_BUNDLE_IDENTIFIER = JSliderViewController1234; 428 | PRODUCT_NAME = "$(TARGET_NAME)"; 429 | PROVISIONING_PROFILE_SPECIFIER = ""; 430 | }; 431 | name = Release; 432 | }; 433 | /* End XCBuildConfiguration section */ 434 | 435 | /* Begin XCConfigurationList section */ 436 | A4A04B631EA2664F009816D3 /* Build configuration list for PBXProject "JJSliderViewController" */ = { 437 | isa = XCConfigurationList; 438 | buildConfigurations = ( 439 | A4A04B7D1EA2664F009816D3 /* Debug */, 440 | A4A04B7E1EA2664F009816D3 /* Release */, 441 | ); 442 | defaultConfigurationIsVisible = 0; 443 | defaultConfigurationName = Release; 444 | }; 445 | A4A04B7F1EA2664F009816D3 /* Build configuration list for PBXNativeTarget "JJSliderViewController" */ = { 446 | isa = XCConfigurationList; 447 | buildConfigurations = ( 448 | A4A04B801EA2664F009816D3 /* Debug */, 449 | A4A04B811EA2664F009816D3 /* Release */, 450 | ); 451 | defaultConfigurationIsVisible = 0; 452 | defaultConfigurationName = Release; 453 | }; 454 | /* End XCConfigurationList section */ 455 | }; 456 | rootObject = A4A04B601EA2664F009816D3 /* Project object */; 457 | } 458 | -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // JJSliderViewController 4 | // 5 | // Created by 罗文琦 on 2017/4/15. 6 | // Copyright © 2017年 罗文琦. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | 12 | @interface AppDelegate : UIResponder 13 | 14 | @property (strong, nonatomic) UIWindow *window; 15 | 16 | 17 | 18 | 19 | 20 | 21 | @end 22 | 23 | -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/AppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.m 3 | // JJSliderViewController 4 | // 5 | // Created by 罗文琦 on 2017/4/15. 6 | // Copyright © 2017年 罗文琦. All rights reserved. 7 | // 8 | 9 | #import "AppDelegate.h" 10 | #import "JJMainTabBarVC.h" 11 | #import "JJSliderViewController.h" 12 | #import "JJLeftVC.h" 13 | 14 | @interface AppDelegate () 15 | 16 | @end 17 | 18 | @implementation AppDelegate 19 | 20 | 21 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { 22 | 23 | self.window = [[UIWindow alloc]init]; 24 | 25 | JJLeftVC* leftVC = [[JJLeftVC alloc]init]; 26 | 27 | JJMainTabBarVC* mainTabBarVC = [[JJMainTabBarVC alloc]init]; 28 | JJSliderViewController* sliderVC = [[JJSliderViewController alloc]initWithLeftVC:leftVC rightVC:mainTabBarVC]; 29 | self.window.rootViewController = sliderVC; 30 | 31 | [self.window makeKeyAndVisible]; 32 | 33 | 34 | 35 | return YES; 36 | } 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | - (void)applicationWillResignActive:(UIApplication *)application { 52 | // 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. 53 | // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game. 54 | } 55 | 56 | 57 | - (void)applicationDidEnterBackground:(UIApplication *)application { 58 | // 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. 59 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 60 | } 61 | 62 | 63 | - (void)applicationWillEnterForeground:(UIApplication *)application { 64 | // 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. 65 | } 66 | 67 | 68 | - (void)applicationDidBecomeActive:(UIApplication *)application { 69 | // 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. 70 | } 71 | 72 | 73 | - (void)applicationWillTerminate:(UIApplication *)application { 74 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 75 | } 76 | 77 | 78 | @end 79 | -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/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 | "idiom" : "ipad", 45 | "size" : "20x20", 46 | "scale" : "1x" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "size" : "20x20", 51 | "scale" : "2x" 52 | }, 53 | { 54 | "idiom" : "ipad", 55 | "size" : "29x29", 56 | "scale" : "1x" 57 | }, 58 | { 59 | "idiom" : "ipad", 60 | "size" : "29x29", 61 | "scale" : "2x" 62 | }, 63 | { 64 | "idiom" : "ipad", 65 | "size" : "40x40", 66 | "scale" : "1x" 67 | }, 68 | { 69 | "idiom" : "ipad", 70 | "size" : "40x40", 71 | "scale" : "2x" 72 | }, 73 | { 74 | "idiom" : "ipad", 75 | "size" : "76x76", 76 | "scale" : "1x" 77 | }, 78 | { 79 | "idiom" : "ipad", 80 | "size" : "76x76", 81 | "scale" : "2x" 82 | }, 83 | { 84 | "idiom" : "ipad", 85 | "size" : "83.5x83.5", 86 | "scale" : "2x" 87 | } 88 | ], 89 | "info" : { 90 | "version" : 1, 91 | "author" : "xcode" 92 | } 93 | } -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/compose_slogan.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "compose_slogan@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "filename" : "compose_slogan@3x.png", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/compose_slogan.imageset/compose_slogan@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/compose_slogan.imageset/compose_slogan@2x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/compose_slogan.imageset/compose_slogan@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/compose_slogan.imageset/compose_slogan@3x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/main_badge.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "main_badge@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 | } -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/main_badge.imageset/main_badge@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/main_badge.imageset/main_badge@2x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_background.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "tabbar_background@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 | } -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_background.imageset/tabbar_background@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_background.imageset/tabbar_background@2x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_background_icon_close.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "tabbar_compose_background_icon_close@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "filename" : "tabbar_compose_background_icon_close@3x.png", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_background_icon_close.imageset/tabbar_compose_background_icon_close@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_background_icon_close.imageset/tabbar_compose_background_icon_close@2x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_background_icon_close.imageset/tabbar_compose_background_icon_close@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_background_icon_close.imageset/tabbar_compose_background_icon_close@3x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_background_icon_return.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "tabbar_compose_background_icon_return@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "filename" : "tabbar_compose_background_icon_return@3x.png", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_background_icon_return.imageset/tabbar_compose_background_icon_return@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_background_icon_return.imageset/tabbar_compose_background_icon_return@2x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_background_icon_return.imageset/tabbar_compose_background_icon_return@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_background_icon_return.imageset/tabbar_compose_background_icon_return@3x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_button.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "tabbar_compose_button@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "filename" : "tabbar_compose_button@3x.png", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_button.imageset/tabbar_compose_button@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_button.imageset/tabbar_compose_button@2x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_button.imageset/tabbar_compose_button@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_button.imageset/tabbar_compose_button@3x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_button_highlighted.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "tabbar_compose_button_highlighted@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "filename" : "tabbar_compose_button_highlighted@3x.png", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_button_highlighted.imageset/tabbar_compose_button_highlighted@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_button_highlighted.imageset/tabbar_compose_button_highlighted@2x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_button_highlighted.imageset/tabbar_compose_button_highlighted@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_button_highlighted.imageset/tabbar_compose_button_highlighted@3x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_camera.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "tabbar_compose_camera@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "filename" : "tabbar_compose_camera@3x.png", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_camera.imageset/tabbar_compose_camera@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_camera.imageset/tabbar_compose_camera@2x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_camera.imageset/tabbar_compose_camera@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_camera.imageset/tabbar_compose_camera@3x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_friend.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "tabbar_compose_friend@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "filename" : "tabbar_compose_friend@3x.png", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_friend.imageset/tabbar_compose_friend@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_friend.imageset/tabbar_compose_friend@2x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_friend.imageset/tabbar_compose_friend@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_friend.imageset/tabbar_compose_friend@3x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_icon_add.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "tabbar_compose_icon_add@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "filename" : "tabbar_compose_icon_add@3x.png", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_icon_add.imageset/tabbar_compose_icon_add@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_icon_add.imageset/tabbar_compose_icon_add@2x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_icon_add.imageset/tabbar_compose_icon_add@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_icon_add.imageset/tabbar_compose_icon_add@3x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_icon_add_highlighted.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "tabbar_compose_icon_add_highlighted@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "filename" : "tabbar_compose_icon_add_highlighted@3x.png", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_icon_add_highlighted.imageset/tabbar_compose_icon_add_highlighted@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_icon_add_highlighted.imageset/tabbar_compose_icon_add_highlighted@2x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_icon_add_highlighted.imageset/tabbar_compose_icon_add_highlighted@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_icon_add_highlighted.imageset/tabbar_compose_icon_add_highlighted@3x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_idea.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "tabbar_compose_idea@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "filename" : "tabbar_compose_idea@3x.png", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_idea.imageset/tabbar_compose_idea@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_idea.imageset/tabbar_compose_idea@2x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_idea.imageset/tabbar_compose_idea@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_idea.imageset/tabbar_compose_idea@3x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_lbs.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "tabbar_compose_lbs@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "filename" : "tabbar_compose_lbs@3x.png", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_lbs.imageset/tabbar_compose_lbs@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_lbs.imageset/tabbar_compose_lbs@2x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_lbs.imageset/tabbar_compose_lbs@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_lbs.imageset/tabbar_compose_lbs@3x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_more.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "tabbar_compose_more@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "filename" : "tabbar_compose_more@3x.png", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_more.imageset/tabbar_compose_more@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_more.imageset/tabbar_compose_more@2x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_more.imageset/tabbar_compose_more@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_more.imageset/tabbar_compose_more@3x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_music.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "tabbar_compose_music@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "filename" : "tabbar_compose_music@3x.png", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_music.imageset/tabbar_compose_music@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_music.imageset/tabbar_compose_music@2x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_music.imageset/tabbar_compose_music@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_music.imageset/tabbar_compose_music@3x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_photo.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "tabbar_compose_photo@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "filename" : "tabbar_compose_photo@3x.png", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_photo.imageset/tabbar_compose_photo@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_photo.imageset/tabbar_compose_photo@2x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_photo.imageset/tabbar_compose_photo@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_photo.imageset/tabbar_compose_photo@3x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_review.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "tabbar_compose_review@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "filename" : "tabbar_compose_review@3x.png", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_review.imageset/tabbar_compose_review@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_review.imageset/tabbar_compose_review@2x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_review.imageset/tabbar_compose_review@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_review.imageset/tabbar_compose_review@3x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_shooting.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "tabbar_compose_shooting@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "filename" : "tabbar_compose_shooting@3x.png", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_shooting.imageset/tabbar_compose_shooting@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_shooting.imageset/tabbar_compose_shooting@2x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_shooting.imageset/tabbar_compose_shooting@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_shooting.imageset/tabbar_compose_shooting@3x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_transfer.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "tabbar_compose_transfer@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "filename" : "tabbar_compose_transfer@3x.png", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_transfer.imageset/tabbar_compose_transfer@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_transfer.imageset/tabbar_compose_transfer@2x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_transfer.imageset/tabbar_compose_transfer@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_transfer.imageset/tabbar_compose_transfer@3x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_wbcamera.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "tabbar_compose_wbcamera@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "filename" : "tabbar_compose_wbcamera@3x.png", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_wbcamera.imageset/tabbar_compose_wbcamera@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_wbcamera.imageset/tabbar_compose_wbcamera@2x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_wbcamera.imageset/tabbar_compose_wbcamera@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_wbcamera.imageset/tabbar_compose_wbcamera@3x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_weibo.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "tabbar_compose_weibo@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "filename" : "tabbar_compose_weibo@3x.png", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_weibo.imageset/tabbar_compose_weibo@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_weibo.imageset/tabbar_compose_weibo@2x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_weibo.imageset/tabbar_compose_weibo@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_compose_weibo.imageset/tabbar_compose_weibo@3x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_discover.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "tabbar_discover@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "filename" : "tabbar_discover@3x.png", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_discover.imageset/tabbar_discover@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_discover.imageset/tabbar_discover@2x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_discover.imageset/tabbar_discover@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_discover.imageset/tabbar_discover@3x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_discover_selected.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "tabbar_discover_selected@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "filename" : "tabbar_discover_selected@3x.png", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_discover_selected.imageset/tabbar_discover_selected@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_discover_selected.imageset/tabbar_discover_selected@2x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_discover_selected.imageset/tabbar_discover_selected@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_discover_selected.imageset/tabbar_discover_selected@3x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_home.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "tabbar_home@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "filename" : "tabbar_home@3x.png", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_home.imageset/tabbar_home@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_home.imageset/tabbar_home@2x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_home.imageset/tabbar_home@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_home.imageset/tabbar_home@3x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_home_selected.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "tabbar_home_selected@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "filename" : "tabbar_home_selected@3x.png", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_home_selected.imageset/tabbar_home_selected@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_home_selected.imageset/tabbar_home_selected@2x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_home_selected.imageset/tabbar_home_selected@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_home_selected.imageset/tabbar_home_selected@3x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_message_center.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "tabbar_message_center@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "filename" : "tabbar_message_center@3x.png", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_message_center.imageset/tabbar_message_center@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_message_center.imageset/tabbar_message_center@2x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_message_center.imageset/tabbar_message_center@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_message_center.imageset/tabbar_message_center@3x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_message_center_selected.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "tabbar_message_center_selected@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "filename" : "tabbar_message_center_selected@3x.png", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_message_center_selected.imageset/tabbar_message_center_selected@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_message_center_selected.imageset/tabbar_message_center_selected@2x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_message_center_selected.imageset/tabbar_message_center_selected@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_message_center_selected.imageset/tabbar_message_center_selected@3x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_profile.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "tabbar_profile@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "filename" : "tabbar_profile@3x.png", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_profile.imageset/tabbar_profile@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_profile.imageset/tabbar_profile@2x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_profile.imageset/tabbar_profile@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_profile.imageset/tabbar_profile@3x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_profile_selected.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "tabbar_profile_selected@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "filename" : "tabbar_profile_selected@3x.png", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_profile_selected.imageset/tabbar_profile_selected@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_profile_selected.imageset/tabbar_profile_selected@2x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_profile_selected.imageset/tabbar_profile_selected@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Assets.xcassets/TabBar/tabbar_profile_selected.imageset/tabbar_profile_selected@3x.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/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 | -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/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 | UIRequiredDeviceCapabilities 26 | 27 | armv7 28 | 29 | UISupportedInterfaceOrientations 30 | 31 | UIInterfaceOrientationPortrait 32 | UIInterfaceOrientationLandscapeLeft 33 | UIInterfaceOrientationLandscapeRight 34 | 35 | UISupportedInterfaceOrientations~ipad 36 | 37 | UIInterfaceOrientationPortrait 38 | UIInterfaceOrientationPortraitUpsideDown 39 | UIInterfaceOrientationLandscapeLeft 40 | UIInterfaceOrientationLandscapeRight 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Screenshot/QQ20170416-230303.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Screenshot/QQ20170416-230303.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Screenshot/QQ20170416-230412.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Screenshot/QQ20170416-230412.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/Screenshot/QQ20170416-230521.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luowenqi/JJSliderViewController/a339354bfcf1bd9a815ae8e2a05cf49e26bb0be4/JJSliderViewController/JJSliderViewController/Screenshot/QQ20170416-230521.png -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/SliderViewController/SliderVC/JJSliderViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // JJSliderViewController.h 3 | // JJSliderViewController 4 | // 5 | // Created by 罗文琦 on 2017/4/15. 6 | // Copyright © 2017年 罗文琦. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | 12 | 13 | 14 | 15 | @interface JJSliderViewController : UIViewController 16 | 17 | 18 | /** 19 | 左侧控制器 20 | */ 21 | @property(nonatomic , strong) UIViewController * leftVC; 22 | 23 | 24 | /** 25 | 右侧控制器 26 | */ 27 | @property(nonatomic , strong) UIViewController * rightVC; 28 | 29 | 30 | /** 31 | 指定初始化方法 32 | */ 33 | -(instancetype)initWithLeftVC:(UIViewController*)leftVC rightVC:(UIViewController*)rightVC; 34 | 35 | -(void)closeLeft; 36 | 37 | -(void)showLeftWithWidth; 38 | 39 | 40 | @end 41 | -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/SliderViewController/SliderVC/JJSliderViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // JJSliderViewController.m 3 | // JJSliderViewController 4 | // 5 | // Created by 罗文琦 on 2017/4/15. 6 | // Copyright © 2017年 罗文琦. All rights reserved. 7 | // 8 | 9 | #import "JJSliderViewController.h" 10 | #define SCREENWIDTH [UIScreen mainScreen].bounds.size.width 11 | 12 | @interface JJSliderViewController () 13 | 14 | @property (nonatomic,strong)UITapGestureRecognizer *tap;//请点手势 15 | @property (nonatomic,strong)UIPanGestureRecognizer *pan;//拖拽手势 16 | @property(nonatomic , strong) UIView * maskView; 17 | 18 | @end 19 | 20 | @implementation JJSliderViewController 21 | 22 | - (void)viewDidLoad { 23 | [super viewDidLoad]; 24 | //设置界面 25 | [self setupUI]; 26 | self.view.backgroundColor = [UIColor greenColor]; 27 | [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(removePanGesture:) name:@"111" object:nil]; 28 | } 29 | 30 | #pragma mark - 删除手势 31 | - (void)removePanGesture:(NSNotification *)notification 32 | { 33 | BOOL gesture = [notification.userInfo[@"key"] integerValue]; 34 | if (gesture == 1) { 35 | [self.rightVC.view addGestureRecognizer:self.pan]; 36 | } 37 | else 38 | { 39 | [self.rightVC.view removeGestureRecognizer:self.pan]; 40 | } 41 | } 42 | 43 | #pragma mark - 指定初始化方法 44 | -(instancetype)initWithLeftVC:(UIViewController*)leftVC rightVC:(UIViewController*)rightVC{ 45 | 46 | if (self = [super init]) { 47 | self.leftVC = leftVC; 48 | self.rightVC = rightVC; 49 | } 50 | return self; 51 | } 52 | 53 | 54 | #pragma mark - 设置界面 55 | -(void)setupUI{ 56 | 57 | _maskView = [[UIView alloc]initWithFrame:self.view.bounds]; 58 | 59 | 60 | 61 | //使用抽屉的方式把左右两侧的控制器加进去 62 | [self addChildViewController:_leftVC]; 63 | [self.view addSubview:_leftVC.view]; 64 | [_leftVC didMoveToParentViewController:self]; 65 | 66 | 67 | [self addChildViewController:_rightVC]; 68 | [self.view addSubview:_rightVC.view]; 69 | [_rightVC didMoveToParentViewController:self]; 70 | 71 | //添加拖拽手势 72 | self.pan = [[UIPanGestureRecognizer alloc]initWithTarget:self action:@selector(slideRightView:)]; 73 | [self.rightVC.view addGestureRecognizer:self.pan]; 74 | } 75 | 76 | 77 | #pragma mark - 拖拽时触发 78 | -(void)slideRightView:(UIPanGestureRecognizer *)pan{ 79 | //取出拖拽偏移量 80 | CGPoint offset = [pan translationInView:self.view]; 81 | //清0 82 | [pan setTranslation:CGPointZero inView:self.view]; 83 | //防止右侧穿帮 84 | if(offset.x + _rightVC.view.frame.origin.x < 0){ 85 | //避免拖动太猛会有间隙,写代码让它回到初始位置 86 | _rightVC.view.transform = CGAffineTransformIdentity; 87 | return; 88 | } 89 | 90 | switch (pan.state) { 91 | case UIGestureRecognizerStateBegan: 92 | case UIGestureRecognizerStateChanged: 93 | //访问右侧控制器 94 | _rightVC.view.transform = CGAffineTransformTranslate(_rightVC.view.transform, offset.x, 0); 95 | break; 96 | case UIGestureRecognizerStateEnded: 97 | case UIGestureRecognizerStateCancelled: 98 | case UIGestureRecognizerStateFailed: 99 | 100 | //MARK: 滑动结束超过一半的情况 101 | //判断有没有超过一半 102 | if(_rightVC.view.frame.origin.x >= SCREENWIDTH * 0.5){ 103 | [self showLeftWithWidth]; 104 | }else{ 105 | [self closeLeft]; 106 | } 107 | default: 108 | break; 109 | } 110 | } 111 | 112 | 113 | 114 | #pragma mark - 显示左侧控制器 115 | -(void)showLeftWithWidth{ 116 | [UIView animateWithDuration:0.4 animations:^{ 117 | _rightVC.view.transform = CGAffineTransformMakeTranslation([UIScreen mainScreen].bounds.size.width - 64, 0); 118 | }]; 119 | [self.rightVC.view addSubview:_maskView]; 120 | UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(closeLeft)]; 121 | //添加到右侧控制器的View 122 | [_rightVC.view addGestureRecognizer:tap]; 123 | //记录tap属性 124 | _tap = tap; 125 | } 126 | 127 | #pragma mark - 关闭左侧控制器 128 | -(void)closeLeft{ 129 | [UIView animateWithDuration:0.4 animations:^{ 130 | _rightVC.view.transform = CGAffineTransformIdentity; 131 | }]; 132 | [_maskView removeFromSuperview]; 133 | [_rightVC.view removeGestureRecognizer:_tap]; 134 | } 135 | @end 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/SliderViewController/ViewContrillers/BaseViewController/JJMainTabBarVC.h: -------------------------------------------------------------------------------- 1 | // 2 | // JJBaseController.h 3 | // JJSliderViewController 4 | // 5 | // Created by 罗文琦 on 2017/4/15. 6 | // Copyright © 2017年 罗文琦. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface JJMainTabBarVC : UITabBarController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/SliderViewController/ViewContrillers/BaseViewController/JJMainTabBarVC.m: -------------------------------------------------------------------------------- 1 | // 2 | // JJBaseController.m 3 | // JJSliderViewController 4 | // 5 | // Created by 罗文琦 on 2017/4/15. 6 | // Copyright © 2017年 罗文琦. All rights reserved. 7 | // 8 | 9 | #import "JJMainTabBarVC.h" 10 | #import "JJSliderViewController.h" 11 | 12 | @interface JJMainTabBarVC () 13 | 14 | @property(nonatomic , strong) NSMutableArray * controllers; 15 | 16 | @end 17 | 18 | @implementation JJMainTabBarVC 19 | 20 | 21 | #pragma mark - 指定初始化方法 22 | -(instancetype)init{ 23 | if (self = [super init]) { 24 | [self setupUI]; 25 | self.view.backgroundColor = [UIColor yellowColor]; 26 | } 27 | return self; 28 | 29 | } 30 | 31 | 32 | #pragma mark - 设置界面 33 | -(void)setupUI{ 34 | //这里使用json的方式,持久化所有的控制器,方便以后的复用 35 | NSURL* jsonURL = [[NSBundle mainBundle] URLForResource:@"controller.json" withExtension:nil]; 36 | NSData* data = [NSData dataWithContentsOfURL:jsonURL]; 37 | //获取到json中的数组 38 | NSArray* jsonArray = [NSJSONSerialization JSONObjectWithData:data options:0 error:nil]; 39 | //使用数组进行循环创建控制器 40 | [self creatViewController:jsonArray]; 41 | self.viewControllers = self.controllers; 42 | 43 | 44 | } 45 | 46 | 47 | #pragma mark - 当左侧的编辑按钮被点击 48 | -(void)navigationLeftItemClick:(UIBarButtonItem*)sender{ 49 | JJSliderViewController* sliderVC = (JJSliderViewController*)self.parentViewController; 50 | [sliderVC showLeftWithWidth]; 51 | } 52 | 53 | 54 | //创建子控制器 55 | -(void)creatViewController:(NSArray*)jsonArray{ 56 | self.controllers = [NSMutableArray arrayWithCapacity:jsonArray.count]; 57 | 58 | for (NSInteger i = 0; i< jsonArray.count; i++) { 59 | Class cls = NSClassFromString(jsonArray[i][@"className"]); 60 | UIViewController* VC = [[cls alloc]init]; 61 | 62 | VC.view.backgroundColor = [UIColor whiteColor]; 63 | //放到导航控制器里面 64 | UINavigationController* nav = [[UINavigationController alloc]initWithRootViewController:VC]; 65 | [self.controllers addObject:nav]; 66 | //设置文字 67 | VC.title = jsonArray[i][@"title"]; 68 | //设置不同状态下的图片 69 | VC.tabBarItem.image = [[UIImage imageNamed:jsonArray[i][@"imageName"]] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal]; 70 | VC.tabBarItem.selectedImage = [[UIImage imageNamed:jsonArray[i][@"selectImageName"]] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal]; 71 | //设置tabBar的字体颜色 72 | [VC.tabBarItem setTitleTextAttributes:@{NSForegroundColorAttributeName:[UIColor orangeColor]} forState:UIControlStateSelected]; 73 | 74 | if (i == 0) { 75 | VC.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc]initWithBarButtonSystemItem:UIBarButtonSystemItemAdd target:self action:@selector(navigationLeftItemClick:)]; 76 | } 77 | } 78 | } 79 | 80 | 81 | @end 82 | -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/SliderViewController/ViewContrillers/BaseViewController/UIViewController+JJ.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIViewController+JJ.h 3 | // JJSliderViewController 4 | // 5 | // Created by 罗文琦 on 2017/4/16. 6 | // Copyright © 2017年 罗文琦. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UIViewController (JJ) 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/SliderViewController/ViewContrillers/BaseViewController/UIViewController+JJ.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIViewController+JJ.m 3 | // JJSliderViewController 4 | // 5 | // Created by 罗文琦 on 2017/4/16. 6 | // Copyright © 2017年 罗文琦. All rights reserved. 7 | // 8 | 9 | #import "UIViewController+JJ.h" 10 | 11 | @implementation UIViewController (JJ) 12 | 13 | - (void)viewDidAppear:(BOOL)animated 14 | { 15 | if (self.navigationController.viewControllers.count == 1) { 16 | [[NSNotificationCenter defaultCenter] postNotificationName:@"111" object:nil userInfo:@{@"key":@(1)}]; 17 | } 18 | } 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/SliderViewController/ViewContrillers/BaseViewController/controller.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "className" : "JJHomeVC", 4 | "title" : "首页", 5 | "imageName" : "tabbar_home", 6 | "selectImageName" : "tabbar_home_selected" 7 | }, 8 | { 9 | "className" : "JJMessageVC", 10 | "title" : "消息", 11 | "imageName" : "tabbar_message_center", 12 | "selectImageName" : "tabbar_message_center_selected" 13 | }, 14 | { 15 | "className" : "JJDiscoverVC", 16 | "title" : "发现", 17 | "imageName" : "tabbar_discover", 18 | "selectImageName" : "tabbar_discover_selected" 19 | }, 20 | { 21 | "className" : "JJProfileVC", 22 | "title" : "我", 23 | "imageName" : "tabbar_profile", 24 | "selectImageName" : "tabbar_profile_selected" 25 | } 26 | ] 27 | -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/SliderViewController/ViewContrillers/Discover/JJDiscoverVC.h: -------------------------------------------------------------------------------- 1 | // 2 | // JJDiscoverVC.h 3 | // JJSliderViewController 4 | // 5 | // Created by 罗文琦 on 2017/4/15. 6 | // Copyright © 2017年 罗文琦. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface JJDiscoverVC : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/SliderViewController/ViewContrillers/Discover/JJDiscoverVC.m: -------------------------------------------------------------------------------- 1 | // 2 | // JJDiscoverVC.m 3 | // JJSliderViewController 4 | // 5 | // Created by 罗文琦 on 2017/4/15. 6 | // Copyright © 2017年 罗文琦. All rights reserved. 7 | // 8 | 9 | #import "JJDiscoverVC.h" 10 | 11 | @interface JJDiscoverVC () 12 | 13 | @end 14 | 15 | @implementation JJDiscoverVC 16 | 17 | - (void)viewDidLoad { 18 | [super viewDidLoad]; 19 | [self setupUI]; 20 | } 21 | 22 | 23 | -(void)setupUI{ 24 | 25 | UIButton* button = [[UIButton alloc]init]; 26 | button.titleLabel.text = @"点我"; 27 | button.backgroundColor = [UIColor redColor]; 28 | 29 | button.frame = CGRectMake(0, 100, 50, 50); 30 | [self.view addSubview:button]; 31 | [button addTarget:self action:@selector(push) forControlEvents:UIControlEventTouchUpInside]; 32 | 33 | 34 | 35 | } 36 | 37 | -(void)push{ 38 | 39 | UIViewController* newVC = [[UIViewController alloc]init]; 40 | newVC.hidesBottomBarWhenPushed = YES; 41 | newVC.view.backgroundColor = [UIColor redColor]; 42 | [self.navigationController pushViewController:newVC animated:YES]; 43 | 44 | } 45 | 46 | 47 | @end 48 | -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/SliderViewController/ViewContrillers/Home/JJHomeVC.h: -------------------------------------------------------------------------------- 1 | // 2 | // JJHomeVC.h 3 | // JJSliderViewController 4 | // 5 | // Created by 罗文琦 on 2017/4/15. 6 | // Copyright © 2017年 罗文琦. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface JJHomeVC : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/SliderViewController/ViewContrillers/Home/JJHomeVC.m: -------------------------------------------------------------------------------- 1 | // 2 | // JJHomeVC.m 3 | // JJSliderViewController 4 | // 5 | // Created by 罗文琦 on 2017/4/15. 6 | // Copyright © 2017年 罗文琦. All rights reserved. 7 | // 8 | 9 | #import "JJHomeVC.h" 10 | 11 | @interface JJHomeVC () 12 | 13 | @end 14 | 15 | @implementation JJHomeVC 16 | 17 | - (void)viewDidLoad { 18 | [super viewDidLoad]; 19 | [self setupUI]; 20 | } 21 | 22 | -(void)setupUI{ 23 | 24 | UIButton* button = [[UIButton alloc]init]; 25 | button.titleLabel.text = @"点我"; 26 | button.backgroundColor = [UIColor redColor]; 27 | 28 | button.frame = CGRectMake(0, 100, 50, 50); 29 | [self.view addSubview:button]; 30 | [button addTarget:self action:@selector(push) forControlEvents:UIControlEventTouchUpInside]; 31 | 32 | 33 | } 34 | 35 | -(void)push{ 36 | 37 | UIViewController* newVC = [[UIViewController alloc]init]; 38 | newVC.hidesBottomBarWhenPushed = YES; 39 | newVC.view.backgroundColor = [UIColor redColor]; 40 | [self.navigationController pushViewController:newVC animated:YES]; 41 | 42 | } 43 | 44 | @end 45 | -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/SliderViewController/ViewContrillers/LeftVC/JJLeftVC.h: -------------------------------------------------------------------------------- 1 | // 2 | // JJLeftVC.h 3 | // JJSliderViewController 4 | // 5 | // Created by 罗文琦 on 2017/4/16. 6 | // Copyright © 2017年 罗文琦. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface JJLeftVC : UIViewController 12 | 13 | 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/SliderViewController/ViewContrillers/LeftVC/JJLeftVC.m: -------------------------------------------------------------------------------- 1 | // 2 | // JJLeftVC.m 3 | // JJSliderViewController 4 | // 5 | // Created by 罗文琦 on 2017/4/16. 6 | // Copyright © 2017年 罗文琦. All rights reserved. 7 | // 8 | 9 | #import "JJLeftVC.h" 10 | #import "JJSliderViewController.h" 11 | #import "JJMainTabBarVC.h" 12 | #import "AppDelegate.h" 13 | 14 | 15 | static NSString* reuserIdentifer = @"reuserIdentifer"; 16 | 17 | @interface JJLeftVC () 18 | 19 | @property(nonatomic , strong) UITableView * tableView; 20 | 21 | @end 22 | 23 | @implementation JJLeftVC 24 | 25 | - (void)viewDidLoad { 26 | [super viewDidLoad]; 27 | 28 | [self setupUI]; 29 | self.view.backgroundColor = [UIColor redColor]; 30 | } 31 | 32 | #pragma mark - 设置界面 33 | -(void)setupUI{ 34 | self.tableView = [[UITableView alloc]initWithFrame:self.view.bounds style:UITableViewStylePlain]; 35 | [self.view addSubview:self.tableView]; 36 | [self.tableView registerClass:[UITableViewCell class] forCellReuseIdentifier:reuserIdentifer]; 37 | self.tableView.dataSource = self; 38 | self.tableView.delegate = self; 39 | } 40 | 41 | 42 | #pragma mark - 实现数据源方法 43 | -(NSInteger)numberOfSectionsInTableView:(UITableView *)tableView{ 44 | return 1; 45 | } 46 | -(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{ 47 | return 10; 48 | } 49 | -(UITableViewCell*)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{ 50 | 51 | UITableViewCell* cell = [tableView dequeueReusableCellWithIdentifier:reuserIdentifer forIndexPath:indexPath]; 52 | cell.textLabel.text = [NSString stringWithFormat:@"%zd",indexPath.row]; 53 | return cell; 54 | } 55 | 56 | 57 | 58 | -(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{ 59 | 60 | 61 | //新建一个控制器 62 | UIViewController *vc = [[UIViewController alloc] init]; 63 | vc.hidesBottomBarWhenPushed = YES; 64 | vc.title = @"新的控制器"; 65 | vc.view.backgroundColor = [UIColor blueColor]; 66 | 67 | 68 | [[self getNavgationVC] pushViewController:vc animated:NO]; 69 | } 70 | 71 | 72 | #pragma mark - 关闭本身 73 | -(void)close{ 74 | //要让左侧控制器收回 75 | JJSliderViewController *sliderVC = (JJSliderViewController *)self.parentViewController; //获取自己父控制器 76 | [sliderVC closeLeft]; 77 | } 78 | 79 | #pragma mark - 获取到navigationVC 80 | -(UINavigationController*)getNavgationVC{ 81 | JJSliderViewController *sliderVC = (JJSliderViewController *)self.parentViewController; //获取自己父控制器 82 | //关闭左侧的控制器 83 | [sliderVC closeLeft]; 84 | //要让右侧控制器进行push 85 | sliderVC.rightVC.view.transform = CGAffineTransformIdentity; 86 | JJMainTabBarVC *rightVC = (JJMainTabBarVC *)sliderVC.rightVC; 87 | //要让右侧控制器进行push 88 | UINavigationController *nav = rightVC.selectedViewController; //代表获取选中的那个控制器 89 | [[NSNotificationCenter defaultCenter] postNotificationName:@"111" object:nil userInfo:@{@"key":@(0)}]; 90 | return nav; 91 | } 92 | @end 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/SliderViewController/ViewContrillers/Message/JJMessageVC.h: -------------------------------------------------------------------------------- 1 | // 2 | // JJMessageVC.h 3 | // JJSliderViewController 4 | // 5 | // Created by 罗文琦 on 2017/4/15. 6 | // Copyright © 2017年 罗文琦. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface JJMessageVC : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/SliderViewController/ViewContrillers/Message/JJMessageVC.m: -------------------------------------------------------------------------------- 1 | // 2 | // JJMessageVC.m 3 | // JJSliderViewController 4 | // 5 | // Created by 罗文琦 on 2017/4/15. 6 | // Copyright © 2017年 罗文琦. All rights reserved. 7 | // 8 | 9 | #import "JJMessageVC.h" 10 | 11 | @interface JJMessageVC () 12 | 13 | @end 14 | 15 | @implementation JJMessageVC 16 | 17 | - (void)viewDidLoad { 18 | [super viewDidLoad]; 19 | // Do any additional setup after loading the view. 20 | } 21 | 22 | - (void)didReceiveMemoryWarning { 23 | [super didReceiveMemoryWarning]; 24 | // Dispose of any resources that can be recreated. 25 | } 26 | 27 | /* 28 | #pragma mark - Navigation 29 | 30 | // In a storyboard-based application, you will often want to do a little preparation before navigation 31 | - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender { 32 | // Get the new view controller using [segue destinationViewController]. 33 | // Pass the selected object to the new view controller. 34 | } 35 | */ 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/SliderViewController/ViewContrillers/Profile/JJProfileVC.h: -------------------------------------------------------------------------------- 1 | // 2 | // JJProfileVC.h 3 | // JJSliderViewController 4 | // 5 | // Created by 罗文琦 on 2017/4/15. 6 | // Copyright © 2017年 罗文琦. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface JJProfileVC : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/SliderViewController/ViewContrillers/Profile/JJProfileVC.m: -------------------------------------------------------------------------------- 1 | // 2 | // JJProfileVC.m 3 | // JJSliderViewController 4 | // 5 | // Created by 罗文琦 on 2017/4/15. 6 | // Copyright © 2017年 罗文琦. All rights reserved. 7 | // 8 | 9 | #import "JJProfileVC.h" 10 | 11 | @interface JJProfileVC () 12 | 13 | @end 14 | 15 | @implementation JJProfileVC 16 | 17 | - (void)viewDidLoad { 18 | [super viewDidLoad]; 19 | // Do any additional setup after loading the view. 20 | } 21 | 22 | - (void)didReceiveMemoryWarning { 23 | [super didReceiveMemoryWarning]; 24 | // Dispose of any resources that can be recreated. 25 | } 26 | 27 | /* 28 | #pragma mark - Navigation 29 | 30 | // In a storyboard-based application, you will often want to do a little preparation before navigation 31 | - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender { 32 | // Get the new view controller using [segue destinationViewController]. 33 | // Pass the selected object to the new view controller. 34 | } 35 | */ 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /JJSliderViewController/JJSliderViewController/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // JJSliderViewController 4 | // 5 | // Created by 罗文琦 on 2017/4/15. 6 | // Copyright © 2017年 罗文琦. 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 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 luowenqi 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # JJSliderViewController 2 | 侧滑框架,一句实现,内存安全,只用了100行不到的代码,就完成实现,精简,轻量化,简洁不简单 3 | 4 | > 使用方法 5 | * 1 在AppDelegate中 引入头文件 6 | ``` 7 | #import "JJMainTabBarVC.h" 8 | #import "JJSliderViewController.h" 9 | #import "JJLeftVC.h" 10 | ``` 11 | * 2创建左侧,右侧控制器,并且把侧滑控制器作为根控制器 12 | 13 | ``` 14 | JJMainTabBarVC* mainTabBarVC = [[JJMainTabBarVC alloc]init]; 15 | JJSliderViewController* sliderVC = [[JJSliderViewController alloc]initWithLeftVC:leftVC rightVC:mainTabBarVC]; 16 | self.window.rootViewController = sliderVC; 17 | ``` 18 | 19 | 20 | * 3.左侧控制器push的方式 21 | ``` 22 | 创建控制器,然后实现下面方法 23 | [[self getNavgationVC] pushViewController:vc animated:NO]; 24 | ``` 25 | 26 | 27 | 28 | ## 优势 29 | - [x] 纯原生,框架内存稳定在25-26M之间,安全 30 | - [x] 初始化方式极为简单,左侧控制器push方式也是一句实现 31 | - [x] 集成了经典框架,大部分情况下可以直接使用而不做任何更改 32 | - [x] 只用了100行不到的代码,就完成实现,精简,轻量化,简洁不简单 33 | 34 | ## 如何更改主页显示的控制器 35 | * 框架使用了加载本地json方式创建控制器,所以想要更改子控制器,只需要在controller.json中更改对应的字段就好,而不需要要引入任何其他的头文件 36 | 37 | ### 效果1 38 | ![image](https://github.com/luowenqi/JJSliderViewController/blob/master/JJSliderViewController/JJSliderViewController/Screenshot/QQ20170416-230303.png) 39 | 40 | ## 效果2 41 | ![image](https://github.com/luowenqi/JJSliderViewController/blob/master/JJSliderViewController/JJSliderViewController/Screenshot/QQ20170416-230412.png) 42 | 43 | ## 快速更换功能模块 44 | ![image](https://github.com/luowenqi/JJSliderViewController/blob/master/JJSliderViewController/JJSliderViewController/Screenshot/QQ20170416-230521.png) 45 | --------------------------------------------------------------------------------