apple1
2018-03-23 c2a34841a7c23752c584558c61227de07ecb6aa8
3/23
36个文件已删除
42个文件已修改
109个文件已添加
3825 ■■■■ 已修改文件
BuWanVideo2.0.xcodeproj/project.pbxproj 125 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0.xcodeproj/xcuserdata/apple.xcuserdatad/xcschemes/BuWanVideo2.0.xcscheme 93 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0.xcodeproj/xcuserdata/apple.xcuserdatad/xcschemes/xcschememanagement.plist 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0.xcworkspace/xcuserdata/apple.xcuserdatad/UserInterfaceState.xcuserstate 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0.xcworkspace/xcuserdata/apple.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist 28 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/AppDelegate.m 125 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/1024.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/Contents.json 50 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/Icon-60@2x.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/Icon-60@3x.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/Icon-72.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/Icon-72@2x.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/Icon-76.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/Icon-76@2x.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/Icon-83.5@2x.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/Icon-Notification.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/Icon-Notification@2x-1.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/Icon-Notification@2x.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/Icon-Notification@3x.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/Icon-Small-1.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/Icon-Small-40.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/Icon-Small-40@2x-1.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/Icon-Small-40@2x.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/Icon-Small-40@3x.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/Icon-Small-50.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/Icon-Small-50@2x.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/Icon-Small.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/Icon-Small@2x-1.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/Icon-Small@2x.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/Icon-Small@3x.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/Icon.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/Icon@2x.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/图标-100.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/图标-100的副本-1.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/图标-100的副本-2.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/图标-100的副本.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/图标-1024.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/图标-114.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/图标-120.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/图标-121.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/图标-144.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/图标-152.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/图标-180.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/图标-29.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/图标-30.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/图标-40.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/图标-41.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/图标-42.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/图标-50.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/图标-57.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/图标-58.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/图标-59.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/图标-72.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/图标-76.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/图标-80.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/图标-81.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/图标-87.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/LaunchImage.launchimage/1242-2208.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/LaunchImage.launchimage/1242x2208.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/LaunchImage.launchimage/1536-2048.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/LaunchImage.launchimage/1536x2048.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/LaunchImage.launchimage/640-1136.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/LaunchImage.launchimage/640-960.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/LaunchImage.launchimage/640x1136.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/LaunchImage.launchimage/640x960.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/LaunchImage.launchimage/750-1334.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/LaunchImage.launchimage/750x1334.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/LaunchImage.launchimage/768-1024.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/LaunchImage.launchimage/768x1024.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/LaunchImage.launchimage/Contents.json 162 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/Camera-拷贝.imageset/Camera-拷贝.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/Camera-拷贝.imageset/Contents.json 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/Camera.imageset/Camera.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/Camera.imageset/Contents.json 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/Contents.json 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/Desktop-拷贝.imageset/Contents.json 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/Desktop-拷贝.imageset/Desktop-拷贝.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/Desktop.imageset/Contents.json 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/Desktop.imageset/Desktop.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/Home-拷贝.imageset/Contents.json 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/Home-拷贝.imageset/Home-拷贝.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/Home.imageset/Contents.json 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/Home.imageset/Home.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/Navigation-拷贝.imageset/Contents.json 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/Navigation-拷贝.imageset/Navigation-拷贝.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/Navigation.imageset/Contents.json 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/Navigation.imageset/Navigation.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/User-拷贝.imageset/Contents.json 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/User-拷贝.imageset/User-拷贝.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/User.imageset/Contents.json 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/User.imageset/User.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/copyright@2016-2019-yingshidaquan.imageset/Contents.json 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/copyright@2016-2019-yingshidaquan.imageset/copyright@2016-2019-yingshidaquan.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/mylogo.imageset/Contents.json 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/mylogo.imageset/mylogo.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/主播.imageset/Contents.json 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/主播.imageset/主播.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/乐舞.imageset/Contents.json 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/乐舞.imageset/乐舞.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/体育.imageset/Contents.json 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/体育.imageset/体育.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/动漫.imageset/Contents.json 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/动漫.imageset/动漫.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/头条.imageset/Contents.json 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/头条.imageset/头条.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/娱乐.imageset/Contents.json 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/娱乐.imageset/娱乐.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/搜索.imageset/Contents.json 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/搜索.imageset/搜索.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/椭圆-7-拷贝-2.imageset/Contents.json 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/椭圆-7-拷贝-2.imageset/椭圆-7-拷贝-2.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/游戏.imageset/Contents.json 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/游戏.imageset/游戏.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/独家.imageset/Contents.json 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/独家.imageset/独家.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/生活.imageset/Contents.json 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/生活.imageset/生活.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/电影.imageset/Contents.json 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/电影.imageset/电影.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/电视剧.imageset/Contents.json 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/电视剧.imageset/电视剧.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/科技.imageset/Contents.json 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/科技.imageset/科技.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/组-1.imageset/Contents.json 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/组-1.imageset/组-1.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/综艺.imageset/Contents.json 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/综艺.imageset/综艺.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/加载中.imageset/Contents.json 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Assets.xcassets/加载中.imageset/加载中.jpg 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Base.lproj/LaunchScreen.storyboard 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/BaseViewController.h 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/BaseViewController.m 144 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/CellOne.m 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/CollectionController.m 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Common.h 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/HeaderCollectionReusableView.xib 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Info.plist 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/JYNetWorking.h 115 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/JYNetWorking.m 272 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/LeftTableViewCell.m 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/LeftTableViewCell.xib 24 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/LeftViewController.h 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/LeftViewController.m 54 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/LeftViewController.xib 41 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/LookNoteController.m 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/MainViewController.m 13 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/MineViewController.h 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/MineViewController.m 53 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/MyRegardController.m 38 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/NoteCell.xib 28 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/OnlySpecialController.m 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/OnlySpecialOne.xib 24 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/OnlySpecialThere.xib 20 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/RegardCell.xib 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/StorageSpaceTableViewCell.xib 22 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/SubregionDetailViewController.m 116 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/XYRDetailViewController.m 125 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/YTHNetInterface.h 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/YTHNetInterface.m 70 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/YTHNetdata.h 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/YTHNetdata.m 74 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/YTHsharedManger.h 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/discoverGoodsDetailViewController.m 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/discoverView.m 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/discoverViewController.h 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/discoverViewController.m 58 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/iphone4.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/iphone5.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/iphone6.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/iphone6p.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/liveOnLineView.m 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/recommendView.m 979 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/recommendViewController.h 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/recommendViewController.m 59 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/searchDetailViewController.m 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/searchViewController.m 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/subregionView.m 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/subregionViewController.h 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/subregionViewController.m 55 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/启动图/.DS_Store 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/启动图/320 * 568.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/启动图/320-×-480.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/启动图/375 * 667.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/启动图/414 *736.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/启动图/621-×-1104.png 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/启动图/640x1136.png 补丁 | 查看 | 原始文档 | blame | 历史
PrefixHeader.pch 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0.xcodeproj/project.pbxproj
@@ -8,10 +8,6 @@
/* Begin PBXBuildFile section */
        18052EA31E208379005997FC /* SafariServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 18052EA21E208379005997FC /* SafariServices.framework */; };
        180ACA161DF933C000969256 /* iphone6p.png in Resources */ = {isa = PBXBuildFile; fileRef = 180ACA121DF933C000969256 /* iphone6p.png */; };
        180ACA171DF933C000969256 /* iphone4.png in Resources */ = {isa = PBXBuildFile; fileRef = 180ACA131DF933C000969256 /* iphone4.png */; };
        180ACA181DF933C000969256 /* iphone6.png in Resources */ = {isa = PBXBuildFile; fileRef = 180ACA141DF933C000969256 /* iphone6.png */; };
        180ACA191DF933C000969256 /* iphone5.png in Resources */ = {isa = PBXBuildFile; fileRef = 180ACA151DF933C000969256 /* iphone5.png */; };
        181D3A091E1DFD5300CDBDE9 /* XYRUITextField.m in Sources */ = {isa = PBXBuildFile; fileRef = 181D3A081E1DFD5300CDBDE9 /* XYRUITextField.m */; };
        1823F4CA1DACC91F00C114C3 /* forgetPasswordViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 1823F4C81DACC91F00C114C3 /* forgetPasswordViewController.m */; };
        1823F4CB1DACC91F00C114C3 /* forgetPasswordViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 1823F4C91DACC91F00C114C3 /* forgetPasswordViewController.xib */; };
@@ -38,11 +34,12 @@
        1884A6031E545D4900548480 /* PopoverViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 1884A5FF1E545D4900548480 /* PopoverViewCell.m */; };
        1884A6041E545D4900548480 /* PopoverViews.m in Sources */ = {isa = PBXBuildFile; fileRef = 1884A6011E545D4900548480 /* PopoverViews.m */; };
        1884A6081E54630300548480 /* LGLAlertView.m in Sources */ = {isa = PBXBuildFile; fileRef = 1884A6071E54630300548480 /* LGLAlertView.m */; };
        1896FB8A1F736A9200720355 /* libGDTMobSDK.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1896FB891F7360D300720355 /* libGDTMobSDK.a */; };
        189787821D9233E9006245B9 /* View.xib in Resources */ = {isa = PBXBuildFile; fileRef = 189787811D9233E9006245B9 /* View.xib */; };
        189787861D925B5D006245B9 /* GoogleAdTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 189787841D925B5D006245B9 /* GoogleAdTableViewCell.m */; };
        189787871D925B5D006245B9 /* GoogleAdTableViewCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = 189787851D925B5D006245B9 /* GoogleAdTableViewCell.xib */; };
        189EFECB1EF1465D00C59CAB /* yw_1222.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 189EFECA1EF1465D00C59CAB /* yw_1222.jpg */; };
        18A0604E2060EEE700BACA54 /* libGDTMobSDK.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 18A060472060EEE500BACA54 /* libGDTMobSDK.a */; };
        18A060502060F7EF00BACA54 /* 640x1136.png in Resources */ = {isa = PBXBuildFile; fileRef = 18A0604F2060F7EF00BACA54 /* 640x1136.png */; };
        18ABF6E31DDD9B4600C9257E /* YTHNetdata.m in Sources */ = {isa = PBXBuildFile; fileRef = 18ABF6E01DDD9B4600C9257E /* YTHNetdata.m */; };
        18ABF6E41DDD9B4600C9257E /* YTHNetInterface.m in Sources */ = {isa = PBXBuildFile; fileRef = 18ABF6E21DDD9B4600C9257E /* YTHNetInterface.m */; };
        18B1C25A1DB5B26B00AB709B /* HMSegmentedControl.m in Sources */ = {isa = PBXBuildFile; fileRef = 18B1C23C1DB5B26B00AB709B /* HMSegmentedControl.m */; };
@@ -75,9 +72,17 @@
        18C13D611EF2802900B49412 /* AlibabaAuthSDK.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 18C13D601EF2802900B49412 /* AlibabaAuthSDK.bundle */; };
        18C5F6401E1B8B0A00537707 /* findTitleTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 18C5F63C1E1B8B0A00537707 /* findTitleTableViewCell.m */; };
        18C5F6411E1B8B0A00537707 /* findTitleTableViewCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = 18C5F63D1E1B8B0A00537707 /* findTitleTableViewCell.xib */; };
        18C7E86820609E1D000E019D /* 320-×-480.png in Resources */ = {isa = PBXBuildFile; fileRef = 18C7E86220609E1D000E019D /* 320-×-480.png */; };
        18C7E86C20609E1D000E019D /* 621-×-1104.png in Resources */ = {isa = PBXBuildFile; fileRef = 18C7E86620609E1D000E019D /* 621-×-1104.png */; };
        18C95F531D94DE2A009CBF0F /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 18C95F521D94DE2A009CBF0F /* GoogleService-Info.plist */; };
        18D94EAB1ECD7B6E00B6FA54 /* newADCollectionViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 18D94EA91ECD7B6E00B6FA54 /* newADCollectionViewCell.m */; };
        18D94EAC1ECD7B6E00B6FA54 /* newADCollectionViewCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = 18D94EAA1ECD7B6E00B6FA54 /* newADCollectionViewCell.xib */; };
        18E943E62057656C0019FD04 /* recommendViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 18E943E52057656C0019FD04 /* recommendViewController.m */; };
        18E943E9205766510019FD04 /* subregionViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 18E943E8205766510019FD04 /* subregionViewController.m */; };
        18E943EC2057667D0019FD04 /* MineViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 18E943EB2057667D0019FD04 /* MineViewController.m */; };
        18E943EF205767120019FD04 /* discoverViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 18E943EE205767120019FD04 /* discoverViewController.m */; };
        18E943F2205774D50019FD04 /* BaseViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 18E943F1205774D50019FD04 /* BaseViewController.m */; };
        18E943F52057C5720019FD04 /* JYNetWorking.m in Sources */ = {isa = PBXBuildFile; fileRef = 18E943F42057C5710019FD04 /* JYNetWorking.m */; };
        18E9F1841DC7308C007112E0 /* cloud.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 18E9F1831DC7308C007112E0 /* cloud.bundle */; };
        18E9F18B1DC730BB007112E0 /* libMobileTracking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 18E9F1861DC730BB007112E0 /* libMobileTracking.a */; };
        18E9F18C1DC730BB007112E0 /* sdkconfig.xml in Resources */ = {isa = PBXBuildFile; fileRef = 18E9F1891DC730BB007112E0 /* sdkconfig.xml */; };
@@ -89,6 +94,9 @@
        18EF91DB1D8E42DA0078C8BD /* NJKWebViewProgress.m in Sources */ = {isa = PBXBuildFile; fileRef = 18EF91D81D8E42DA0078C8BD /* NJKWebViewProgress.m */; };
        18EF91DC1D8E42DA0078C8BD /* NJKWebViewProgressView.m in Sources */ = {isa = PBXBuildFile; fileRef = 18EF91DA1D8E42DA0078C8BD /* NJKWebViewProgressView.m */; };
        18EF91E31D8E47610078C8BD /* WEBViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 18EF91E11D8E47610078C8BD /* WEBViewController.m */; };
        18F151282062326400E61299 /* 414 *736.png in Resources */ = {isa = PBXBuildFile; fileRef = 18F151272062326400E61299 /* 414 *736.png */; };
        18F1512A206233EA00E61299 /* 320 * 568.png in Resources */ = {isa = PBXBuildFile; fileRef = 18F15129206233E900E61299 /* 320 * 568.png */; };
        18F1512C2062374400E61299 /* 375 * 667.png in Resources */ = {isa = PBXBuildFile; fileRef = 18F1512B2062374400E61299 /* 375 * 667.png */; };
        18F2541F1DF0090900826AD0 /* FuLiSheViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 18F2541D1DF0090900826AD0 /* FuLiSheViewController.m */; };
        18F254201DF0090900826AD0 /* FuLiSheViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 18F2541E1DF0090900826AD0 /* FuLiSheViewController.xib */; };
        18F5CA971E1C862D001F526F /* libc++.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 18F5CA961E1C862D001F526F /* libc++.tbd */; };
@@ -307,10 +315,6 @@
        18052EA01E208343005997FC /* Twitter.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Twitter.framework; path = System/Library/Frameworks/Twitter.framework; sourceTree = SDKROOT; };
        18052EA21E208379005997FC /* SafariServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SafariServices.framework; path = System/Library/Frameworks/SafariServices.framework; sourceTree = SDKROOT; };
        18052ECA1E20D4F5005997FC /* yw_1222.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; name = yw_1222.jpg; path = ../yw_1222.jpg; sourceTree = "<group>"; };
        180ACA121DF933C000969256 /* iphone6p.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = iphone6p.png; sourceTree = "<group>"; };
        180ACA131DF933C000969256 /* iphone4.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = iphone4.png; sourceTree = "<group>"; };
        180ACA141DF933C000969256 /* iphone6.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = iphone6.png; sourceTree = "<group>"; };
        180ACA151DF933C000969256 /* iphone5.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = iphone5.png; sourceTree = "<group>"; };
        181D3A071E1DFD5300CDBDE9 /* XYRUITextField.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XYRUITextField.h; sourceTree = "<group>"; };
        181D3A081E1DFD5300CDBDE9 /* XYRUITextField.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = XYRUITextField.m; sourceTree = "<group>"; };
        1823F4C71DACC91F00C114C3 /* forgetPasswordViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = forgetPasswordViewController.h; sourceTree = "<group>"; };
@@ -353,19 +357,20 @@
        1884A6011E545D4900548480 /* PopoverViews.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PopoverViews.m; sourceTree = "<group>"; };
        1884A6061E54630300548480 /* LGLAlertView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LGLAlertView.h; sourceTree = "<group>"; };
        1884A6071E54630300548480 /* LGLAlertView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LGLAlertView.m; sourceTree = "<group>"; };
        1896FB821F7360D300720355 /* GDTMobBannerView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GDTMobBannerView.h; sourceTree = "<group>"; };
        1896FB831F7360D300720355 /* GDTMobInterstitial.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GDTMobInterstitial.h; sourceTree = "<group>"; };
        1896FB841F7360D300720355 /* GDTNativeAd.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GDTNativeAd.h; sourceTree = "<group>"; };
        1896FB851F7360D300720355 /* GDTNativeExpressAd.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GDTNativeExpressAd.h; sourceTree = "<group>"; };
        1896FB861F7360D300720355 /* GDTNativeExpressAdView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GDTNativeExpressAdView.h; sourceTree = "<group>"; };
        1896FB871F7360D300720355 /* GDTSplashAd.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GDTSplashAd.h; sourceTree = "<group>"; };
        1896FB881F7360D300720355 /* GDTTrack.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GDTTrack.h; sourceTree = "<group>"; };
        1896FB891F7360D300720355 /* libGDTMobSDK.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libGDTMobSDK.a; sourceTree = "<group>"; };
        189787811D9233E9006245B9 /* View.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = View.xib; sourceTree = "<group>"; };
        189787831D925B5D006245B9 /* GoogleAdTableViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GoogleAdTableViewCell.h; sourceTree = "<group>"; };
        189787841D925B5D006245B9 /* GoogleAdTableViewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GoogleAdTableViewCell.m; sourceTree = "<group>"; };
        189787851D925B5D006245B9 /* GoogleAdTableViewCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = GoogleAdTableViewCell.xib; sourceTree = "<group>"; };
        189EFECA1EF1465D00C59CAB /* yw_1222.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = yw_1222.jpg; sourceTree = "<group>"; };
        18A060462060EEE400BACA54 /* GDTTrack.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GDTTrack.h; sourceTree = "<group>"; };
        18A060472060EEE500BACA54 /* libGDTMobSDK.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libGDTMobSDK.a; sourceTree = "<group>"; };
        18A060482060EEE500BACA54 /* GDTNativeExpressAdView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GDTNativeExpressAdView.h; sourceTree = "<group>"; };
        18A060492060EEE600BACA54 /* GDTMobBannerView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GDTMobBannerView.h; sourceTree = "<group>"; };
        18A0604A2060EEE600BACA54 /* GDTNativeAd.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GDTNativeAd.h; sourceTree = "<group>"; };
        18A0604B2060EEE600BACA54 /* GDTSplashAd.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GDTSplashAd.h; sourceTree = "<group>"; };
        18A0604C2060EEE700BACA54 /* GDTMobInterstitial.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GDTMobInterstitial.h; sourceTree = "<group>"; };
        18A0604D2060EEE700BACA54 /* GDTNativeExpressAd.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GDTNativeExpressAd.h; sourceTree = "<group>"; };
        18A0604F2060F7EF00BACA54 /* 640x1136.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = 640x1136.png; sourceTree = "<group>"; };
        18ABF6DE1DDD9B4600C9257E /* Nethader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Nethader.h; sourceTree = "<group>"; };
        18ABF6DF1DDD9B4600C9257E /* YTHNetdata.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YTHNetdata.h; sourceTree = "<group>"; };
        18ABF6E01DDD9B4600C9257E /* YTHNetdata.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YTHNetdata.m; sourceTree = "<group>"; };
@@ -415,10 +420,24 @@
        18C5F63B1E1B8B0A00537707 /* findTitleTableViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = findTitleTableViewCell.h; sourceTree = "<group>"; };
        18C5F63C1E1B8B0A00537707 /* findTitleTableViewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = findTitleTableViewCell.m; sourceTree = "<group>"; };
        18C5F63D1E1B8B0A00537707 /* findTitleTableViewCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = findTitleTableViewCell.xib; sourceTree = "<group>"; };
        18C7E86220609E1D000E019D /* 320-×-480.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "320-×-480.png"; sourceTree = "<group>"; };
        18C7E86620609E1D000E019D /* 621-×-1104.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "621-×-1104.png"; sourceTree = "<group>"; };
        18C95F521D94DE2A009CBF0F /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = "<group>"; };
        18D94EA81ECD7B6E00B6FA54 /* newADCollectionViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = newADCollectionViewCell.h; sourceTree = "<group>"; };
        18D94EA91ECD7B6E00B6FA54 /* newADCollectionViewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = newADCollectionViewCell.m; sourceTree = "<group>"; };
        18D94EAA1ECD7B6E00B6FA54 /* newADCollectionViewCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = newADCollectionViewCell.xib; sourceTree = "<group>"; };
        18E943E42057656C0019FD04 /* recommendViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = recommendViewController.h; sourceTree = "<group>"; };
        18E943E52057656C0019FD04 /* recommendViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = recommendViewController.m; sourceTree = "<group>"; };
        18E943E7205766510019FD04 /* subregionViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = subregionViewController.h; sourceTree = "<group>"; };
        18E943E8205766510019FD04 /* subregionViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = subregionViewController.m; sourceTree = "<group>"; };
        18E943EA2057667D0019FD04 /* MineViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MineViewController.h; sourceTree = "<group>"; };
        18E943EB2057667D0019FD04 /* MineViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MineViewController.m; sourceTree = "<group>"; };
        18E943ED205767120019FD04 /* discoverViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = discoverViewController.h; sourceTree = "<group>"; };
        18E943EE205767120019FD04 /* discoverViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = discoverViewController.m; sourceTree = "<group>"; };
        18E943F0205774D50019FD04 /* BaseViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = BaseViewController.h; sourceTree = "<group>"; };
        18E943F1205774D50019FD04 /* BaseViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = BaseViewController.m; sourceTree = "<group>"; };
        18E943F32057C5710019FD04 /* JYNetWorking.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JYNetWorking.h; sourceTree = "<group>"; };
        18E943F42057C5710019FD04 /* JYNetWorking.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JYNetWorking.m; sourceTree = "<group>"; };
        18E9F1831DC7308C007112E0 /* cloud.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = cloud.bundle; sourceTree = "<group>"; };
        18E9F1861DC730BB007112E0 /* libMobileTracking.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libMobileTracking.a; sourceTree = "<group>"; };
        18E9F1871DC730BB007112E0 /* MobileTracking.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MobileTracking.h; sourceTree = "<group>"; };
@@ -437,6 +456,9 @@
        18EF91DA1D8E42DA0078C8BD /* NJKWebViewProgressView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NJKWebViewProgressView.m; sourceTree = "<group>"; };
        18EF91E01D8E47610078C8BD /* WEBViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WEBViewController.h; sourceTree = "<group>"; };
        18EF91E11D8E47610078C8BD /* WEBViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WEBViewController.m; sourceTree = "<group>"; };
        18F151272062326400E61299 /* 414 *736.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "414 *736.png"; sourceTree = "<group>"; };
        18F15129206233E900E61299 /* 320 * 568.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "320 * 568.png"; sourceTree = "<group>"; };
        18F1512B2062374400E61299 /* 375 * 667.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "375 * 667.png"; sourceTree = "<group>"; };
        18F2541C1DF0090900826AD0 /* FuLiSheViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FuLiSheViewController.h; sourceTree = "<group>"; };
        18F2541D1DF0090900826AD0 /* FuLiSheViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FuLiSheViewController.m; sourceTree = "<group>"; };
        18F2541E1DF0090900826AD0 /* FuLiSheViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = FuLiSheViewController.xib; sourceTree = "<group>"; };
@@ -811,9 +833,9 @@
                7B8AC5241D5D824100450285 /* CoreVideo.framework in Frameworks */,
                7B91CCC31D7E718900DFB280 /* libXG-SDK.a in Frameworks */,
                7B8AC5201D5D821100450285 /* CoreImage.framework in Frameworks */,
                18A0604E2060EEE700BACA54 /* libGDTMobSDK.a in Frameworks */,
                7B8AC51E1D5D820000450285 /* CoreFoundation.framework in Frameworks */,
                7B8AC51C1D5D81EF00450285 /* CoreBluetooth.framework in Frameworks */,
                1896FB8A1F736A9200720355 /* libGDTMobSDK.a in Frameworks */,
                7B8AC51A1D5D817C00450285 /* CoreAudio.framework in Frameworks */,
                7B8AC5161D5D813B00450285 /* AddressBook.framework in Frameworks */,
                7B8AC5141D5D810A00450285 /* Accelerate.framework in Frameworks */,
@@ -928,14 +950,14 @@
        1896FB811F7360D300720355 /* GDT_iOS_SDK */ = {
            isa = PBXGroup;
            children = (
                1896FB821F7360D300720355 /* GDTMobBannerView.h */,
                1896FB831F7360D300720355 /* GDTMobInterstitial.h */,
                1896FB841F7360D300720355 /* GDTNativeAd.h */,
                1896FB851F7360D300720355 /* GDTNativeExpressAd.h */,
                1896FB861F7360D300720355 /* GDTNativeExpressAdView.h */,
                1896FB871F7360D300720355 /* GDTSplashAd.h */,
                1896FB881F7360D300720355 /* GDTTrack.h */,
                1896FB891F7360D300720355 /* libGDTMobSDK.a */,
                18A060492060EEE600BACA54 /* GDTMobBannerView.h */,
                18A0604C2060EEE700BACA54 /* GDTMobInterstitial.h */,
                18A0604A2060EEE600BACA54 /* GDTNativeAd.h */,
                18A0604D2060EEE700BACA54 /* GDTNativeExpressAd.h */,
                18A060482060EEE500BACA54 /* GDTNativeExpressAdView.h */,
                18A0604B2060EEE600BACA54 /* GDTSplashAd.h */,
                18A060462060EEE400BACA54 /* GDTTrack.h */,
                18A060472060EEE500BACA54 /* libGDTMobSDK.a */,
            );
            path = GDT_iOS_SDK;
            sourceTree = "<group>";
@@ -964,6 +986,8 @@
        18A8D14B1DC32CDB00A03FB7 /* Main(主视图) */ = {
            isa = PBXGroup;
            children = (
                18E943F0205774D50019FD04 /* BaseViewController.h */,
                18E943F1205774D50019FD04 /* BaseViewController.m */,
                1883223B1F75058500CCD0B4 /* RooterController.h */,
                1883223C1F75058500CCD0B4 /* RooterController.m */,
                7BB429001D4B463000AA2D11 /* MainViewController.h */,
@@ -982,6 +1006,8 @@
        18A8D14C1DC32CFD00A03FB7 /* æŽ¨è */ = {
            isa = PBXGroup;
            children = (
                18E943E42057656C0019FD04 /* recommendViewController.h */,
                18E943E52057656C0019FD04 /* recommendViewController.m */,
                7B32BD2D1D4F259300E96E75 /* recommendView.h */,
                7B32BD2E1D4F259300E96E75 /* recommendView.m */,
                7B0A1E1F1D4B1437000518FA /* cell */,
@@ -1005,6 +1031,8 @@
        18A8D14E1DC32D1E00A03FB7 /* åˆ†åŒº */ = {
            isa = PBXGroup;
            children = (
                18E943E7205766510019FD04 /* subregionViewController.h */,
                18E943E8205766510019FD04 /* subregionViewController.m */,
                7B32BD301D4F26F500E96E75 /* subregionView.h */,
                7B32BD311D4F26F500E96E75 /* subregionView.m */,
                7B0A1E201D4B1449000518FA /* cell */,
@@ -1015,6 +1043,8 @@
        18A8D14F1DC32D2800A03FB7 /* å‘现 */ = {
            isa = PBXGroup;
            children = (
                18E943ED205767120019FD04 /* discoverViewController.h */,
                18E943EE205767120019FD04 /* discoverViewController.m */,
                7B1FF0931D6708FD00E6C207 /* discoverView.h */,
                7B1FF0941D6708FD00E6C207 /* discoverView.m */,
                18F5CA9D1E1C8E79001F526F /* discoverGoodsDetailViewController.h */,
@@ -1032,6 +1062,8 @@
        18A8D1501DC32D3400A03FB7 /* å…³æ³¨ */ = {
            isa = PBXGroup;
            children = (
                18E943EA2057667D0019FD04 /* MineViewController.h */,
                18E943EB2057667D0019FD04 /* MineViewController.m */,
                7B1FF0DB1D670B8800E6C207 /* attentionView.h */,
                7B1FF0DC1D670B8800E6C207 /* attentionView.m */,
                7B1FF0D51D670B7100E6C207 /* cell */,
@@ -1115,6 +1147,19 @@
                18F5CA9A1E1C8895001F526F /* findcommentTableViewCell.xib */,
            );
            path = detailCell;
            sourceTree = "<group>";
        };
        18C7E86120609E1D000E019D /* å¯åЍ图 */ = {
            isa = PBXGroup;
            children = (
                18F1512B2062374400E61299 /* 375 * 667.png */,
                18F151272062326400E61299 /* 414 *736.png */,
                18A0604F2060F7EF00BACA54 /* 640x1136.png */,
                18C7E86220609E1D000E019D /* 320-×-480.png */,
                18F15129206233E900E61299 /* 320 * 568.png */,
                18C7E86620609E1D000E019D /* 621-×-1104.png */,
            );
            path = "启动图";
            sourceTree = "<group>";
        };
        18E9F1851DC730BB007112E0 /* MobileTracking */ = {
@@ -1425,12 +1470,9 @@
                183360291DC3335000391627 /* æ•°æ® */,
                1833602A1DC3336400391627 /* ç•Œé¢ */,
                7B41E9A51D4A04AE00F05CE2 /* Main.storyboard */,
                18C7E86120609E1D000E019D /* å¯åЍ图 */,
                187A745D1DF7B1C6001E856F /* titleImage2.png */,
                180ACA121DF933C000969256 /* iphone6p.png */,
                180ACA131DF933C000969256 /* iphone4.png */,
                180ACA141DF933C000969256 /* iphone6.png */,
                189EFECA1EF1465D00C59CAB /* yw_1222.jpg */,
                180ACA151DF933C000969256 /* iphone5.png */,
                7B62B0DE1D4B0F0D00BBC30D /* PrefixHeader.pch */,
                7B41E9A81D4A04AE00F05CE2 /* Assets.xcassets */,
                18C95F521D94DE2A009CBF0F /* GoogleService-Info.plist */,
@@ -1579,6 +1621,8 @@
                18ABF6E01DDD9B4600C9257E /* YTHNetdata.m */,
                18ABF6E11DDD9B4600C9257E /* YTHNetInterface.h */,
                18ABF6E21DDD9B4600C9257E /* YTHNetInterface.m */,
                18E943F32057C5710019FD04 /* JYNetWorking.h */,
                18E943F42057C5710019FD04 /* JYNetWorking.m */,
            );
            name = "DataNet(接口文档)";
            sourceTree = "<group>";
@@ -1944,6 +1988,7 @@
                    7B41E9981D4A04AE00F05CE2 = {
                        CreatedOnToolsVersion = 7.3;
                        DevelopmentTeam = 98HSDT7AP4;
                        ProvisioningStyle = Automatic;
                        SystemCapabilities = {
                            com.apple.Push = {
                                enabled = 1;
@@ -1979,8 +2024,11 @@
                18C13D611EF2802900B49412 /* AlibabaAuthSDK.bundle in Resources */,
                18FC90F31D9142730041D298 /* googleADS.xib in Resources */,
                18B6BE731DADDB6E00DA4F63 /* signatureTableViewCell.xib in Resources */,
                18A060502060F7EF00BACA54 /* 640x1136.png in Resources */,
                18F1512C2062374400E61299 /* 375 * 667.png in Resources */,
                18BC12B71EDEAB4A001E2FB0 /* HotLiveCollectionViewCell.xib in Resources */,
                18B6BE6E1DADDB4700DA4F63 /* InfoTableViewCell.xib in Resources */,
                18F151282062326400E61299 /* 414 *736.png in Resources */,
                7B4220FA1D6D7DDE007345E6 /* OnlySpecialOne.xib in Resources */,
                18BC12A81EDEA7AD001E2FB0 /* HotLiveTableViewCell.xib in Resources */,
                7B9D31CD1D54481000EDED00 /* XYRDetailViewController.xib in Resources */,
@@ -1997,11 +2045,11 @@
                18E9F18C1DC730BB007112E0 /* sdkconfig.xml in Resources */,
                7B59CC141D5B16CC000B357F /* GroupfootSection.xib in Resources */,
                18F5CAA61E1CD25E001F526F /* allCommentsViewController.xib in Resources */,
                18C7E86C20609E1D000E019D /* 621-×-1104.png in Resources */,
                7BA7E5C91D6BD4CB00D347D0 /* SubregionDetailViewController.xib in Resources */,
                D45473521DBD9D0400EC002B /* PlayOptions.xib in Resources */,
                7B91CCC41D7E718900DFB280 /* ReleaseNotes.txt in Resources */,
                7B1FF0DA1D670B7E00E6C207 /* AttentionCell.xib in Resources */,
                180ACA191DF933C000969256 /* iphone5.png in Resources */,
                7BFBC66E1D6705280058FFEB /* ComentCell.xib in Resources */,
                18BC12BC1EDEAB68001E2FB0 /* AllLiveTypeCollectionViewCell.xib in Resources */,
                7B1FF0AF1D67094500E6C207 /* CellHead.xib in Resources */,
@@ -2010,10 +2058,7 @@
                18B6BE691DADDB2C00DA4F63 /* IconTableViewCell.xib in Resources */,
                18C5F6411E1B8B0A00537707 /* findTitleTableViewCell.xib in Resources */,
                7BB428FB1D4B43F400AA2D11 /* LeftViewController.xib in Resources */,
                180ACA181DF933C000969256 /* iphone6.png in Resources */,
                180ACA161DF933C000969256 /* iphone6p.png in Resources */,
                7B32BD3E1D4F410F00E96E75 /* recommentCollectionViewCell.xib in Resources */,
                180ACA171DF933C000969256 /* iphone4.png in Resources */,
                7BFBC65F1D6704E20058FFEB /* NoteCell.xib in Resources */,
                189787871D925B5D006245B9 /* GoogleAdTableViewCell.xib in Resources */,
                18E9F1841DC7308C007112E0 /* cloud.bundle in Resources */,
@@ -2026,10 +2071,12 @@
                184D348A1E1F3728007B0131 /* ConfirmTheGoodsViewController.xib in Resources */,
                18F5CA9C1E1C8895001F526F /* findcommentTableViewCell.xib in Resources */,
                183080DA1E29CD2F0017DDD7 /* childCollectionViewCell.xib in Resources */,
                18F1512A206233EA00E61299 /* 320 * 568.png in Resources */,
                7B41E9A91D4A04AE00F05CE2 /* Assets.xcassets in Resources */,
                7B4220FE1D6D7DDE007345E6 /* OnlySpecialTwo.xib in Resources */,
                D45473551DBD9FC700EC002B /* ç¼“冲.gif in Resources */,
                7B9D31C41D5421E000EDED00 /* SubregionViewCollectionViewCell.xib in Resources */,
                18C7E86820609E1D000E019D /* 320-×-480.png in Resources */,
                189787821D9233E9006245B9 /* View.xib in Resources */,
                7B41E9A71D4A04AE00F05CE2 /* Main.storyboard in Resources */,
                18F254201DF0090900826AD0 /* FuLiSheViewController.xib in Resources */,
@@ -2169,6 +2216,7 @@
                183080E01E29D0E60017DDD7 /* XYRChildTableViewCell.m in Sources */,
                7B41E9A11D4A04AE00F05CE2 /* AppDelegate.m in Sources */,
                18F5CAA51E1CD25E001F526F /* allCommentsViewController.m in Sources */,
                18E943EC2057667D0019FD04 /* MineViewController.m in Sources */,
                7BC24A601D50754600F6D2D9 /* FooterCollectionReusableView.m in Sources */,
                7B4220FD1D6D7DDE007345E6 /* OnlySpecialTwo.m in Sources */,
                7B4220ED1D6D7D34007345E6 /* AllSpecialCell.m in Sources */,
@@ -2183,8 +2231,10 @@
                7BFBC6621D6704EF0058FFEB /* LookNoteController.m in Sources */,
                18B1C25C1DB5B26B00AB709B /* README.md in Sources */,
                18B1C2681DB5B26B00AB709B /* SlideMenuController.m in Sources */,
                18E943E9205766510019FD04 /* subregionViewController.m in Sources */,
                7B0D3B2E1D59BCAB003E74A8 /* CMuneItem.m in Sources */,
                7B32BD2F1D4F259300E96E75 /* recommendView.m in Sources */,
                18E943F52057C5720019FD04 /* JYNetWorking.m in Sources */,
                181D3A091E1DFD5300CDBDE9 /* XYRUITextField.m in Sources */,
                18F5CAA01E1C8E79001F526F /* discoverGoodsDetailViewController.m in Sources */,
                7B59CBFF1D5B15A3000B357F /* GroupCollectionViewCell.m in Sources */,
@@ -2193,6 +2243,7 @@
                18D94EAB1ECD7B6E00B6FA54 /* newADCollectionViewCell.m in Sources */,
                7BFBC66D1D6705280058FFEB /* ComentCell.m in Sources */,
                7B1FF0D01D670AA900E6C207 /* TWScell.m in Sources */,
                18E943F2205774D50019FD04 /* BaseViewController.m in Sources */,
                1884A6081E54630300548480 /* LGLAlertView.m in Sources */,
                7BF526591D7408A0004B9DBB /* CollectionController.m in Sources */,
                18C5F6401E1B8B0A00537707 /* findTitleTableViewCell.m in Sources */,
@@ -2275,6 +2326,8 @@
                187A74581DF79DDF001E856F /* UILabel+LXAdd.m in Sources */,
                7BCE16771D644EB8004EAD5A /* SearchCollectionViewCell.m in Sources */,
                7B8ADA461D589448007A3FFD /* XYRVideoDetailModel.m in Sources */,
                18E943EF205767120019FD04 /* discoverViewController.m in Sources */,
                18E943E62057656C0019FD04 /* recommendViewController.m in Sources */,
                7BB429141D4B5FC900AA2D11 /* UIImage+YTH.m in Sources */,
                7B1FF0DD1D670B8800E6C207 /* attentionView.m in Sources */,
                1884A6031E545D4900548480 /* PopoverViewCell.m in Sources */,
@@ -2411,6 +2464,7 @@
                CODE_SIGN_ENTITLEMENTS = BuWanVideo2.0/BuWanVideo2.0.entitlements;
                CODE_SIGN_IDENTITY = "iPhone Developer";
                "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
                CODE_SIGN_STYLE = Automatic;
                DEVELOPMENT_TEAM = 98HSDT7AP4;
                ENABLE_BITCODE = NO;
                FRAMEWORK_SEARCH_PATHS = (
@@ -2549,6 +2603,7 @@
                PRODUCT_BUNDLE_IDENTIFIER = com.yeshi.buwanshequ.ios;
                PRODUCT_NAME = "$(TARGET_NAME)";
                PROVISIONING_PROFILE = "";
                PROVISIONING_PROFILE_SPECIFIER = "";
                TARGETED_DEVICE_FAMILY = "1,2";
            };
            name = Debug;
@@ -2563,6 +2618,7 @@
                CODE_SIGN_ENTITLEMENTS = BuWanVideo2.0/BuWanVideo2.0.entitlements;
                CODE_SIGN_IDENTITY = "iPhone Developer";
                "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
                CODE_SIGN_STYLE = Automatic;
                DEVELOPMENT_TEAM = 98HSDT7AP4;
                ENABLE_BITCODE = NO;
                FRAMEWORK_SEARCH_PATHS = (
@@ -2701,6 +2757,7 @@
                PRODUCT_BUNDLE_IDENTIFIER = com.yeshi.buwanshequ.ios;
                PRODUCT_NAME = "$(TARGET_NAME)";
                PROVISIONING_PROFILE = "";
                PROVISIONING_PROFILE_SPECIFIER = "";
                TARGETED_DEVICE_FAMILY = "1,2";
            };
            name = Release;
BuWanVideo2.0.xcodeproj/xcuserdata/apple.xcuserdatad/xcschemes/BuWanVideo2.0.xcscheme
File was deleted
BuWanVideo2.0.xcodeproj/xcuserdata/apple.xcuserdatad/xcschemes/xcschememanagement.plist
@@ -4,7 +4,7 @@
<dict>
    <key>SchemeUserState</key>
    <dict>
        <key>BuWanVideo2.0.xcscheme</key>
        <key>BuWanVideo2.0.xcscheme_^#shared#^_</key>
        <dict>
            <key>orderHint</key>
            <integer>0</integer>
BuWanVideo2.0.xcworkspace/xcuserdata/apple.xcuserdatad/UserInterfaceState.xcuserstate
Binary files differ
BuWanVideo2.0.xcworkspace/xcuserdata/apple.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
@@ -6,9 +6,9 @@
      <BreakpointProxy
         BreakpointExtensionID = "Xcode.Breakpoint.ExceptionBreakpoint">
         <BreakpointContent
            shouldBeEnabled = "No"
            shouldBeEnabled = "Yes"
            ignoreCount = "0"
            continueAfterRunningActions = "No"
            continueAfterRunningActions = "Yes"
            scope = "0"
            stopOnStyle = "0">
         </BreakpointContent>
@@ -16,32 +16,32 @@
      <BreakpointProxy
         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
         <BreakpointContent
            shouldBeEnabled = "No"
            shouldBeEnabled = "Yes"
            ignoreCount = "0"
            continueAfterRunningActions = "No"
            filePath = "BuWanVideo2.0/YTHNetInterface.m"
            timestampString = "529833973.416737"
            filePath = "BuWanVideo2.0/SubregionDetailViewController.m"
            timestampString = "543471313.467868"
            startingColumnNumber = "9223372036854775807"
            endingColumnNumber = "9223372036854775807"
            startingLineNumber = "1235"
            endingLineNumber = "1235"
            landmarkName = "-getHotLiveWithUid:WithSystem:WithBlock:"
            startingLineNumber = "670"
            endingLineNumber = "670"
            landmarkName = "-tableView:cellForRowAtIndexPath:"
            landmarkType = "7">
         </BreakpointContent>
      </BreakpointProxy>
      <BreakpointProxy
         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
         <BreakpointContent
            shouldBeEnabled = "No"
            shouldBeEnabled = "Yes"
            ignoreCount = "0"
            continueAfterRunningActions = "No"
            filePath = "BuWanVideo2.0/XYRDetailViewController.m"
            timestampString = "528026610.531027"
            filePath = "BuWanVideo2.0/SubregionDetailViewController.m"
            timestampString = "543471313.468012"
            startingColumnNumber = "9223372036854775807"
            endingColumnNumber = "9223372036854775807"
            startingLineNumber = "1912"
            endingLineNumber = "1912"
            landmarkName = "-collectionView:viewForSupplementaryElementOfKind:atIndexPath:"
            startingLineNumber = "666"
            endingLineNumber = "666"
            landmarkName = "-tableView:cellForRowAtIndexPath:"
            landmarkType = "7">
         </BreakpointContent>
      </BreakpointProxy>
BuWanVideo2.0/AppDelegate.m
@@ -21,13 +21,21 @@
#import <AlibcTradeSDK/AlibcTradeSDK.h>
#import "RooterController.h"
#import "recommendViewController.h"
#import "subregionViewController.h"
#import "MineViewController.h"
#import "discoverViewController.h"
#import "LeftViewController.h"
#define LECUsedBundleID   @"com.yeshi.buwanshequ.ios"
#define TICK   NSDate *startTime = [NSDate date]
#define TOCK   NSLog(@"Time: %f", -[startTime timeIntervalSinceNow])
@import Firebase;
@interface AppDelegate ()<GDTSplashAdDelegate>
@property (strong,nonatomic) GDTSplashAd *splash;
@property (strong,nonatomic) UIView *bottomView;
@@ -36,29 +44,56 @@
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    TICK;
    //清空角标
    [UIApplication sharedApplication].applicationIconBadgeNumber=0;
    //设置状态栏的字体颜色
    [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];
    //添加网络监测
    [self NetworkMonitoring];
//    dispatch_queue_t queue = dispatch_queue_create("queue", NULL);
//    dispatch_async(queue, ^{
//        //集成友盟
//        [self setUmeng];
//
//    });
//    dispatch_queue_t queue1 = dispatch_queue_create("myQueue", NULL);
//    dispatch_async(queue1, ^{
//
//        //信鸽推送
//        [XGPush startApp:2200218652 appKey:@"I17UVY2C2S9Y"];
//        [XGPush handleLaunching:launchOptions];
//
//    });
//    dispatch_queue_t queue2 = dispatch_queue_create("queue2", NULL);
//    dispatch_async(queue2, ^{
//        //阿里百川
//        [self setAliTrade];
//        //设置提示框的样式
//        [SVProgressHUD setDefaultStyle:SVProgressHUDStyleCustom];
//        [SVProgressHUD setMinimumDismissTimeInterval:3.0];
//    });
    //集成友盟
    [self setUmeng];
    //阿里百川
    [self setAliTrade];
    [MobClick setLogEnabled:YES];
    //信鸽推送
    [XGPush startApp:2200218652 appKey:@"I17UVY2C2S9Y"];
    [XGPush handleLaunching:launchOptions];
    //阿里百川
    [self setAliTrade];
    //设置提示框的样式
    [SVProgressHUD setDefaultStyle:SVProgressHUDStyleCustom];
    [SVProgressHUD setMinimumDismissTimeInterval:3.0];
    //谷歌广告的初始化
    [FIRApp configure];
    [GADMobileAds configureWithApplicationID:@"ca-app-pub-1096760388894580~4971610958"];
    if(iOS8){
        [self registerPushForIOS8];
    }else{
        [self registerPush];
    }
    //判断用户是否已经获得Uid
    if ([[NSUserDefaults standardUserDefaults] objectForKey:@"uid"]!=nil) {
        //为Uid进行一个赋值,非常重要
@@ -69,10 +104,7 @@
        //获取Uid
        [self getUid];
    }
    //设置提示框的样式
    [SVProgressHUD setDefaultStyle:SVProgressHUDStyleCustom];
    [SVProgressHUD setMinimumDismissTimeInterval:3.0];
    TOCK;
    return YES;
}
@@ -305,25 +337,37 @@
-(void)loadAd{
    _splash=[[GDTSplashAd alloc] initWithAppkey:GDTADkey placementId:GDTFullADid];
    _splash.delegate=self;//设置代理
    //根据iPhone设备不同设置不同的背景图
    float width = [UIScreen mainScreen].bounds.size.width;
    float height = [UIScreen mainScreen].bounds.size.height;
    if (width == 320.0f && height<=480.0f) {
        // iphone4 iphone4s ä¸Šçš„default图片
        _splash.backgroundColor=[UIColor colorWithPatternImage:[UIImage imageNamed:@"iphone4"]];
        _splash.backgroundColor=[UIColor colorWithPatternImage:[UIImage imageNamed:@"320-×-480"]];
    }else if (width ==320.0f && height==568.0f) {
        // iphone5 ä¸Šçš„default图片
        _splash.backgroundColor=[UIColor colorWithPatternImage:[UIImage imageNamed:@"iphone5"]];
        _splash.backgroundColor=[UIColor colorWithPatternImage:[UIImage imageNamed:@"320 * 568"]];
    }else if (width ==375.0f) {
        // iphone6 ä¸Šçš„default图片
        _splash.backgroundColor=[UIColor colorWithPatternImage:[UIImage imageNamed:@"iphone6"]];
        _splash.backgroundColor=[UIColor colorWithPatternImage:[UIImage imageNamed:@"375 * 667"]];
    }else{
        // iphone6 plus ä¸Šçš„default图片
        _splash.backgroundColor=[UIColor colorWithPatternImage:[UIImage imageNamed:@"iphone6p"]];
        _splash.backgroundColor=[UIColor colorWithPatternImage:[UIImage imageNamed:@"414 *736"]];
    }
    _splash.fetchDelay=3;//开屏拉取的时间,超时则放弃展示
    _splash.fetchDelay=5;//开屏拉取的时间,超时则放弃展示
    [_splash loadAdAndShowInWindow:self.window];//拉起并展示全屏广告
//    UIView * bottomView = [[UIView alloc]initWithFrame:CGRectMake(0, 0, width, 100)];
//    UIImageView *imageview = [[UIImageView alloc]initWithImage:[UIImage imageNamed:@"mylogo"]];
//    [bottomView addSubview:imageview];
//    imageview.center = bottomView.center;
//    bottomView.backgroundColor = [UIColor whiteColor];
    //    UIView *loadView = [[UIView alloc]initWithFrame:CGRectMake(0, 0, width, 120)];
//    loadView.backgroundColor = [UIColor orangeColor];
//    [_splash loadAdAndShowInWindow:self.window withBottomView:bottomView];
}
#pragma mark ä¿¡é¸½æŽ¨é€
- (void)registerPush{
    [[UIApplication sharedApplication] registerUserNotificationSettings:[UIUserNotificationSettings settingsForTypes:(UIUserNotificationTypeSound | UIUserNotificationTypeAlert | UIUserNotificationTypeBadge) categories:nil]];
@@ -365,35 +409,46 @@
-(void)loadMainView{
    //首页视图
    MainViewController *MainVC=[[MainViewController alloc] init];
    RooterController *NVC=[[RooterController alloc] initWithRootViewController:MainVC];
    [[UINavigationBar appearance] setBackgroundImage:[[UIImage alloc] init] forBarPosition:UIBarPositionAny barMetrics:UIBarMetricsDefault];
    [[UINavigationBar appearance] setShadowImage:[[UIImage alloc] init]];
    [NVC.navigationBar setBackgroundColor:kGlobalMainColor];
    //创建一个高20的假状态栏
    UIView *statusBarView = [[UIView alloc] initWithFrame:CGRectMake(0, -20, KScreenW, 20)];
    //设置颜色
    statusBarView.backgroundColor=kGlobalMainColor;
    // æ·»åŠ åˆ° navigationBar ä¸Š
    [NVC.navigationBar addSubview:statusBarView];
//    MainViewController *MainVC=[[MainViewController alloc] init];
//    RooterController *NVC=[[RooterController alloc] initWithRootViewController:MainVC];
//
//     æ·»åŠ åˆ° navigationBar ä¸Š
    //侧滑栏视图
    LeftViewController *leftMenuViewController=[[LeftViewController alloc] init];
    SlideMenuController *slideMenuController = [[SlideMenuController alloc] initWithMainViewController:NVC leftMenuViewController:leftMenuViewController rightMenuViewController:nil];
    slideMenuController.option.leftViewWitdth = KScreenW*3/4;
    slideMenuController.option.simultaneousGestureRecognizers=NO;
//    LeftViewController *leftMenuViewController=[[LeftViewController alloc] init];
//
//    SlideMenuController *slideMenuController = [[SlideMenuController alloc] initWithMainViewController:NVC leftMenuViewController:leftMenuViewController rightMenuViewController:nil];
//
//    slideMenuController.option.leftViewWitdth = KScreenW*3/4;
//    slideMenuController.option.simultaneousGestureRecognizers=NO;
    self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
    self.window.backgroundColor=[UIColor whiteColor];
    self.window.rootViewController = slideMenuController;
    [self.window makeKeyAndVisible];
    recommendViewController *recommendVC = [[recommendViewController alloc]init];
    UINavigationController *nrecommendVC = [[UINavigationController alloc]initWithRootViewController:recommendVC];
    subregionViewController *subVC = [[subregionViewController alloc]init];
    UINavigationController *nsubVC = [[UINavigationController alloc]initWithRootViewController:subVC];
    discoverViewController *disVC = [[discoverViewController alloc]init];
    UINavigationController *ndisVC = [[UINavigationController alloc]initWithRootViewController:disVC];
    LeftViewController *mineVC = [[LeftViewController alloc]init];
    UINavigationController *nmineVC = [[UINavigationController alloc]initWithRootViewController:mineVC];
    UITabBarController *tabBarController = [[UITabBarController alloc]init];
    tabBarController.viewControllers = @[nrecommendVC,nsubVC,ndisVC,nmineVC];
    tabBarController.tabBar.tintColor = YTHColor(248, 89, 69);
    NSMutableDictionary *attr3=[NSMutableDictionary dictionary];
    attr3[NSFontAttributeName]=[UIFont systemFontOfSize:10];
    [[UITabBarItem appearance]setTitleTextAttributes:attr3 forState:UIControlStateNormal];
    
    self.window.rootViewController = tabBarController;
    //添加开屏广告
    [self loadAd];
    NSLog(@"");
}
#pragma mark å‹ç›Ÿé›†æˆ
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/1024.png
Binary files differ
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/Contents.json
@@ -3,151 +3,151 @@
    {
      "size" : "20x20",
      "idiom" : "iphone",
      "filename" : "Icon-Notification@2x.png",
      "filename" : "图标-40.png",
      "scale" : "2x"
    },
    {
      "size" : "20x20",
      "idiom" : "iphone",
      "filename" : "Icon-Notification@3x.png",
      "filename" : "图标-100的副本-1.png",
      "scale" : "3x"
    },
    {
      "size" : "29x29",
      "idiom" : "iphone",
      "filename" : "Icon-Small.png",
      "filename" : "图标-29.png",
      "scale" : "1x"
    },
    {
      "size" : "29x29",
      "idiom" : "iphone",
      "filename" : "Icon-Small@2x.png",
      "filename" : "图标-58.png",
      "scale" : "2x"
    },
    {
      "size" : "29x29",
      "idiom" : "iphone",
      "filename" : "Icon-Small@3x.png",
      "filename" : "图标-87.png",
      "scale" : "3x"
    },
    {
      "size" : "40x40",
      "idiom" : "iphone",
      "filename" : "Icon-Small-40@2x.png",
      "filename" : "图标-80.png",
      "scale" : "2x"
    },
    {
      "size" : "40x40",
      "idiom" : "iphone",
      "filename" : "Icon-Small-40@3x.png",
      "filename" : "图标-120.png",
      "scale" : "3x"
    },
    {
      "size" : "57x57",
      "idiom" : "iphone",
      "filename" : "Icon.png",
      "filename" : "图标-57.png",
      "scale" : "1x"
    },
    {
      "size" : "57x57",
      "idiom" : "iphone",
      "filename" : "Icon@2x.png",
      "filename" : "图标-114.png",
      "scale" : "2x"
    },
    {
      "size" : "60x60",
      "idiom" : "iphone",
      "filename" : "Icon-60@2x.png",
      "filename" : "图标-121.png",
      "scale" : "2x"
    },
    {
      "size" : "60x60",
      "idiom" : "iphone",
      "filename" : "Icon-60@3x.png",
      "filename" : "图标-180.png",
      "scale" : "3x"
    },
    {
      "size" : "20x20",
      "idiom" : "ipad",
      "filename" : "Icon-Notification.png",
      "filename" : "图标-100的副本-2.png",
      "scale" : "1x"
    },
    {
      "size" : "20x20",
      "idiom" : "ipad",
      "filename" : "Icon-Notification@2x-1.png",
      "filename" : "图标-41.png",
      "scale" : "2x"
    },
    {
      "size" : "29x29",
      "idiom" : "ipad",
      "filename" : "Icon-Small-1.png",
      "filename" : "图标-30.png",
      "scale" : "1x"
    },
    {
      "size" : "29x29",
      "idiom" : "ipad",
      "filename" : "Icon-Small@2x-1.png",
      "filename" : "图标-59.png",
      "scale" : "2x"
    },
    {
      "size" : "40x40",
      "idiom" : "ipad",
      "filename" : "Icon-Small-40.png",
      "filename" : "图标-42.png",
      "scale" : "1x"
    },
    {
      "size" : "40x40",
      "idiom" : "ipad",
      "filename" : "Icon-Small-40@2x-1.png",
      "filename" : "图标-81.png",
      "scale" : "2x"
    },
    {
      "size" : "50x50",
      "idiom" : "ipad",
      "filename" : "Icon-Small-50.png",
      "filename" : "图标-50.png",
      "scale" : "1x"
    },
    {
      "size" : "50x50",
      "idiom" : "ipad",
      "filename" : "Icon-Small-50@2x.png",
      "filename" : "图标-100.png",
      "scale" : "2x"
    },
    {
      "size" : "72x72",
      "idiom" : "ipad",
      "filename" : "Icon-72.png",
      "filename" : "图标-72.png",
      "scale" : "1x"
    },
    {
      "size" : "72x72",
      "idiom" : "ipad",
      "filename" : "Icon-72@2x.png",
      "filename" : "图标-144.png",
      "scale" : "2x"
    },
    {
      "size" : "76x76",
      "idiom" : "ipad",
      "filename" : "Icon-76.png",
      "filename" : "图标-76.png",
      "scale" : "1x"
    },
    {
      "size" : "76x76",
      "idiom" : "ipad",
      "filename" : "Icon-76@2x.png",
      "filename" : "图标-152.png",
      "scale" : "2x"
    },
    {
      "size" : "83.5x83.5",
      "idiom" : "ipad",
      "filename" : "Icon-83.5@2x.png",
      "filename" : "图标-100的副本.png",
      "scale" : "2x"
    },
    {
      "size" : "1024x1024",
      "idiom" : "ios-marketing",
      "filename" : "1024.png",
      "filename" : "图标-1024.png",
      "scale" : "1x"
    },
    {
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/Icon-60@2x.png
Binary files differ
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/Icon-60@3x.png
Binary files differ
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/Icon-72.png
Binary files differ
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/Icon-72@2x.png
Binary files differ
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/Icon-76.png
Binary files differ
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/Icon-76@2x.png
Binary files differ
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/Icon-83.5@2x.png
Binary files differ
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/Icon-Notification.png
Binary files differ
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/Icon-Notification@2x-1.png
Binary files differ
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/Icon-Notification@2x.png
Binary files differ
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/Icon-Notification@3x.png
Binary files differ
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/Icon-Small-1.png
Binary files differ
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/Icon-Small-40.png
Binary files differ
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/Icon-Small-40@2x-1.png
Binary files differ
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/Icon-Small-40@2x.png
Binary files differ
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/Icon-Small-40@3x.png
Binary files differ
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/Icon-Small-50.png
Binary files differ
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/Icon-Small-50@2x.png
Binary files differ
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/Icon-Small.png
Binary files differ
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/Icon-Small@2x-1.png
Binary files differ
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/Icon-Small@2x.png
Binary files differ
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/Icon-Small@3x.png
Binary files differ
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/Icon.png
Binary files differ
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/Icon@2x.png
Binary files differ
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/ͼ±ê-100.png
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/ͼ±ê-100µÄ¸±±¾-1.png
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/ͼ±ê-100µÄ¸±±¾-2.png
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/ͼ±ê-100µÄ¸±±¾.png
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/ͼ±ê-1024.png
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/ͼ±ê-114.png
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/ͼ±ê-120.png
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/ͼ±ê-121.png
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/ͼ±ê-144.png
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/ͼ±ê-152.png
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/ͼ±ê-180.png
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/ͼ±ê-29.png
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/ͼ±ê-30.png
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/ͼ±ê-40.png
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/ͼ±ê-41.png
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/ͼ±ê-42.png
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/ͼ±ê-50.png
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/ͼ±ê-57.png
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/ͼ±ê-58.png
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/ͼ±ê-59.png
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/ͼ±ê-72.png
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/ͼ±ê-76.png
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/ͼ±ê-80.png
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/ͼ±ê-81.png
BuWanVideo2.0/Assets.xcassets/AppIcon.appiconset/ͼ±ê-87.png
BuWanVideo2.0/Assets.xcassets/LaunchImage.launchimage/1242-2208.png
Binary files differ
BuWanVideo2.0/Assets.xcassets/LaunchImage.launchimage/1242x2208.png
BuWanVideo2.0/Assets.xcassets/LaunchImage.launchimage/1536-2048.png
Binary files differ
BuWanVideo2.0/Assets.xcassets/LaunchImage.launchimage/1536x2048.png
BuWanVideo2.0/Assets.xcassets/LaunchImage.launchimage/640-1136.png
Binary files differ
BuWanVideo2.0/Assets.xcassets/LaunchImage.launchimage/640-960.png
Binary files differ
BuWanVideo2.0/Assets.xcassets/LaunchImage.launchimage/640x1136.png
BuWanVideo2.0/Assets.xcassets/LaunchImage.launchimage/640x960.png
BuWanVideo2.0/Assets.xcassets/LaunchImage.launchimage/750-1334.png
Binary files differ
BuWanVideo2.0/Assets.xcassets/LaunchImage.launchimage/750x1334.png
BuWanVideo2.0/Assets.xcassets/LaunchImage.launchimage/768-1024.png
Binary files differ
BuWanVideo2.0/Assets.xcassets/LaunchImage.launchimage/768x1024.png
BuWanVideo2.0/Assets.xcassets/LaunchImage.launchimage/Contents.json
@@ -1,77 +1,10 @@
{
  "images" : [
    {
      "orientation" : "portrait",
      "idiom" : "iphone",
      "extent" : "full-screen",
      "scale" : "1x"
    },
    {
      "orientation" : "portrait",
      "idiom" : "iphone",
      "extent" : "full-screen",
      "scale" : "2x"
    },
    {
      "orientation" : "portrait",
      "idiom" : "iphone",
      "extent" : "full-screen",
      "subtype" : "retina4",
      "scale" : "2x"
    },
    {
      "orientation" : "portrait",
      "idiom" : "ipad",
      "extent" : "to-status-bar",
      "scale" : "1x"
    },
    {
      "orientation" : "portrait",
      "idiom" : "ipad",
      "extent" : "full-screen",
      "scale" : "1x"
    },
    {
      "orientation" : "landscape",
      "idiom" : "ipad",
      "extent" : "to-status-bar",
      "scale" : "1x"
    },
    {
      "orientation" : "landscape",
      "idiom" : "ipad",
      "extent" : "full-screen",
      "scale" : "1x"
    },
    {
      "orientation" : "portrait",
      "idiom" : "ipad",
      "extent" : "to-status-bar",
      "scale" : "2x"
    },
    {
      "orientation" : "portrait",
      "idiom" : "ipad",
      "extent" : "full-screen",
      "scale" : "2x"
    },
    {
      "orientation" : "landscape",
      "idiom" : "ipad",
      "extent" : "to-status-bar",
      "scale" : "2x"
    },
    {
      "orientation" : "landscape",
      "idiom" : "ipad",
      "extent" : "full-screen",
      "scale" : "2x"
    },
    {
      "extent" : "full-screen",
      "idiom" : "iphone",
      "subtype" : "736h",
      "filename" : "1242-2208.png",
      "filename" : "1242x2208.png",
      "minimum-system-version" : "8.0",
      "orientation" : "portrait",
      "scale" : "3x"
@@ -88,23 +21,15 @@
      "extent" : "full-screen",
      "idiom" : "iphone",
      "subtype" : "667h",
      "filename" : "750-1334.png",
      "filename" : "750x1334.png",
      "minimum-system-version" : "8.0",
      "orientation" : "portrait",
      "scale" : "2x"
    },
    {
      "orientation" : "portrait",
      "idiom" : "ipad",
      "extent" : "full-screen",
      "minimum-system-version" : "8.0",
      "subtype" : "1366h",
      "scale" : "2x"
    },
    {
      "orientation" : "portrait",
      "idiom" : "iphone",
      "filename" : "640-960.png",
      "filename" : "640x960.png",
      "extent" : "full-screen",
      "minimum-system-version" : "7.0",
      "scale" : "2x"
@@ -113,7 +38,7 @@
      "extent" : "full-screen",
      "idiom" : "iphone",
      "subtype" : "retina4",
      "filename" : "640-1136.png",
      "filename" : "640x1136.png",
      "minimum-system-version" : "7.0",
      "orientation" : "portrait",
      "scale" : "2x"
@@ -121,7 +46,7 @@
    {
      "orientation" : "portrait",
      "idiom" : "ipad",
      "filename" : "768-1024.png",
      "filename" : "768x1024.png",
      "extent" : "full-screen",
      "minimum-system-version" : "7.0",
      "scale" : "1x"
@@ -136,7 +61,7 @@
    {
      "orientation" : "portrait",
      "idiom" : "ipad",
      "filename" : "1536-2048.png",
      "filename" : "1536x2048.png",
      "extent" : "full-screen",
      "minimum-system-version" : "7.0",
      "scale" : "2x"
@@ -147,6 +72,81 @@
      "extent" : "full-screen",
      "minimum-system-version" : "7.0",
      "scale" : "2x"
    },
    {
      "orientation" : "portrait",
      "idiom" : "iphone",
      "extent" : "full-screen",
      "scale" : "1x"
    },
    {
      "orientation" : "portrait",
      "idiom" : "iphone",
      "extent" : "full-screen",
      "scale" : "2x"
    },
    {
      "orientation" : "portrait",
      "idiom" : "iphone",
      "extent" : "full-screen",
      "subtype" : "retina4",
      "scale" : "2x"
    },
    {
      "orientation" : "portrait",
      "idiom" : "ipad",
      "extent" : "to-status-bar",
      "scale" : "1x"
    },
    {
      "orientation" : "portrait",
      "idiom" : "ipad",
      "extent" : "full-screen",
      "scale" : "1x"
    },
    {
      "orientation" : "landscape",
      "idiom" : "ipad",
      "extent" : "to-status-bar",
      "scale" : "1x"
    },
    {
      "orientation" : "landscape",
      "idiom" : "ipad",
      "extent" : "full-screen",
      "scale" : "1x"
    },
    {
      "orientation" : "portrait",
      "idiom" : "ipad",
      "extent" : "to-status-bar",
      "scale" : "2x"
    },
    {
      "orientation" : "portrait",
      "idiom" : "ipad",
      "extent" : "full-screen",
      "scale" : "2x"
    },
    {
      "orientation" : "landscape",
      "idiom" : "ipad",
      "extent" : "to-status-bar",
      "scale" : "2x"
    },
    {
      "orientation" : "landscape",
      "idiom" : "ipad",
      "extent" : "full-screen",
      "scale" : "2x"
    },
    {
      "orientation" : "portrait",
      "idiom" : "ipad",
      "extent" : "full-screen",
      "minimum-system-version" : "8.0",
      "subtype" : "1366h",
      "scale" : "2x"
    }
  ],
  "info" : {
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/Camera-¿½±´.imageset/Camera-¿½±´.png
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/Camera-¿½±´.imageset/Contents.json
New file
@@ -0,0 +1,21 @@
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "filename" : "Camera-拷贝.png",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/Camera.imageset/Camera.png
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/Camera.imageset/Contents.json
New file
@@ -0,0 +1,21 @@
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "filename" : "Camera.png",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/Contents.json
New file
@@ -0,0 +1,6 @@
{
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/Desktop-¿½±´.imageset/Contents.json
New file
@@ -0,0 +1,21 @@
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "filename" : "Desktop-拷贝.png",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/Desktop-¿½±´.imageset/Desktop-¿½±´.png
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/Desktop.imageset/Contents.json
New file
@@ -0,0 +1,21 @@
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "filename" : "Desktop.png",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/Desktop.imageset/Desktop.png
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/Home-¿½±´.imageset/Contents.json
New file
@@ -0,0 +1,21 @@
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "filename" : "Home-拷贝.png",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/Home-¿½±´.imageset/Home-¿½±´.png
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/Home.imageset/Contents.json
New file
@@ -0,0 +1,21 @@
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "filename" : "Home.png",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/Home.imageset/Home.png
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/Navigation-¿½±´.imageset/Contents.json
New file
@@ -0,0 +1,21 @@
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "filename" : "Navigation-拷贝.png",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/Navigation-¿½±´.imageset/Navigation-¿½±´.png
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/Navigation.imageset/Contents.json
New file
@@ -0,0 +1,21 @@
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "filename" : "Navigation.png",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/Navigation.imageset/Navigation.png
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/User-¿½±´.imageset/Contents.json
New file
@@ -0,0 +1,21 @@
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "filename" : "User-拷贝.png",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/User-¿½±´.imageset/User-¿½±´.png
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/User.imageset/Contents.json
New file
@@ -0,0 +1,21 @@
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "filename" : "User.png",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/User.imageset/User.png
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/copyright@2016-2019-yingshidaquan.imageset/Contents.json
New file
@@ -0,0 +1,21 @@
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "filename" : "copyright@2016-2019-yingshidaquan.png",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/copyright@2016-2019-yingshidaquan.imageset/copyright@2016-2019-yingshidaquan.png
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/mylogo.imageset/Contents.json
New file
@@ -0,0 +1,21 @@
{
  "images" : [
    {
      "idiom" : "universal",
      "filename" : "mylogo.png",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/mylogo.imageset/mylogo.png
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/Ö÷²¥.imageset/Contents.json
New file
@@ -0,0 +1,21 @@
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "filename" : "主播.png",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/Ö÷²¥.imageset/Ö÷²¥.png
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/ÀÖÎè.imageset/Contents.json
New file
@@ -0,0 +1,21 @@
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "filename" : "乐舞.png",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/ÀÖÎè.imageset/ÀÖÎè.png
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/ÌåÓý.imageset/Contents.json
New file
@@ -0,0 +1,21 @@
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "filename" : "体育.png",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/ÌåÓý.imageset/ÌåÓý.png
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/¶¯Âþ.imageset/Contents.json
New file
@@ -0,0 +1,21 @@
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "filename" : "动漫.png",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/¶¯Âþ.imageset/¶¯Âþ.png
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/Í·Ìõ.imageset/Contents.json
New file
@@ -0,0 +1,21 @@
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "filename" : "头条.png",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/Í·Ìõ.imageset/Í·Ìõ.png
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/ÓéÀÖ.imageset/Contents.json
New file
@@ -0,0 +1,21 @@
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "filename" : "娱乐.png",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/ÓéÀÖ.imageset/ÓéÀÖ.png
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/ËÑË÷.imageset/Contents.json
New file
@@ -0,0 +1,21 @@
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "filename" : "搜索.png",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/ËÑË÷.imageset/ËÑË÷.png
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/ÍÖÔ²-7-¿½±´-2.imageset/Contents.json
New file
@@ -0,0 +1,21 @@
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "filename" : "椭圆-7-拷贝-2.png",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/ÍÖÔ²-7-¿½±´-2.imageset/ÍÖÔ²-7-¿½±´-2.png
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/ÓÎÏ·.imageset/Contents.json
New file
@@ -0,0 +1,21 @@
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "filename" : "游戏.png",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/ÓÎÏ·.imageset/ÓÎÏ·.png
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/¶À¼Ò.imageset/Contents.json
New file
@@ -0,0 +1,21 @@
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "filename" : "独家.png",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/¶À¼Ò.imageset/¶À¼Ò.png
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/Éú»î.imageset/Contents.json
New file
@@ -0,0 +1,21 @@
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "filename" : "生活.png",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/Éú»î.imageset/Éú»î.png
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/µçÓ°.imageset/Contents.json
New file
@@ -0,0 +1,21 @@
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "filename" : "电影.png",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/µçÓ°.imageset/µçÓ°.png
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/µçÊÓ¾ç.imageset/Contents.json
New file
@@ -0,0 +1,21 @@
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "filename" : "电视剧.png",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/µçÊÓ¾ç.imageset/µçÊÓ¾ç.png
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/¿Æ¼¼.imageset/Contents.json
New file
@@ -0,0 +1,21 @@
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "filename" : "科技.png",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/¿Æ¼¼.imageset/¿Æ¼¼.png
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/×é-1.imageset/Contents.json
New file
@@ -0,0 +1,21 @@
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "filename" : "组-1.png",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/×é-1.imageset/×é-1.png
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/×ÛÒÕ.imageset/Contents.json
New file
@@ -0,0 +1,21 @@
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "filename" : "综艺.png",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}
BuWanVideo2.0/Assets.xcassets/drawable-xhdpi/×ÛÒÕ.imageset/×ÛÒÕ.png
BuWanVideo2.0/Assets.xcassets/¼ÓÔØÖÐ.imageset/Contents.json
New file
@@ -0,0 +1,21 @@
{
  "images" : [
    {
      "idiom" : "universal",
      "filename" : "加载中.jpg",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}
BuWanVideo2.0/Assets.xcassets/¼ÓÔØÖÐ.imageset/¼ÓÔØÖÐ.jpg
BuWanVideo2.0/Base.lproj/LaunchScreen.storyboard
@@ -1,7 +1,12 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="8150" systemVersion="15A204g" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" initialViewController="01J-lp-oVM">
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13771" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
    <device id="retina4_7" orientation="portrait">
        <adaptation id="fullscreen"/>
    </device>
    <dependencies>
        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="8122"/>
        <deployment identifier="iOS"/>
        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13772"/>
        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
    </dependencies>
    <scenes>
        <!--View Controller-->
@@ -13,10 +18,9 @@
                        <viewControllerLayoutGuide type="bottom" id="xb3-aO-Qok"/>
                    </layoutGuides>
                    <view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
                        <rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
                        <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                        <animations/>
                        <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
                        <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                    </view>
                </viewController>
                <placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
BuWanVideo2.0/BaseViewController.h
New file
@@ -0,0 +1,13 @@
//
//  BaseViewController.h
//  BuWanVideo2.0
//
//  Created by apple on 2018/3/13.
//  Copyright Â© 2018å¹´ com.yeshi.buwansheque.ios. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface BaseViewController : UIViewController
@end
BuWanVideo2.0/BaseViewController.m
New file
@@ -0,0 +1,144 @@
//
//  BaseViewController.m
//  BuWanVideo2.0
//
//  Created by apple on 2018/3/13.
//  Copyright Â© 2018å¹´ com.yeshi.buwansheque.ios. All rights reserved.
//
#import "BaseViewController.h"
#import "LookNoteController.h"
#import "searchViewController.h"
@interface BaseViewController ()
@property (nonatomic , strong) NSMutableArray *dataHot;//热门搜索
@property (nonatomic , strong) UITextField *searchText;//搜索框
@end
@implementation BaseViewController
- (void)viewDidLoad {
    [super viewDidLoad];
    self.dataHot = @[].mutableCopy;
    [self getHotSearch];
    [self loadNavigationbar];
}
-(void)loadNavigationbar{
    //去掉titlie
    UIView *tview = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 0.01, 0.01)];
    self.navigationItem.titleView = tview;
    [[UINavigationBar appearance] setBackgroundImage:[[UIImage alloc] init] forBarPosition:UIBarPositionAny barMetrics:UIBarMetricsDefault];
    [[UINavigationBar appearance] setShadowImage:[[UIImage alloc] init]];
    //    åˆ›å»ºä¸€ä¸ªé«˜20的假状态栏
    UIView *statusBarView = [[UIView alloc] initWithFrame:CGRectMake(0, -20, KScreenW, 20)];
    //    è®¾ç½®é¢œè‰²
    statusBarView.backgroundColor=kGlobalMainColor;
    [self.navigationController.navigationBar setBackgroundColor:kGlobalMainColor];
    [self.navigationController.navigationBar addSubview:statusBarView];
    //搜索
    UIView *seachView = [[UIView alloc]initWithFrame:CGRectMake(0, 0,  KScreenW / 5 * 4, 30)];
    self.searchText = [[UITextField alloc]initWithFrame:CGRectMake(0, 0,seachView.frame.size.width, seachView.frame.size.height)];
    self.searchText.backgroundColor = [UIColor colorWithWhite:0.7 alpha:0.2];
    self.searchText.layer.cornerRadius = self.searchText.frame.size.height / 2;
    self.searchText.textColor = [UIColor whiteColor];
    self.searchText.font = [UIFont systemFontOfSize:14];
    UIView *leftView = [[UIView alloc]initWithFrame:CGRectMake(0, 0, 45, 25)];
    UIImageView *imageview = [[UIImageView alloc]initWithFrame:CGRectMake(10, 3, 19, 19)];
    imageview.image = [UIImage imageNamed:@"搜索"];
    [leftView addSubview:imageview];
    self.searchText.leftView = leftView;
    self.searchText.leftViewMode = UITextFieldViewModeAlways;
    UIButton *textButton = [UIButton buttonWithType:UIButtonTypeCustom];
    textButton.frame = CGRectMake(0, 0,seachView.frame.size.width, seachView.frame.size.height);
    [textButton addTarget:self action:@selector(JumpToSearchView) forControlEvents:UIControlEventTouchUpInside];
    [seachView addSubview:self.searchText];
    [seachView addSubview:textButton];
    UIBarButtonItem *searchItem = [[UIBarButtonItem alloc] initWithCustomView:seachView];
    //观看记录
    UIButton *recordBtn=[[UIButton alloc] initWithFrame:CGRectMake(0, 0, 25, 25)];
    [recordBtn setImage:[UIImage imageNamed:@"历史记录"] forState:UIControlStateNormal];
    [recordBtn addTarget:self action:@selector(JumpToRecordView) forControlEvents:UIControlEventTouchUpInside];
    UIBarButtonItem *recordBarItem=[[UIBarButtonItem alloc] initWithCustomView:recordBtn];
    //    //下载
    //    UIButton *downLoadBtn=[[UIButton alloc] initWithFrame:CGRectMake(0, 0, 25, 25)];
    //    downLoadBtn.imageEdgeInsets = UIEdgeInsetsMake(0, 4, 0, 4);
    //    [downLoadBtn setImage:[UIImage imageNamed:@"缓存"] forState:UIControlStateNormal];
    //    [downLoadBtn addTarget:self action:@selector(JumpToDownloadView) forControlEvents:UIControlEventTouchUpInside];
    //    UIBarButtonItem *downLoadBarItem=[[UIBarButtonItem alloc] initWithCustomView:downLoadBtn];
    //搜索
//    UIButton *SearchBtn=[[UIButton alloc] initWithFrame:CGRectMake(0, 0, 25, 25)];
//    [SearchBtn setImage:[UIImage imageNamed:@"搜索"] forState:UIControlStateNormal];
//    [SearchBtn addTarget:self action:@selector(JumpToSearchView) forControlEvents:UIControlEventTouchUpInside];
//    UIBarButtonItem *SearchBarItem=[[UIBarButtonItem alloc] initWithCustomView:SearchBtn];
    //空白间距
    UILabel *WhiteLabel=[[UILabel alloc] initWithFrame:CGRectMake(0, 0, 8, 10)];
    WhiteLabel.backgroundColor=[UIColor clearColor];
    UIBarButtonItem *WhiteBarItem=[[UIBarButtonItem alloc] initWithCustomView:WhiteLabel];
    UILabel *WhiteLabel1=[[UILabel alloc] initWithFrame:CGRectMake(0, 0, 20, 10)];
    WhiteLabel1.backgroundColor=[UIColor clearColor];
    UIBarButtonItem *WhiteBarItem1=[[UIBarButtonItem alloc] initWithCustomView:WhiteLabel1];
    //添加 è§‚看记录/下载/搜索 åˆ°å¯¼èˆªæ 
    self.navigationItem.rightBarButtonItems=[[NSArray alloc] initWithObjects:recordBarItem,searchItem,WhiteBarItem,nil];
}
/**
 *  è·³è½¬åˆ°åŽ†å²è®°å½•
 */
-(void)JumpToRecordView{
    LookNoteController *LookNoteLookNoteVC=[[LookNoteController alloc] init];
    [LookNoteLookNoteVC setHidesBottomBarWhenPushed:YES];
    [self.navigationController pushViewController:LookNoteLookNoteVC animated:YES];
}
/**
 *  è·³è½¬åˆ°æœç´¢
 */
-(void)JumpToSearchView{
    searchViewController *searchVC=[[searchViewController alloc] init];
    [searchVC setHidesBottomBarWhenPushed:YES];
    [self.navigationController pushViewController:searchVC animated:YES];
}
- (void)getHotSearch{
    [[YTHNetInterface startInterface] getHotSerachWithUid:[YTHsharedManger startManger].Uid withSystem:@"1" withblock:^(BOOL isSuccessful, id result, NSString *error) {
        if (isSuccessful) {
            NSDictionary *dic = (NSDictionary *)result;
            if (!_dataHot) {
                _dataHot = [[NSMutableArray alloc] initWithCapacity:0];
            }
            [_dataHot removeAllObjects];
            NSArray *ar = [[dic objectForKey:@"Data"] objectForKey:@"data"];
            for (int i =0; i<ar.count; i++) {
                [_dataHot addObject:[ar objectAtIndex:i]];
            }
            NSLog(@"////%@'''''",_dataHot);
            if ([YTHsharedManger startManger].searchTitle.length == 0) {
                NSInteger rand = arc4random()%self.dataHot.count ;
                self.searchText.text = self.dataHot[rand];
                [YTHsharedManger startManger].searchTitle = self.searchText.text;
            }else{
                self.searchText.text = [YTHsharedManger startManger].searchTitle;
            }
            //刷新热门搜索
        }else{
            //显示网络连接失败
        }
    }];
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}
@end
BuWanVideo2.0/CellOne.m
@@ -47,12 +47,12 @@
//更多专题
-(void)Clicklable:(id)sender{
    AllSpecialController * allcontroller  = [AllSpecialController new];
    [_mycontroller.navigationController pushViewController:allcontroller animated:YES];
    [allcontroller setHidesBottomBarWhenPushed:YES];
    [[self viewController].navigationController pushViewController:allcontroller animated:YES];
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
}
+(float)getsdcheight{
@@ -63,4 +63,14 @@
    return  KScreenW*7 /16 + 27;
}
- (UIViewController *)viewController {
    for (UIView* next = [self superview]; next; next = next.superview) {
        UIResponder *nextResponder = [next nextResponder];
        if ([nextResponder isKindOfClass:[UIViewController class]]) {
            return (UIViewController *)nextResponder;
        }
    }
    return nil;
}
@end
BuWanVideo2.0/CollectionController.m
@@ -111,7 +111,7 @@
 åˆ›å»ºé€‰é¡¹æ 
 */
-(void)createSegmentedControl{
    segmentedControl = [[HMSegmentedControl alloc] initWithSectionTitles:@[@"视频", @"商品"]];
    segmentedControl = [[HMSegmentedControl alloc] initWithSectionTitles:@[@"影视收藏", @"商品收藏"]];
    [segmentedControl setFrame:CGRectMake(0, 64, KScreenW, 48)];
    segmentedControl.selectionIndicatorHeight = 4.0f;
    segmentedControl.backgroundColor = KGlobalLightGreyColor_255;
@@ -141,12 +141,12 @@
 åˆ›å»ºåˆ—表
 */
-(void)createTableView{
    mytableview = [[UITableView alloc]initWithFrame:CGRectMake(10, segmentedControl.frame.size.height+segmentedControl.frame.origin.y  + 1, KScreenW - 20, KScreenH - 117) style:UITableViewStyleGrouped];
    mytableview = [[UITableView alloc]initWithFrame:CGRectMake(0,CGRectGetMaxY(segmentedControl.frame) , KScreenW, KScreenH - 117) style:UITableViewStylePlain];
    mytableview.delegate = self;
    mytableview.dataSource = self;
    mytableview.backgroundColor = kGlobalBackgroundColor;
    mytableview.showsVerticalScrollIndicator = NO;
    mytableview.separatorStyle = UITableViewCellSeparatorStyleNone;
    //注册收藏视频的cell
    [mytableview registerNib:[UINib nibWithNibName:@"NoteCell" bundle:nil] forCellReuseIdentifier:@"NoteCell"];
    
@@ -530,7 +530,7 @@
}
- (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section{
    return 5;
    return CGFLOAT_MIN;
}
- (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section{
BuWanVideo2.0/Common.h
@@ -54,7 +54,9 @@
#define MESSAGE [DocumentsDirectory stringByAppendingPathComponent:@"Message.plist"]
//记录分享
#define  SHARE [DocumentsDirectory stringByAppendingPathComponent:@"Share.plist"]
//发现页面
#define  DISCOVERSDY [DocumentsDirectory stringByAppendingPathComponent:@"discoverSDY.plist"]
@@ -120,10 +122,13 @@
#define kStatusBarH 20
// 5.全局颜色
#define kGlobalMainColor YTHColor(48, 39, 37)//应用的主色调
//#define kGlobalMainColor YTHColor(48, 39, 37)//应用的主色调
#define kGlobalMainColor [UIColor blackColor]//应用的主色调
#define kGlobalBackgroundColor YTHColor(243, 243, 243)
#define kGlobalYellowColor YTHColor(254, 232, 77)
#define kGlobaLineColor YTHColor(200, 200, 200)
#define KGlobalTileColor YTHColor(66, 66, 66)
#define kGlobalDeepGreyColor YTHColor(51, 51, 51)
BuWanVideo2.0/HeaderCollectionReusableView.xib
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="12121" systemVersion="16G29" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="13771" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
    <device id="retina4_7" orientation="portrait">
        <adaptation id="fullscreen"/>
    </device>
    <dependencies>
        <deployment identifier="iOS"/>
        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="12089"/>
        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13772"/>
        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
    </dependencies>
    <objects>
@@ -23,15 +23,15 @@
                    </constraints>
                </imageView>
                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="快看" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="riZ-1h-p5y">
                    <rect key="frame" x="55" y="10" width="100" height="30"/>
                    <rect key="frame" x="55" y="10" width="160" height="30"/>
                    <constraints>
                        <constraint firstAttribute="width" constant="100" id="CGP-ta-6Of"/>
                        <constraint firstAttribute="width" constant="160" id="CGP-ta-6Of"/>
                    </constraints>
                    <fontDescription key="fontDescription" type="system" pointSize="15"/>
                    <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                    <nil key="highlightedColor"/>
                </label>
                <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Dgw-rj-P3L">
                <button hidden="YES" opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Dgw-rj-P3L">
                    <rect key="frame" x="250" y="13" width="50" height="25"/>
                    <color key="backgroundColor" red="0.81568627450980391" green="0.81568627450980391" blue="0.81568627450980391" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                    <constraints>
BuWanVideo2.0/Info.plist
@@ -15,7 +15,7 @@
    <key>CFBundlePackageType</key>
    <string>APPL</string>
    <key>CFBundleShortVersionString</key>
    <string>2.6.6</string>
    <string>2.6.7</string>
    <key>CFBundleSignature</key>
    <string>????</string>
    <key>CFBundleURLTypes</key>
@@ -84,7 +84,7 @@
        </dict>
    </array>
    <key>CFBundleVersion</key>
    <string>24</string>
    <string>25</string>
    <key>LSApplicationQueriesSchemes</key>
    <array>
        <string>tmall</string>
@@ -133,8 +133,6 @@
    <string>同意布丸影视大全定位吗?</string>
    <key>NSPhotoLibraryUsageDescription</key>
    <string>同意布丸影视大全使用相册吗?</string>
    <key>UIMainStoryboardFile</key>
    <string>Main</string>
    <key>UIRequiredDeviceCapabilities</key>
    <array>
        <string>armv7</string>
BuWanVideo2.0/JYNetWorking.h
New file
@@ -0,0 +1,115 @@
//
//  JYNetWorking.h
//  CrowdFunding
//
//  Created by JY on 2017/3/21.
//  Copyright Â© 2017å¹´ qyc. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "AFNetworking.h"
typedef void (^NetBlock)(NSDictionary *object);
typedef void (^ErrorBlock)(id object);
typedef void (^ProgressBlock)(int64_t completedUnitCount, int64_t totalUnitCount);
@interface JYNetWorking : NSObject
/**
 Get
 @param url          è¯·æ±‚链接
 @param successBlock æˆåŠŸå›žè°ƒ
 @param errorBlock   å¤±è´¥å›žè°ƒ
 */
+ (void)Get:(NSString *)url
 parameters:(NSDictionary *)parameters
    success:(NetBlock)successBlock
       fail:(ErrorBlock)errorBlock;
/**
 Post
 @param url          è¯·æ±‚链接
 @param param        å‚æ•°
 @param successBlock æˆåŠŸå›žè°ƒ
 @param errorBlock   å¤±è´¥å›žè°ƒ
 */
+ (void)Post:(NSString *)url
       param:(NSDictionary *)param
     success:(NetBlock )successBlock
        fail:(ErrorBlock )errorBlock;
/**
 ä¸Šä¼ å›¾ç‰‡
 @param url           è¯·æ±‚链接
 @param param         å‚æ•°
 @param name          ä¸Šä¼ åç§°
 @param imageArray    å›¾ç‰‡æ•°ç»„
 @param progressBlock è¿›åº¦å›žè°ƒ
 @param successBlock  æˆåŠŸå›žè°ƒ
 @param errorBlock    å¤±è´¥å›žè°ƒ
 */
+ (void)UploadImage:(NSString *)url
              param:(NSDictionary *)param
               name:(NSString *)name
         imageArray:(NSArray *)imageArray
           progress:(ProgressBlock )progressBlock
            success:(NetBlock )successBlock
              error:(ErrorBlock )errorBlock;
+ (void)UploadImages:(NSString *)url
               param:(NSDictionary *)param
               names:(NSArray *)names
          imageArray:(NSArray *)imageArray
            progress:(ProgressBlock)progressBlock
             success:(NetBlock)successBlock
               error:(ErrorBlock)errorBlock;
/**
 ä¸Šä¼ æ–‡ä»¶
 @param url           è¯·æ±‚链接
 @param fileName      æ–‡ä»¶å
 @param name          ä¸Šä¼ åç§°
 @param param         å‚æ•°
 @param progressBlock è¿›åº¦å›žè°ƒ
 @param successBlock  æˆåŠŸå›žè°ƒ
 @param errorBlock    å¤±è´¥å›žè°ƒ
 */
+ (void)UploadFile:(NSString *)url
          fileName:(NSString *)fileName
              name:(NSString *)name
             param:(NSDictionary *)param
          progress:(ProgressBlock )progressBlock
           success:(NetBlock )successBlock
             error:(ErrorBlock )errorBlock;
/**
 ä¸‹è½½æ–‡ä»¶
 @param url           è¯·æ±‚链接
 @param progressBlock è¿›åº¦å›žè°ƒ
 @param successBlock  æˆåŠŸå›žè°ƒ
 @param errorBlock    å¤±è´¥å›žè°ƒ
 */
+ (void)Download:(NSString *)url
        progress:(ProgressBlock )progressBlock
         success:(NetBlock )successBlock
           error:(ErrorBlock )errorBlock;
+ (void)Post:(NSString *)url
    paramStr:(NSString *)paramStr
     success:(NetBlock)successBlock
        fail:(ErrorBlock)errorBlock;
//解析json字符串
+ (NSDictionary *)dictionaryWithJsonString:(NSString *)jsonString;
@end
BuWanVideo2.0/JYNetWorking.m
New file
@@ -0,0 +1,272 @@
//
//  JYNetWorking.m
//  CrowdFunding
//
//  Created by JY on 2017/3/21.
//  Copyright Â© 2017å¹´ qyc. All rights reserved.
//
#import "JYNetWorking.h"
@implementation JYNetWorking
+ (void)Get:(NSString *)url parameters:(NSDictionary *)parameters success:(NetBlock)successBlock fail:(ErrorBlock)errorBlock
{
    url=[url stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
    AFHTTPSessionManager *manager = [AFHTTPSessionManager manager];
    manager.responseSerializer = [AFJSONResponseSerializer serializer];
    manager.responseSerializer.acceptableContentTypes = [NSSet setWithObjects:@"application/json",@"text/html",nil];
    [manager GET:url parameters:parameters progress:^(NSProgress * _Nonnull downloadProgress) {
    } success:^(NSURLSessionDataTask * _Nonnull task, id  _Nullable responseObject) {
        if (successBlock) {
            successBlock(responseObject);
        }
    } failure:^(NSURLSessionDataTask * _Nullable task, NSError * _Nonnull error) {
        if (errorBlock) {
            errorBlock(error);
        }
    }];
}
+ (void)Post:(NSString *)url param:(NSDictionary *)param success:(NetBlock)successBlock fail:(ErrorBlock)errorBlock
{
    url=[url stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
    AFHTTPSessionManager *manager = [AFHTTPSessionManager manager];
    //设置超时时间
    manager.requestSerializer.timeoutInterval = 15;
    manager.responseSerializer = [AFHTTPResponseSerializer serializer];
    manager.responseSerializer = [AFJSONResponseSerializer serializer];
    manager.responseSerializer.acceptableContentTypes = [NSSet setWithObjects:@"application/json",@"text/html",@"text/json",@"text/javascript", nil];
    [manager POST:url parameters:param progress:^(NSProgress * _Nonnull uploadProgress) {
    } success:^(NSURLSessionDataTask * _Nonnull task, id  _Nullable responseObject) {
        if (successBlock)
        {
            successBlock(responseObject);
        }
    } failure:^(NSURLSessionDataTask * _Nullable task, NSError * _Nonnull error) {
        if (errorBlock)
        {
            errorBlock(error);
        }
    }];
}
+ (void)Post:(NSString *)url paramStr:(NSString *)paramStr success:(NetBlock)successBlock fail:(ErrorBlock)errorBlock
{
    url=[url stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
    AFHTTPSessionManager *manager = [AFHTTPSessionManager manager];
    //设置超时时间
    manager.requestSerializer.timeoutInterval = 10;
    manager.responseSerializer = [AFJSONResponseSerializer serializer];
    manager.responseSerializer.acceptableContentTypes = [NSSet setWithObject:@"text/html"];
    [manager POST:url parameters:paramStr progress:^(NSProgress * _Nonnull uploadProgress) {
    } success:^(NSURLSessionDataTask * _Nonnull task, id  _Nullable responseObject) {
        if (successBlock)
        {
            successBlock(responseObject);
        }
    } failure:^(NSURLSessionDataTask * _Nullable task, NSError * _Nonnull error) {
        if (errorBlock)
        {
            errorBlock(error);
        }
    }];
}
+ (void)UploadImages:(NSString *)url param:(NSDictionary *)param names:(NSArray *)names imageArray:(NSArray *)imageArray progress:(ProgressBlock)progressBlock success:(NetBlock)successBlock error:(ErrorBlock)errorBlock
{
    AFHTTPSessionManager *manager = [AFHTTPSessionManager manager];
    manager.responseSerializer = [AFJSONResponseSerializer serializer];
    manager.responseSerializer.acceptableContentTypes = [NSSet setWithObject:@"text/html"];
    [manager POST:url parameters:param constructingBodyWithBlock:^(id<AFMultipartFormData>  _Nonnull formData) {
        for (int i = 0; i < names.count; i ++) {
            NSArray *images = imageArray[i];
            for (int j = 0; j < images.count; j ++) {
                UIImage *image =[images objectAtIndex:j];
                NSData *fileData = UIImageJPEGRepresentation(image, 0.1);
                NSDateFormatter *formatter = [[NSDateFormatter alloc] init];
                // è®¾ç½®æ—¶é—´æ ¼å¼
                formatter.dateFormat = @"yyyyMMddHHmmss";
                NSString *str = [formatter stringFromDate:[NSDate date]];
                NSString *fileName = [NSString stringWithFormat:@"%@.png", str];
                if (fileData != NULL) {
                    [formData appendPartWithFileData:fileData name:names[i] fileName:fileName mimeType:@"image/png"];
                }
            }
        }
    } progress:^(NSProgress * _Nonnull uploadProgress) {
        if (progressBlock) {
            progressBlock(uploadProgress.completedUnitCount, uploadProgress.totalUnitCount);
        }
    } success:^(NSURLSessionDataTask * _Nonnull task, id  _Nullable responseObject) {
        if (successBlock) {
            successBlock(responseObject);
        }
    } failure:^(NSURLSessionDataTask * _Nullable task, NSError * _Nonnull error) {
        if (errorBlock)
        {
            errorBlock(error);
        }
    }];
}
+ (void)UploadImage:(NSString *)url param:(NSDictionary *)param name:(NSString *)name imageArray:(NSArray *)imageArray progress:(ProgressBlock)progressBlock success:(NetBlock)successBlock error:(ErrorBlock)errorBlock
{
    AFHTTPSessionManager *manager = [AFHTTPSessionManager manager];
    manager.responseSerializer = [AFJSONResponseSerializer serializer];
    manager.responseSerializer.acceptableContentTypes = [NSSet setWithObjects:@"text/html",@"application/json", nil];
    [manager POST:url parameters:param constructingBodyWithBlock:^(id<AFMultipartFormData>  _Nonnull formData) {
        for (int i=0; i<imageArray.count; i++) {
            UIImage *image =[imageArray objectAtIndex:i];
            NSData *fileData = UIImageJPEGRepresentation(image, 0.1);
            NSDateFormatter *formatter = [[NSDateFormatter alloc] init];
            // è®¾ç½®æ—¶é—´æ ¼å¼
            formatter.dateFormat = @"yyyyMMddHHmmss";
            NSString *str = [formatter stringFromDate:[NSDate date]];
            NSString *fileName = [NSString stringWithFormat:@"%@.png", str];
            if (fileData != NULL) {
                [formData appendPartWithFileData:fileData name:name fileName:fileName mimeType:@"image/png"];
            }
        }
    } progress:^(NSProgress * _Nonnull uploadProgress) {
        if (progressBlock) {
            progressBlock(uploadProgress.completedUnitCount, uploadProgress.totalUnitCount);
        }
    } success:^(NSURLSessionDataTask * _Nonnull task, id  _Nullable responseObject) {
        if (successBlock) {
            successBlock(responseObject);
        }
    } failure:^(NSURLSessionDataTask * _Nullable task, NSError * _Nonnull error) {
        if (errorBlock)
        {
            errorBlock(error);
        }
    }];
}
+ (void)UploadFile:(NSString *)url fileName:(NSString *)fileName name:(NSString *)name param:(NSDictionary *)param progress:(ProgressBlock)progressBlock success:(NetBlock)successBlock error:(ErrorBlock)errorBlock
{
    NSArray *arr  = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
    NSString *documentPath = [arr objectAtIndex:0];
    NSString *path = [documentPath stringByAppendingString:fileName];
    NSString *filePath = path;
    AFHTTPSessionManager *manager = [AFHTTPSessionManager manager];
    manager.responseSerializer = [AFJSONResponseSerializer serializer];
    [manager POST:url parameters:param constructingBodyWithBlock:^(id<AFMultipartFormData>  _Nonnull formData) {
        [formData appendPartWithFileURL:[NSURL URLWithString:filePath] name:name error:nil];
    } progress:^(NSProgress * _Nonnull uploadProgress) {
        if (progressBlock) {
            progressBlock(uploadProgress.completedUnitCount, uploadProgress.totalUnitCount);
        }
    } success:^(NSURLSessionDataTask * _Nonnull task, id  _Nullable responseObject) {
        if (successBlock) {
            successBlock(responseObject);
        }
    } failure:^(NSURLSessionDataTask * _Nullable task, NSError * _Nonnull error) {
        if (errorBlock)
        {
            errorBlock(error);
        }
    }];
}
+ (void)Download:(NSString *)url progress:(ProgressBlock)progressBlock success:(NetBlock)successBlock error:(ErrorBlock)errorBlock
{
    AFHTTPSessionManager *manager = [AFHTTPSessionManager manager];
    manager.responseSerializer = [AFJSONResponseSerializer serializer];
    [manager GET:url parameters:nil progress:^(NSProgress * _Nonnull downloadProgress) {
        progressBlock(downloadProgress.completedUnitCount, downloadProgress.totalUnitCount);
    } success:^(NSURLSessionDataTask * _Nonnull task, id  _Nullable responseObject) {
        NSLog(@"下载成功");
        if (successBlock) {
            successBlock(responseObject);
        }
    } failure:^(NSURLSessionDataTask * _Nullable task, NSError * _Nonnull error) {
        NSLog(@"下载失败");
        if (errorBlock)
        {
            errorBlock(error);
        }
    }];
}
//+ (void)startRequest:(NSString *)urlString parameters:(NSDictionary *)parameters {
//
//    AFHTTPSessionManager *manager = [AFHTTPSessionManager manager];
//    //设置超时时间
//    manager.requestSerializer.timeoutInterval = 10;
//    manager.responseSerializer = [AFJSONResponseSerializer serializer];
//    manager.responseSerializer.acceptableContentTypes = [NSSet setWithObject:@"text/html"];
//
//    NSURLSessionDataTask *dataTask = [manager POST:urlString parameters:parameters progress:nil success:^(NSURLSessionDataTask * _Nonnull task, id  _Nullable responseObject) {
//        NSLog(@"%@", responseObject);
//
//
//    } failure:^(NSURLSessionDataTask * _Nullable task, NSError * _Nonnull error) {
//        NSLog(@"%@", error.localizedDescription);
//
//    }];
//}
/**
 èŽ·å–æ—¶é—´æˆ³å­—ç¬¦ä¸²ï¼ˆç§’ï¼‰
 @param seconds ä»Žå½“前延后的秒数
 @return æ—¶é—´æˆ³
 */
-(NSString * )getTimeStringWithDelay:(NSInteger)seconds{
    NSDate * date = [NSDate date];
    NSInteger time = (NSInteger)date.timeIntervalSince1970+seconds;
    return [NSString stringWithFormat:@"%ld",(long)time];
}
// éšæœºå­—符串
+ (NSString *)random32String {
    char data[32];
    for (int x=0;x<32;data[x++] = (char)('A' + (arc4random_uniform(26))));
    return [[NSString alloc] initWithBytes:data length:32 encoding:NSUTF8StringEncoding];
}
//解析json字符串
+ (NSDictionary *)dictionaryWithJsonString:(NSString *)jsonString {
    if (jsonString == nil) {
        return nil;
    }
    NSData *jsonData = [jsonString dataUsingEncoding:NSUTF8StringEncoding];
    NSError *err;
    NSDictionary *dic = [NSJSONSerialization JSONObjectWithData:jsonData options:NSJSONReadingMutableContainers error:&err];
    if(err) {
        NSLog(@"json解析失败:%@",err);
        return nil;
    }
    return dic;
}
@end
BuWanVideo2.0/LeftTableViewCell.m
@@ -13,7 +13,7 @@
- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    _Line.backgroundColor=kGlobalLightGreyColor_210;
//    _Line.backgroundColor=kGlobalLightGreyColor_210;
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
BuWanVideo2.0/LeftTableViewCell.xib
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="12120" systemVersion="16F73" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="13771" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
    <device id="retina4_7" orientation="portrait">
        <adaptation id="fullscreen"/>
    </device>
    <dependencies>
        <deployment identifier="iOS"/>
        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="12088"/>
        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13772"/>
        <capability name="Constraints to layout margins" minToolsVersion="6.0"/>
        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
    </dependencies>
@@ -20,14 +20,14 @@
                <autoresizingMask key="autoresizingMask"/>
                <subviews>
                    <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="v79-gc-l0z">
                        <rect key="frame" x="23" y="15" width="25" height="25"/>
                        <rect key="frame" x="21" y="15" width="25" height="25"/>
                        <constraints>
                            <constraint firstAttribute="width" constant="25" id="fry-uF-Q9A"/>
                            <constraint firstAttribute="height" constant="25" id="nVr-1f-2f1"/>
                        </constraints>
                    </imageView>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="OzK-Xn-oiw">
                        <rect key="frame" x="68" y="8" width="202" height="38"/>
                        <rect key="frame" x="66" y="8" width="219" height="38"/>
                        <constraints>
                            <constraint firstAttribute="height" constant="38" id="XkF-km-t8T"/>
                        </constraints>
@@ -36,34 +36,34 @@
                        <nil key="highlightedColor"/>
                    </label>
                    <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="arrow---right-副本-2" translatesAutoresizingMaskIntoConstraints="NO" id="8Dq-2Y-JCV">
                        <rect key="frame" x="270" y="18" width="9" height="14"/>
                        <rect key="frame" x="285" y="18" width="9" height="14"/>
                        <constraints>
                            <constraint firstAttribute="height" constant="14" id="0C2-HO-WAc"/>
                            <constraint firstAttribute="width" constant="9" id="Bjc-Xj-I5q"/>
                        </constraints>
                    </imageView>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="l3H-yw-Epb">
                        <rect key="frame" x="63" y="53" width="224" height="1"/>
                        <color key="backgroundColor" red="0.81568627450980391" green="0.81568627450980391" blue="0.81568627450980391" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                        <rect key="frame" x="71" y="51" width="183" height="1"/>
                        <color key="backgroundColor" red="0.81568627450980391" green="0.81568627450980391" blue="0.81568627450980391" alpha="0.32066031678082191" colorSpace="custom" customColorSpace="sRGB"/>
                        <constraints>
                            <constraint firstAttribute="height" constant="1" id="ncE-ym-a4g"/>
                        </constraints>
                        <fontDescription key="fontDescription" type="system" pointSize="17"/>
                        <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                        <nil key="highlightedColor"/>
                        <color key="textColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
                        <color key="highlightedColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
                    </label>
                </subviews>
                <constraints>
                    <constraint firstItem="OzK-Xn-oiw" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="147-Lu-qYL"/>
                    <constraint firstAttribute="trailingMargin" secondItem="l3H-yw-Epb" secondAttribute="trailing" constant="25" id="4bo-dy-hv8"/>
                    <constraint firstAttribute="trailingMargin" secondItem="l3H-yw-Epb" secondAttribute="trailing" constant="50" id="4bo-dy-hv8"/>
                    <constraint firstItem="l3H-yw-Epb" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leadingMargin" constant="55" id="B7b-vT-Lhe"/>
                    <constraint firstItem="v79-gc-l0z" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="Bee-ZU-22r"/>
                    <constraint firstItem="8Dq-2Y-JCV" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" constant="-2" id="HfO-1k-9OX"/>
                    <constraint firstItem="v79-gc-l0z" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leadingMargin" constant="15" id="PXe-qO-xFl"/>
                    <constraint firstItem="v79-gc-l0z" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leadingMargin" constant="5" id="PXe-qO-xFl"/>
                    <constraint firstItem="8Dq-2Y-JCV" firstAttribute="leading" secondItem="OzK-Xn-oiw" secondAttribute="trailing" id="Zjr-yK-P8y"/>
                    <constraint firstAttribute="bottomMargin" secondItem="l3H-yw-Epb" secondAttribute="bottom" constant="-7" id="b1h-bh-a6V"/>
                    <constraint firstItem="OzK-Xn-oiw" firstAttribute="leading" secondItem="v79-gc-l0z" secondAttribute="trailing" constant="20" id="rBv-RU-m3B"/>
                    <constraint firstAttribute="trailingMargin" secondItem="8Dq-2Y-JCV" secondAttribute="trailing" constant="33" id="zsF-8N-BGU"/>
                    <constraint firstAttribute="trailingMargin" secondItem="8Dq-2Y-JCV" secondAttribute="trailing" constant="10" id="zsF-8N-BGU"/>
                </constraints>
            </tableViewCellContentView>
            <connections>
BuWanVideo2.0/LeftViewController.h
@@ -8,6 +8,6 @@
#import <UIKit/UIKit.h>
@interface LeftViewController : UIViewController
@interface LeftViewController : BaseViewController
@end
BuWanVideo2.0/LeftViewController.m
@@ -40,6 +40,17 @@
@implementation LeftViewController
- (instancetype)init {
    self = [super init];
    if (self) {
        self.title = @"我的";
        UITabBarItem *item = [[UITabBarItem alloc]initWithTitle:self.title image:[UIImage imageNamed:@"User-拷贝"] selectedImage:[UIImage imageNamed:@"User"]];
        item.titlePositionAdjustment = UIOffsetMake(0, -5);
        self.tabBarItem = item;
    }
    return self;
}
- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor=[UIColor whiteColor];
@@ -49,14 +60,14 @@
    self.LeftbackgroundH.constant=141;
    //头像绘圆
    self.LeftImageIcon.layer.cornerRadius=self.LeftImageIcon.frame.size.height/2;
    self.LeftImageIcon.layer.masksToBounds= YES;
    //tabelView的配置
    _LeftTableView.delegate=self;
    _LeftTableView.dataSource=self;
    
    //隐藏Cell之间的线
    _LeftTableView.separatorStyle = UITableViewCellSelectionStyleNone;
    _LeftTableView.scrollEnabled = NO;
    //注册tableViewCell
    [_LeftTableView registerNib:[UINib nibWithNibName:@"LeftTableViewCell" bundle:nil] forCellReuseIdentifier:@"LeftTableViewCellId"];
    
@@ -64,7 +75,7 @@
    [self creatData];
    
    //设置侧滑栏的头背景
    _LeftBackGroundView.image=[UIImage imageNamed:@"图层-2"];
//    _LeftBackGroundView.image=[UIImage imageNamed:@"图层-2"];
    
    //设置立即登录的button
    [_LeftLoginBtn setTitleColor:kGlobalYellowColor forState:UIControlStateNormal];
@@ -119,7 +130,7 @@
        _iconArr=[NSArray arrayWithObjects:@"我的收藏",@"观看记录",@"我的关注",@"我的消息",@"分享出去",@"帮助和反馈",@"设置", nil];
    }
    if (!_dataArr) {
        _dataArr=[NSArray arrayWithObjects:@"我的收藏",@"观看记录",@"我的关注",@"我的消息",@"分享出去",@"帮助与反馈",@"设置", nil];
        _dataArr=[NSArray arrayWithObjects:@"我的收藏",@"观看记录",@"我的关注",@"我的消息",@"分享软件",@"帮助与反馈",@"设置", nil];
    }
}
/**
@@ -127,62 +138,67 @@
 */
-(void)LoginWithThird{
    //首先,如果用户已经是登录状态,那么就该跳转到设置界面,让用户可以选择退出登录,如果是未登录的状态,就跳转到登录界面
    UINavigationController *nav = (UINavigationController *)self.slideMenuController.mainViewController;
    //首先获取登录状态
    _userOnLine= [[NSUserDefaults standardUserDefaults] boolForKey:@"userOnLine"];
    
    if(_userOnLine){//跳入个人中心,目前未实现,暂且空着
        Personal_informationViewController *Personal_informationVC=[[Personal_informationViewController alloc] init];
        [nav pushViewController:Personal_informationVC animated:YES];
        [self.navigationController pushViewController:Personal_informationVC animated:YES];
    }else{//跳入登录界面
        LoggingViewController *loginVC=[[LoggingViewController alloc] init];
        [nav pushViewController:loginVC animated:YES];
        [self.navigationController pushViewController:loginVC animated:YES];
    }
    [self.slideMenuController closeLeft];
}
#pragma Mark -UITableViewDelegate
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{
    return 50;
    return 45;
}
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{
    [tableView deselectRowAtIndexPath:indexPath animated:YES];
    UINavigationController *nav = (UINavigationController *)self.slideMenuController.mainViewController;
    
    switch (indexPath.row) {
        case 0:{
            CollectionController * cc = [CollectionController new];
            [nav pushViewController:cc animated:YES];
            [cc setHidesBottomBarWhenPushed:YES];
            [self.navigationController pushViewController:cc animated:YES];
        }
            break;
        case 1:{
            LookNoteController * note = [LookNoteController new];
            [nav pushViewController:note animated:YES];
            [note setHidesBottomBarWhenPushed:YES];
            [self.navigationController pushViewController:note animated:YES];
        }
            break;
        case 2:{
            if([[NSUserDefaults standardUserDefaults] boolForKey:@"userOnLine"]){//判断用户是否登录
                MyRegardController * nr = [MyRegardController new];
                [nav pushViewController:nr animated:YES];
                [nr setHidesBottomBarWhenPushed:YES];
                [self.navigationController pushViewController:nr animated:YES];
            }else{
                LoggingViewController *loginVC=[LoggingViewController new];
                [nav pushViewController:loginVC animated:YES];
                [loginVC setHidesBottomBarWhenPushed:YES];
                [self.navigationController pushViewController:loginVC animated:YES];
            }
        }
            break;
        case 3:{
            if([[NSUserDefaults standardUserDefaults] boolForKey:@"userOnLine"]){//判断用户是否登录
                MymessageContrlloer *message = [MymessageContrlloer new];
                [nav pushViewController:message animated:YES];
                [message setHidesBottomBarWhenPushed:YES];
                [self.navigationController pushViewController:message animated:YES];
            }else{
                LoggingViewController *loginVC=[LoggingViewController new];
                [nav pushViewController:loginVC animated:YES];
                [loginVC setHidesBottomBarWhenPushed:YES];
                [self.navigationController pushViewController:loginVC animated:YES];
            }
        }
            break;
        case 4:{//分享
            [Share shareAPP:nav];
            [Share shareAPP:self.navigationController];
        }
            break;
//        case 5:{//发布东西
@@ -193,13 +209,15 @@
        case 5:{
            //帮助与反馈
            HelpViewController *Help = [HelpViewController new];
            [nav pushViewController:Help animated:YES];
            [Help setHidesBottomBarWhenPushed:YES];
            [self.navigationController pushViewController:Help animated:YES];
        }
            break;
        case 6:{
            //设置
            SettingController * setting = [SettingController new];
            [nav pushViewController:setting animated:YES];
            [setting setHidesBottomBarWhenPushed:YES];
            [self.navigationController pushViewController:setting animated:YES];
        }
            break;
    }
BuWanVideo2.0/LeftViewController.xib
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11762" systemVersion="15G1004" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="13771" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
    <device id="retina4_7" orientation="portrait">
        <adaptation id="fullscreen"/>
    </device>
    <dependencies>
        <deployment identifier="iOS"/>
        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11757"/>
        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13772"/>
        <capability name="Constraints with non-1.0 multipliers" minToolsVersion="5.1"/>
        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
    </dependencies>
    <objects>
@@ -26,16 +27,17 @@
            <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
            <subviews>
                <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="QEM-mP-3cf">
                    <rect key="frame" x="0.0" y="0.0" width="248" height="140"/>
                    <rect key="frame" x="0.0" y="40" width="375" height="120"/>
                    <color key="backgroundColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
                    <constraints>
                        <constraint firstAttribute="height" constant="140" id="UPy-jU-CfA"/>
                        <constraint firstAttribute="height" constant="120" id="UPy-jU-CfA"/>
                    </constraints>
                </imageView>
                <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="fYV-gT-8iA">
                    <rect key="frame" x="50" y="30" width="50" height="50"/>
                    <rect key="frame" x="15" y="75" width="65" height="65"/>
                    <constraints>
                        <constraint firstAttribute="height" constant="50" id="MbL-bF-yYP"/>
                        <constraint firstAttribute="width" constant="50" id="sBe-WI-GgE"/>
                        <constraint firstAttribute="width" constant="65" id="5J4-ZM-XWr"/>
                        <constraint firstAttribute="height" constant="65" id="HOE-lD-ycV"/>
                    </constraints>
                    <state key="normal" image="用户默认"/>
                    <userDefinedRuntimeAttributes>
@@ -43,14 +45,14 @@
                    </userDefinedRuntimeAttributes>
                </button>
                <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="9lj-t4-Re2">
                    <rect key="frame" x="4" y="150" width="244" height="517"/>
                    <rect key="frame" x="4" y="170" width="371" height="497"/>
                    <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                    <color key="sectionIndexBackgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                </tableView>
                <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="vJq-5r-coT">
                    <rect key="frame" x="25" y="98" width="100" height="30"/>
                <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="vJq-5r-coT">
                    <rect key="frame" x="85" y="100" width="187.5" height="30"/>
                    <constraints>
                        <constraint firstAttribute="width" constant="100" id="G5R-uc-EXC"/>
                        <constraint firstAttribute="height" constant="30" id="sDU-NC-Qxv"/>
                        <constraint firstAttribute="height" constant="30" id="cJu-rD-mvM"/>
                    </constraints>
                    <fontDescription key="fontDescription" type="system" pointSize="15"/>
                    <state key="normal" title="立即登录"/>
@@ -58,16 +60,17 @@
            </subviews>
            <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
            <constraints>
                <constraint firstItem="vJq-5r-coT" firstAttribute="leading" secondItem="fYV-gT-8iA" secondAttribute="trailing" constant="5" id="259-n6-96L"/>
                <constraint firstItem="9lj-t4-Re2" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" constant="4" id="LTi-Lj-Vck"/>
                <constraint firstItem="fYV-gT-8iA" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" constant="50" id="QE4-Xw-35x"/>
                <constraint firstItem="QEM-mP-3cf" firstAttribute="top" secondItem="i5M-Pr-FkT" secondAttribute="top" id="U1o-hc-1Qp"/>
                <constraint firstItem="QEM-mP-3cf" firstAttribute="top" secondItem="i5M-Pr-FkT" secondAttribute="top" constant="40" id="U1o-hc-1Qp"/>
                <constraint firstItem="9lj-t4-Re2" firstAttribute="top" secondItem="QEM-mP-3cf" secondAttribute="bottom" constant="10" id="ZTh-BC-nOZ"/>
                <constraint firstItem="vJq-5r-coT" firstAttribute="top" secondItem="QEM-mP-3cf" secondAttribute="bottom" constant="-42" id="buD-7m-Efk"/>
                <constraint firstAttribute="trailing" secondItem="QEM-mP-3cf" secondAttribute="trailing" constant="127" id="dki-s9-h4v"/>
                <constraint firstItem="vJq-5r-coT" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" constant="25" id="e1c-pR-LX2"/>
                <constraint firstItem="vJq-5r-coT" firstAttribute="bottom" secondItem="fYV-gT-8iA" secondAttribute="bottom" constant="-10" id="Zxk-3Z-WLW"/>
                <constraint firstItem="vJq-5r-coT" firstAttribute="width" secondItem="QEM-mP-3cf" secondAttribute="width" multiplier="1:2" id="cwS-2c-CWy"/>
                <constraint firstAttribute="trailing" secondItem="QEM-mP-3cf" secondAttribute="trailing" id="dki-s9-h4v"/>
                <constraint firstAttribute="bottom" secondItem="9lj-t4-Re2" secondAttribute="bottom" id="fiW-ny-tg7"/>
                <constraint firstItem="9lj-t4-Re2" firstAttribute="width" secondItem="QEM-mP-3cf" secondAttribute="width" constant="-4" id="haf-el-vIK"/>
                <constraint firstItem="vJq-5r-coT" firstAttribute="top" secondItem="fYV-gT-8iA" secondAttribute="bottom" constant="18" id="tKn-0z-gao"/>
                <constraint firstItem="9lj-t4-Re2" firstAttribute="top" secondItem="fYV-gT-8iA" secondAttribute="bottom" constant="30" id="oZ7-ap-nKJ"/>
                <constraint firstItem="fYV-gT-8iA" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" constant="15" id="xEE-Rt-gwj"/>
                <constraint firstItem="QEM-mP-3cf" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" id="xxp-Ty-abf"/>
            </constraints>
            <point key="canvasLocation" x="326.5" y="272.5"/>
BuWanVideo2.0/LookNoteController.m
@@ -92,11 +92,12 @@
 åˆ›å»ºåˆ—表
 */
-(void)createTableView{
    mytableview = [[UITableView alloc]initWithFrame:CGRectMake(10, 5, KScreenW-20, KScreenH-5) style:UITableViewStyleGrouped];
    mytableview = [[UITableView alloc]initWithFrame:CGRectMake(0, 5, KScreenW, KScreenH-5) style:UITableViewStylePlain];
    mytableview.delegate = self;
    mytableview.dataSource = self;
    mytableview.backgroundColor = kGlobalBackgroundColor;
    mytableview.showsVerticalScrollIndicator = NO;
    mytableview.separatorStyle = UITableViewCellSeparatorStyleNone;
    [self.view addSubview:mytableview];
    [mytableview registerNib:[UINib nibWithNibName:@"NoteCell" bundle:nil] forCellReuseIdentifier:@"NoteCell"];
}
@@ -285,7 +286,7 @@
}
- (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section{
    return 5;
    return CGFLOAT_MIN;
}
- (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section{
BuWanVideo2.0/MainViewController.m
@@ -29,6 +29,7 @@
#import "MymessageContrlloer.h"
#import "OnlySpecialController.h"
@interface MainViewController ()<UIScrollViewDelegate>{
    recommendView *_recommend;
    liveOnLineView *_liveOnLine;
@@ -40,6 +41,8 @@
@property (nonatomic, strong) HMSegmentedControl *segmentedControl;
@property (nonatomic, assign) BOOL userOnLine;//用户是否登录
@property (nonatomic, strong) UIView *Point;  //提示红点
@property (nonatomic, strong) NSMutableArray *dataClass;//分区数据
@end
@@ -47,12 +50,14 @@
- (void)viewDidLoad {
    [super viewDidLoad];
    _dataClass = @[].mutableCopy;
    //加载导航栏
    [self loadNavigationbar];
    //检查当前用户是否登录
    [self whetherLogin];
    //添加主视图的segment
    [self creatSegmentView];
    //添加通知
    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(pushMessageVC:) name:@"pushMessageNotification" object:nil];
}
@@ -175,8 +180,11 @@
 *  æ·»åŠ ä¸»è§†å›¾çš„segment
 */
-(void)creatSegmentView{
    self.segmentedControl = [[HMSegmentedControl alloc] initWithSectionTitles:@[@"推荐 ", @"分区 ", @"发现 ", @"关注 "]];
    [self.segmentedControl setFrame:CGRectMake(0, kNavigationBarH, KScreenW, 40)];
    [self.segmentedControl setFrame:CGRectMake(0, KScreenH - 40, KScreenW, 40)];
    self.segmentedControl.selectionIndicatorHeight = 2.0f;
    self.segmentedControl.backgroundColor = kGlobalMainColor;
    self.segmentedControl.titleTextAttributes = @{NSForegroundColorAttributeName : [UIColor whiteColor],NSFontAttributeName :[UIFont systemFontOfSize:15]};
@@ -200,7 +208,7 @@
    [self.view addSubview:self.segmentedControl];
    
    //配置滑动视图
    self.scrollView = [[UIScrollView alloc] initWithFrame:CGRectMake(0, kNavigationBarH+40, KScreenW, KScreenH-kNavigationBarH-40)];
    self.scrollView = [[UIScrollView alloc] initWithFrame:CGRectMake(0, kNavigationBarH, KScreenW, KScreenH-kNavigationBarH-40)];
    self.scrollView.pagingEnabled = YES;
    self.scrollView.showsHorizontalScrollIndicator = NO;
    self.scrollView.contentSize = CGSizeMake(KScreenW * 4, KScreenH-kNavigationBarH-40);
@@ -249,6 +257,7 @@
    [self.segmentedControl addSubview:_Point];
}
//展开侧边栏
-(void)presentLeftMenuViewController{
    [self.slideMenuController openLeft];
BuWanVideo2.0/MineViewController.h
New file
@@ -0,0 +1,13 @@
//
//  MineViewController.h
//  BuWanVideo2.0
//
//  Created by apple on 2018/3/13.
//  Copyright Â© 2018å¹´ com.yeshi.buwansheque.ios. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface MineViewController : BaseViewController
@end
BuWanVideo2.0/MineViewController.m
New file
@@ -0,0 +1,53 @@
//
//  MineViewController.m
//  BuWanVideo2.0
//
//  Created by apple on 2018/3/13.
//  Copyright Â© 2018å¹´ com.yeshi.buwansheque.ios. All rights reserved.
//
#import "MineViewController.h"
#import "attentionView.h"
@interface MineViewController ()
@property (nonatomic,strong)attentionView *atteVC ;
@end
@implementation MineViewController
- (instancetype)init {
    self = [super init];
    if (self) {
        self.title = @"我的";
        UITabBarItem *item = [[UITabBarItem alloc]initWithTitle:self.title image:[UIImage imageNamed:@"User-拷贝"] selectedImage:[UIImage imageNamed:@"User"]];
        self.tabBarItem = item;
    }
    return self;
}
- (void)viewDidLoad {
    [super viewDidLoad];
    [self.view addSubview:self.atteVC];
}
- (attentionView *)atteVC{
    if (_atteVC) {
        return _atteVC;
    }
    _atteVC = [[attentionView alloc]initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height)];
    return _atteVC;
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}
/*
#pragma mark - Navigation
// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/
@end
BuWanVideo2.0/MyRegardController.m
@@ -62,18 +62,18 @@
}
-(void)initlist{
    mytableview = [[UITableView alloc]initWithFrame:CGRectMake(10, 5, KScreenW-20, KScreenH-5) style:UITableViewStyleGrouped];
    mytableview = [[UITableView alloc]initWithFrame:CGRectMake(10, 74, KScreenW - 20               , KScreenH-5) style:UITableViewStylePlain];
    mytableview.delegate = self;
    mytableview.dataSource = self;
    mytableview.separatorStyle = UITableViewCellSeparatorStyleNone;
    mytableview.showsVerticalScrollIndicator = NO;
    mytableview.backgroundColor = [UIColor clearColor];
    //注册cell
    [mytableview registerNib:[UINib nibWithNibName:@"RegardCell" bundle:nil] forCellReuseIdentifier:@"RegardCell"];
    //下拉刷新
    mytableview.mj_header = [MJRefreshNormalHeader headerWithRefreshingTarget:self refreshingAction:@selector(loadNewData)];
    mytableview.mj_footer = [MJRefreshBackNormalFooter footerWithRefreshingTarget:self refreshingAction:@selector(loadOldData)];
    [mytableview.mj_header beginRefreshing];
    [self.view addSubview:mytableview];
}
@@ -131,12 +131,15 @@
}
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{
//    return ListDataArray.count;
    return 1;
}
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView{
    return ListDataArray.count;
}
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
    RegardCell * cell = [tableView dequeueReusableCellWithIdentifier:@"RegardCell"];
    NSDictionary * dic = [ListDataArray[indexPath.row] objectForKey:@"VideoInfo"];
    NSDictionary * dic = [ListDataArray[indexPath.section] objectForKey:@"VideoInfo"];
    cell.selectionStyle =  UITableViewCellSelectionStyleNone;
    //名称
    cell.Name.text = [dic objectForKey:@"Name"];
@@ -165,13 +168,12 @@
    [cell.button setSelected:YES];
    
    //设置tag的值
    cell.button.tag = indexPath.row;
    cell.expandbutton.tag=indexPath.row;
    cell.button.tag = indexPath.section + 1000;
    cell.expandbutton.tag=indexPath.section + 1000;
    NSLog(@"%ld",(long)indexPath.row);
    
    [cell.button addTarget:self action:@selector(ClickButton:) forControlEvents:UIControlEventTouchUpInside];
    [cell.expandbutton addTarget:self action:@selector(ClickButton:) forControlEvents:UIControlEventTouchUpInside];
    return cell;
}
@@ -180,11 +182,11 @@
}
- (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section{
    return 5;
    return CGFLOAT_MIN;
}
- (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section{
    return 5;
    return 10;
}
-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(nonnull NSIndexPath *)indexPath{
@@ -195,7 +197,11 @@
        
    }];
}
- (UIView *)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section{
    UIView *view = [[UIView alloc]initWithFrame:CGRectMake(0, 0, KScreenW, 20)];
    view.backgroundColor = [UIColor clearColor];
    return view;
}
/**
 *  é€€å‡ºå¹¶å‘服务器发出新的关注新信息
 */
@@ -211,14 +217,18 @@
 */
-(void)ClickButton:(UIButton *)sender{
    UIButton *button = [sender.superview subviews][1];
//    UIButton *button = sender;
    if([button isSelected]){//取消关注的操作
        [button setSelected:NO];
        button.backgroundColor = kGlobalYellowColor;
        button.tintColor=kGlobalYellowColor;
        
        NSString *str=[[ListDataArray[sender.tag] objectForKey:@"VideoInfo"]objectForKey:@"Id"];
        NSString *str=[[ListDataArray[sender.tag - 1000] objectForKey:@"VideoInfo"]objectForKey:@"Id"];
        NSLog(@"%@",ListDataArray[sender.tag - 1000]);
        NSLog(@"%@",[[ListDataArray[sender.tag - 1000] objectForKey:@"VideoInfo"]objectForKey:@"Name"]);
        NSLog(@"%ld",(long)sender.tag);
        [[YTHNetInterface startInterface] cancelAttentionWithUid:[YTHsharedManger startManger].Uid WithVideoId:str WithLoginUid:[[NSUserDefaults standardUserDefaults] objectForKey:@"LoginUid"] WithSystem:@"1" WithBlock:^(BOOL isSuccessful, id result, NSString *error) {
            if(isSuccessful){
                NSNotification *notification = [NSNotification notificationWithName:@"RELOAD_DATA" object:nil userInfo:nil];
@@ -235,7 +245,7 @@
        button.backgroundColor = kGlobalLightGreyColor_210;
        button.tintColor=kGlobalLightGreyColor_210;
        
        NSString *str=[NSString stringWithFormat:@"%@,",[[ListDataArray[sender.tag] objectForKey:@"VideoInfo"]objectForKey:@"Id"]];
        NSString *str=[NSString stringWithFormat:@"%@,",[[ListDataArray[sender.tag - 1000] objectForKey:@"VideoInfo"]objectForKey:@"Id"]];
        NSLog(@"%ld",(long)sender.tag);
        
        [[YTHNetInterface startInterface] addAttentionWithUid:[YTHsharedManger startManger].Uid WithVideoId:str WithLoginUid:[[NSUserDefaults standardUserDefaults] objectForKey:@"LoginUid"] WithSystem:@"1" WithBlock:^(BOOL isSuccessful, id result, NSString *error) {
BuWanVideo2.0/NoteCell.xib
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11762" systemVersion="15G1004" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="13771" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
    <device id="retina4_7" orientation="portrait">
        <adaptation id="fullscreen"/>
    </device>
    <dependencies>
        <deployment identifier="iOS"/>
        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11757"/>
        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13772"/>
        <capability name="Constraints to layout margins" minToolsVersion="6.0"/>
        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
    </dependencies>
@@ -16,11 +16,11 @@
            <rect key="frame" x="0.0" y="0.0" width="300" height="97"/>
            <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
            <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
                <rect key="frame" x="0.0" y="0.0" width="300" height="97"/>
                <rect key="frame" x="0.0" y="0.0" width="300" height="96.5"/>
                <autoresizingMask key="autoresizingMask"/>
                <subviews>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="252" verticalCompressionResistancePriority="751" text="" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="a26-eQ-nl8">
                        <rect key="frame" x="133" y="14" width="159" height="36"/>
                        <rect key="frame" x="151" y="17" width="133" height="36"/>
                        <constraints>
                            <constraint firstAttribute="height" constant="36" id="xa4-N9-sMB"/>
                        </constraints>
@@ -29,28 +29,38 @@
                        <nil key="highlightedColor"/>
                    </label>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ecy-hF-k8Y">
                        <rect key="frame" x="133" y="58" width="159" height="28"/>
                        <rect key="frame" x="151" y="61" width="133" height="0.0"/>
                        <fontDescription key="fontDescription" type="system" pointSize="14"/>
                        <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                        <nil key="highlightedColor"/>
                    </label>
                    <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="3bR-ww-4vH">
                        <rect key="frame" x="8" y="10" width="120" height="75"/>
                        <rect key="frame" x="21" y="13" width="120" height="75"/>
                        <constraints>
                            <constraint firstAttribute="height" constant="75" id="863-JR-VRn"/>
                            <constraint firstAttribute="width" constant="120" id="GBa-3c-CPq"/>
                        </constraints>
                    </imageView>
                    <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="u8q-1R-WIP">
                        <rect key="frame" x="0.0" y="73.5" width="300" height="1"/>
                        <color key="backgroundColor" white="0.67000000000000004" alpha="0.5" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
                        <constraints>
                            <constraint firstAttribute="height" constant="1" id="oS9-Q2-Je9"/>
                        </constraints>
                    </view>
                </subviews>
                <constraints>
                    <constraint firstAttribute="bottomMargin" secondItem="ecy-hF-k8Y" secondAttribute="bottom" constant="3" id="1ax-0f-Q37"/>
                    <constraint firstItem="3bR-ww-4vH" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leadingMargin" id="6hV-D6-6MJ"/>
                    <constraint firstItem="3bR-ww-4vH" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leadingMargin" constant="5" id="6hV-D6-6MJ"/>
                    <constraint firstItem="3bR-ww-4vH" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="EE9-gc-Eu0"/>
                    <constraint firstItem="u8q-1R-WIP" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" id="EJB-YX-A9W"/>
                    <constraint firstAttribute="trailing" secondItem="u8q-1R-WIP" secondAttribute="trailing" id="Eri-cY-6bw"/>
                    <constraint firstItem="3bR-ww-4vH" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="topMargin" constant="2" id="OuY-ua-svP"/>
                    <constraint firstAttribute="bottom" secondItem="u8q-1R-WIP" secondAttribute="bottom" id="QRE-kE-uT8"/>
                    <constraint firstAttribute="trailingMargin" secondItem="a26-eQ-nl8" secondAttribute="trailing" id="SeZ-Fc-u3m"/>
                    <constraint firstItem="ecy-hF-k8Y" firstAttribute="trailing" secondItem="a26-eQ-nl8" secondAttribute="trailing" id="cnQ-PR-MsG"/>
                    <constraint firstItem="ecy-hF-k8Y" firstAttribute="top" secondItem="a26-eQ-nl8" secondAttribute="bottom" constant="8" id="gcC-ck-b1t"/>
                    <constraint firstItem="a26-eQ-nl8" firstAttribute="leading" secondItem="3bR-ww-4vH" secondAttribute="trailing" constant="5" id="hHs-DW-LCV"/>
                    <constraint firstItem="a26-eQ-nl8" firstAttribute="leading" secondItem="3bR-ww-4vH" secondAttribute="trailing" constant="10" id="hHs-DW-LCV"/>
                    <constraint firstItem="ecy-hF-k8Y" firstAttribute="leading" secondItem="a26-eQ-nl8" secondAttribute="leading" id="iWx-oC-XAH"/>
                    <constraint firstItem="a26-eQ-nl8" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="topMargin" constant="6" id="lRg-Kq-kpG"/>
                </constraints>
BuWanVideo2.0/OnlySpecialController.m
@@ -133,15 +133,22 @@
        }
        cell.title.text = [titledic objectForKey:@"Name"];
        cell.lable.text = [titledic objectForKey:@"Introduction"];
        return cell;
    }else{
        OnlySpecialThere * cell = [tableView dequeueReusableCellWithIdentifier:@"OnlySpecialThere" forIndexPath:indexPath];
        cell.selectionStyle = UITableViewCellSelectionStyleNone;
        NSDictionary *dic = dataarr[indexPath.row];
        NSLog(@"%@",dic);
        cell.backgroundColor = kGlobalBackgroundColor;
        [cell.image setYthImageWithURL:[dic objectForKey:@"Hpicture"] placeholderImage:[UIImage imageNamed:@"默认加载图片"]];
//        CGFloat score = [[dic objectForKey:@"Score"]doubleValue];
//        if (score != 0) {
//            cell.grade.text = [NSString stringWithFormat:@"评分:%.1f",score];
//        }
        cell.grade.text = [dic objectForKey:@"Tag"];
        cell.title.text = [dic objectForKey:@"Name"];
        cell.playnum.text = [dic objectForKey:@"WatchCount"];
        NSNumber *number = [dic objectForKey:@"CommentCount"];
BuWanVideo2.0/OnlySpecialOne.xib
@@ -1,9 +1,11 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11201" systemVersion="15G31" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="13771" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
    <device id="retina4_7" orientation="portrait">
        <adaptation id="fullscreen"/>
    </device>
    <dependencies>
        <deployment identifier="iOS"/>
        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11161"/>
        <capability name="Constraints to layout margins" minToolsVersion="6.0"/>
        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13772"/>
        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
    </dependencies>
    <objects>
@@ -13,24 +15,22 @@
            <rect key="frame" x="0.0" y="0.0" width="320" height="120"/>
            <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
            <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
                <frame key="frameInset" width="320" height="119"/>
                <rect key="frame" x="0.0" y="0.0" width="320" height="119.5"/>
                <autoresizingMask key="autoresizingMask"/>
                <subviews>
                    <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="ZFN-Bw-nbu">
                        <constraints>
                            <constraint firstAttribute="height" constant="120" id="b1p-Nj-kbQ"/>
                        </constraints>
                        <rect key="frame" x="0.0" y="0.0" width="320" height="119.5"/>
                    </imageView>
                </subviews>
                <constraints>
                    <constraint firstItem="ZFN-Bw-nbu" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leadingMargin" constant="-8" id="No1-fx-16O"/>
                    <constraint firstAttribute="trailingMargin" secondItem="ZFN-Bw-nbu" secondAttribute="trailing" constant="-8" id="c8I-LX-zZQ"/>
                    <constraint firstItem="ZFN-Bw-nbu" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="topMargin" constant="-8" id="fD1-ZB-RTv"/>
                    <constraint firstItem="ZFN-Bw-nbu" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" id="5cZ-sP-3zT"/>
                    <constraint firstAttribute="bottom" secondItem="ZFN-Bw-nbu" secondAttribute="bottom" id="N0W-pM-KrF"/>
                    <constraint firstItem="ZFN-Bw-nbu" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" id="eDt-lD-3Dn"/>
                    <constraint firstAttribute="trailing" secondItem="ZFN-Bw-nbu" secondAttribute="trailing" id="w5Z-tQ-3EP"/>
                </constraints>
            </tableViewCellContentView>
            <connections>
                <outlet property="image" destination="ZFN-Bw-nbu" id="i0n-X8-IhM"/>
                <outlet property="imageheight" destination="b1p-Nj-kbQ" id="zAf-vU-f8n"/>
            </connections>
            <point key="canvasLocation" x="380" y="364"/>
        </tableViewCell>
BuWanVideo2.0/OnlySpecialThere.xib
@@ -1,8 +1,11 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11201" systemVersion="15G31" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="13771" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
    <device id="retina4_7" orientation="portrait">
        <adaptation id="fullscreen"/>
    </device>
    <dependencies>
        <deployment identifier="iOS"/>
        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11161"/>
        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13772"/>
        <capability name="Constraints to layout margins" minToolsVersion="6.0"/>
        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
    </dependencies>
@@ -13,17 +16,19 @@
            <rect key="frame" x="0.0" y="0.0" width="320" height="95"/>
            <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
            <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
                <frame key="frameInset" width="320" height="94"/>
                <rect key="frame" x="0.0" y="0.0" width="320" height="94.5"/>
                <autoresizingMask key="autoresizingMask"/>
                <subviews>
                    <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="5aF-Ep-qtm">
                        <rect key="frame" x="16" y="11" width="139" height="75"/>
                        <constraints>
                            <constraint firstAttribute="width" constant="139" id="NFt-Kp-UlR"/>
                        </constraints>
                    </imageView>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="cCa-li-8ST">
                        <rect key="frame" x="169" y="50" width="90" height="17"/>
                        <constraints>
                            <constraint firstAttribute="width" constant="65" id="Gy1-Bf-zQn"/>
                            <constraint firstAttribute="width" constant="90" id="Gy1-Bf-zQn"/>
                            <constraint firstAttribute="height" constant="17" id="KrU-wb-x4S"/>
                        </constraints>
                        <fontDescription key="fontDescription" type="system" pointSize="14"/>
@@ -31,18 +36,21 @@
                        <nil key="highlightedColor"/>
                    </label>
                    <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="播放次数" translatesAutoresizingMaskIntoConstraints="NO" id="3qg-Ph-BUM">
                        <rect key="frame" x="169" y="72" width="16" height="12"/>
                        <constraints>
                            <constraint firstAttribute="height" constant="12" id="8Cb-OK-kxp"/>
                            <constraint firstAttribute="width" constant="16" id="U3W-1Y-yzH"/>
                        </constraints>
                    </imageView>
                    <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="评论次数" translatesAutoresizingMaskIntoConstraints="NO" id="EQm-O5-wDk">
                        <rect key="frame" x="237" y="72" width="15" height="12"/>
                        <constraints>
                            <constraint firstAttribute="height" constant="12" id="32c-tS-iaD"/>
                            <constraint firstAttribute="width" constant="15" id="y9H-ZH-yvb"/>
                        </constraints>
                    </imageView>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="1fI-CB-HJe">
                        <rect key="frame" x="189" y="71" width="45" height="14"/>
                        <constraints>
                            <constraint firstAttribute="height" constant="14" id="Lgm-GJ-kMs"/>
                            <constraint firstAttribute="width" constant="45" id="WbP-rL-JGj"/>
@@ -52,6 +60,7 @@
                        <nil key="highlightedColor"/>
                    </label>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="uqk-C4-oHd">
                        <rect key="frame" x="256" y="71" width="45" height="14"/>
                        <constraints>
                            <constraint firstAttribute="height" constant="14" id="3Y4-o0-ceP"/>
                            <constraint firstAttribute="width" constant="45" id="pbt-nf-94h"/>
@@ -61,6 +70,7 @@
                        <nil key="highlightedColor"/>
                    </label>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="致青春:原来你在这" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="gdd-hm-odk">
                        <rect key="frame" x="169" y="16" width="126" height="36"/>
                        <fontDescription key="fontDescription" type="system" pointSize="15"/>
                        <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                        <nil key="highlightedColor"/>
BuWanVideo2.0/RegardCell.xib
@@ -1,28 +1,33 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11201" systemVersion="15G31" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="13771" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
    <device id="retina4_7" orientation="portrait">
        <adaptation id="fullscreen"/>
    </device>
    <dependencies>
        <deployment identifier="iOS"/>
        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11161"/>
        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13772"/>
        <capability name="Constraints to layout margins" minToolsVersion="6.0"/>
        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
    </dependencies>
    <objects>
        <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
        <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
        <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="KGk-i7-Jjw" customClass="RegardCell">
            <rect key="frame" x="0.0" y="0.0" width="300" height="64"/>
        <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="87" id="KGk-i7-Jjw" customClass="RegardCell">
            <rect key="frame" x="0.0" y="0.0" width="316" height="87"/>
            <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
            <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
                <frame key="frameInset" width="300" height="63"/>
                <rect key="frame" x="0.0" y="0.0" width="316" height="86.5"/>
                <autoresizingMask key="autoresizingMask"/>
                <subviews>
                    <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="6qD-vQ-d0L">
                        <rect key="frame" x="21" y="11" width="96" height="54"/>
                        <constraints>
                            <constraint firstAttribute="width" constant="96" id="c0D-6E-0wL"/>
                            <constraint firstAttribute="height" constant="54" id="hVH-Kt-BaW"/>
                        </constraints>
                    </imageView>
                    <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="HPe-iw-saK">
                        <rect key="frame" x="236" y="20" width="64" height="30"/>
                        <color key="backgroundColor" red="0.81568627450980391" green="0.81568627450980391" blue="0.81568627450980391" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                        <constraints>
                            <constraint firstAttribute="width" constant="64" id="1Fg-lr-KHL"/>
@@ -34,6 +39,7 @@
                        </state>
                    </button>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ulz-ms-0Sg">
                        <rect key="frame" x="122" y="43" width="101" height="17"/>
                        <constraints>
                            <constraint firstAttribute="height" constant="17" id="4RC-pa-elw"/>
                        </constraints>
@@ -42,6 +48,7 @@
                        <nil key="highlightedColor"/>
                    </label>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Aaa-R8-Z9O">
                        <rect key="frame" x="122" y="12" width="101" height="21"/>
                        <constraints>
                            <constraint firstAttribute="height" constant="21" id="KWB-Qd-gRL"/>
                        </constraints>
@@ -50,6 +57,7 @@
                        <nil key="highlightedColor"/>
                    </label>
                    <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="zlc-kH-vzR">
                        <rect key="frame" x="232" y="0.0" width="84" height="63"/>
                        <constraints>
                            <constraint firstAttribute="width" constant="84" id="clc-5b-kXl"/>
                            <constraint firstAttribute="height" constant="63" id="ua6-xs-63b"/>
@@ -60,10 +68,10 @@
                    <constraint firstItem="ulz-ms-0Sg" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="topMargin" constant="32" id="3zh-AL-mwi"/>
                    <constraint firstAttribute="trailingMargin" secondItem="HPe-iw-saK" secondAttribute="trailing" id="4e9-iR-3Qy"/>
                    <constraint firstItem="HPe-iw-saK" firstAttribute="leading" secondItem="Aaa-R8-Z9O" secondAttribute="trailing" constant="13" id="GnN-x0-MXj"/>
                    <constraint firstItem="6qD-vQ-d0L" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="topMargin" constant="-3" id="MR0-PR-gqe"/>
                    <constraint firstItem="6qD-vQ-d0L" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="topMargin" id="MR0-PR-gqe"/>
                    <constraint firstItem="Aaa-R8-Z9O" firstAttribute="leading" secondItem="6qD-vQ-d0L" secondAttribute="trailing" constant="5" id="PNH-Mf-Uaw"/>
                    <constraint firstItem="HPe-iw-saK" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="topMargin" constant="9" id="VcN-rh-D1R"/>
                    <constraint firstItem="6qD-vQ-d0L" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leadingMargin" constant="-3" id="cdw-jC-tag"/>
                    <constraint firstItem="6qD-vQ-d0L" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leadingMargin" constant="5" id="cdw-jC-tag"/>
                    <constraint firstItem="Aaa-R8-Z9O" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="topMargin" constant="1" id="eQC-F3-tAo"/>
                    <constraint firstItem="HPe-iw-saK" firstAttribute="leading" secondItem="ulz-ms-0Sg" secondAttribute="trailing" constant="13" id="mRf-sa-agb"/>
                    <constraint firstItem="ulz-ms-0Sg" firstAttribute="leading" secondItem="6qD-vQ-d0L" secondAttribute="trailing" constant="5" id="p49-cf-uzL"/>
@@ -80,6 +88,7 @@
                <outlet property="expandbutton" destination="zlc-kH-vzR" id="eTp-Jd-SE5"/>
                <outlet property="image" destination="6qD-vQ-d0L" id="27L-Zh-6X2"/>
            </connections>
            <point key="canvasLocation" x="41" y="70.5"/>
        </tableViewCell>
    </objects>
</document>
BuWanVideo2.0/StorageSpaceTableViewCell.xib
@@ -1,8 +1,11 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11201" systemVersion="15G1004" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="13771" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
    <device id="retina4_7" orientation="portrait">
        <adaptation id="fullscreen"/>
    </device>
    <dependencies>
        <deployment identifier="iOS"/>
        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11161"/>
        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13772"/>
        <capability name="Constraints to layout margins" minToolsVersion="6.0"/>
        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
    </dependencies>
@@ -13,10 +16,11 @@
            <rect key="frame" x="0.0" y="0.0" width="308" height="48"/>
            <autoresizingMask key="autoresizingMask"/>
            <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="hxS-ku-prd" id="zsK-NQ-es0">
                <frame key="frameInset" width="308" height="47"/>
                <rect key="frame" x="0.0" y="0.0" width="308" height="47.5"/>
                <autoresizingMask key="autoresizingMask"/>
                <subviews>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="手机存储:" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="65E-UE-SGP">
                        <rect key="frame" x="21" y="13.5" width="84" height="20.5"/>
                        <constraints>
                            <constraint firstAttribute="width" constant="84" id="cii-bg-PVY"/>
                        </constraints>
@@ -25,6 +29,7 @@
                        <nil key="highlightedColor"/>
                    </label>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="总量:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="AXi-KE-4Ek">
                        <rect key="frame" x="106" y="18" width="39" height="14.5"/>
                        <constraints>
                            <constraint firstAttribute="width" constant="39" id="YBZ-gN-by8"/>
                        </constraints>
@@ -33,32 +38,37 @@
                        <nil key="highlightedColor"/>
                    </label>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" text="120.56" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="lR6-jc-ImR">
                        <rect key="frame" x="138" y="18" width="38.5" height="14.5"/>
                        <constraints>
                            <constraint firstAttribute="width" relation="lessThanOrEqual" constant="40" id="2iq-At-Dwx"/>
                            <constraint firstAttribute="width" relation="lessThanOrEqual" constant="60" id="2iq-At-Dwx"/>
                        </constraints>
                        <fontDescription key="fontDescription" type="system" pointSize="12"/>
                        <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                        <nil key="highlightedColor"/>
                    </label>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="可用:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="9h4-IH-alq">
                        <rect key="frame" x="194" y="18" width="37" height="14.5"/>
                        <fontDescription key="fontDescription" type="system" pointSize="12"/>
                        <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                        <nil key="highlightedColor"/>
                    </label>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="102.66" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Dhj-ZD-g8y">
                        <rect key="frame" x="224" y="18" width="39" height="14.5"/>
                        <constraints>
                            <constraint firstAttribute="width" relation="lessThanOrEqual" constant="39" id="b5m-Gq-33R"/>
                            <constraint firstAttribute="width" relation="lessThanOrEqual" constant="60" id="b5m-Gq-33R"/>
                        </constraints>
                        <fontDescription key="fontDescription" type="system" pointSize="12"/>
                        <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                        <nil key="highlightedColor"/>
                    </label>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="G" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="jeZ-l7-lnS">
                        <rect key="frame" x="263" y="18" width="9" height="14.5"/>
                        <fontDescription key="fontDescription" type="system" pointSize="12"/>
                        <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                        <nil key="highlightedColor"/>
                    </label>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" text="G" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="nDB-3p-Y6P">
                        <rect key="frame" x="176.5" y="18" width="9" height="14.5"/>
                        <fontDescription key="fontDescription" type="system" pointSize="12"/>
                        <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                        <nil key="highlightedColor"/>
BuWanVideo2.0/SubregionDetailViewController.m
@@ -140,38 +140,38 @@
    [self.scrollView scrollRectToVisible:CGRectMake(0, 0, KScreenW, KScreenH-kNavigationBarH-40) animated:NO];
    [self.view addSubview:self.scrollView];
    
    //推荐页面的视图
    if (!recommendation) {
        UICollectionViewFlowLayout *flow = [[UICollectionViewFlowLayout alloc]init];
        //指定布局方式为垂直
        flow.scrollDirection = UICollectionViewScrollDirectionVertical;
        flow.minimumLineSpacing = 10;//最小行间距(当垂直布局时是行间距,当水平布局时可以理解为列间距)
        flow.minimumInteritemSpacing = 10;//两个单元格之间的最小间距
        recommendation=[[UICollectionView alloc] initWithFrame:CGRectMake(0, 0, KScreenW, KScreenH-kNavigationBarH-40) collectionViewLayout:flow];
    }
    recommendation.delegate=self;
    recommendation.dataSource=self;
    recommendation.backgroundColor=kGlobalBackgroundColor;
    //注册cell
    [recommendation registerNib:[UINib nibWithNibName:@"recommentCollectionViewCell" bundle:nil] forCellWithReuseIdentifier:@"recommentCollectionViewCell"];
    //设置轮播图的head
    [recommendation registerNib:[UINib nibWithNibName:@"shufflingCollectionReusableView" bundle:nil] forSupplementaryViewOfKind:UICollectionElementKindSectionHeader withReuseIdentifier:@"shufflingCollectionReusableView"];
    //设置分类头的head
    [recommendation registerNib:[UINib nibWithNibName:@"HeaderCollectionReusableView" bundle:nil] forSupplementaryViewOfKind:UICollectionElementKindSectionHeader withReuseIdentifier:@"HeaderCollectionReusableView"];
    //推荐视图
    [self.scrollView addSubview:recommendation];
    //给collectionView设置下拉刷新
    recommendation.mj_header=[MJRefreshNormalHeader headerWithRefreshingBlock:^{
        //开始刷新
        [recommendation.mj_header  beginRefreshing];
        //网络请求
        [self getVideoBanner];
        [self VideoList];
    }];
//    //推荐页面的视图
//    if (!recommendation) {
//        UICollectionViewFlowLayout *flow = [[UICollectionViewFlowLayout alloc]init];
//        //指定布局方式为垂直
//        flow.scrollDirection = UICollectionViewScrollDirectionVertical;
//        flow.minimumLineSpacing = 10;//最小行间距(当垂直布局时是行间距,当水平布局时可以理解为列间距)
//        flow.minimumInteritemSpacing = 10;//两个单元格之间的最小间距
//        recommendation=[[UICollectionView alloc] initWithFrame:CGRectMake(0, 0, KScreenW, KScreenH-kNavigationBarH-40) collectionViewLayout:flow];
//    }
//    recommendation.delegate=self;
//    recommendation.dataSource=self;
//    recommendation.backgroundColor=kGlobalBackgroundColor;
//    //注册cell
//    [recommendation registerNib:[UINib nibWithNibName:@"recommentCollectionViewCell" bundle:nil] forCellWithReuseIdentifier:@"recommentCollectionViewCell"];
//    //设置轮播图的head
//    [recommendation registerNib:[UINib nibWithNibName:@"shufflingCollectionReusableView" bundle:nil] forSupplementaryViewOfKind:UICollectionElementKindSectionHeader withReuseIdentifier:@"shufflingCollectionReusableView"];
//    //设置分类头的head
//    [recommendation registerNib:[UINib nibWithNibName:@"HeaderCollectionReusableView" bundle:nil] forSupplementaryViewOfKind:UICollectionElementKindSectionHeader withReuseIdentifier:@"HeaderCollectionReusableView"];
//
//    //推荐视图
//    [self.scrollView addSubview:recommendation];
//    //给collectionView设置下拉刷新
//    recommendation.mj_header=[MJRefreshNormalHeader headerWithRefreshingBlock:^{
//        //开始刷新
//        [recommendation.mj_header  beginRefreshing];
//        //网络请求
//        [self getVideoBanner];
//        [self VideoList];
//    }];
//
    //非推荐界面视图
    for (int i=1; i<_SpeciesAry.count; i++) {
    for (int i=0; i<_SpeciesAry.count; i++) {
        UITableView *scollerTableView=[[UITableView alloc] initWithFrame:CGRectMake(KScreenW*i, 40, KScreenW, KScreenH-kNavigationBarH-80) style:UITableViewStylePlain];
        scollerTableView.tag=800+i;
        scollerTableView.delegate=self;
@@ -200,7 +200,13 @@
        [self.scrollView addSubview:scollerTableView];
    }
    //首次加载视图时,需要加载首页的数据
    [recommendation.mj_header beginRefreshing];
//    [recommendation.mj_header beginRefreshing];
    SpeciesNumber = 0;
    UITableView *tableview = [self.view viewWithTag:800 + SpeciesNumber ];
    _Species = [NSString stringWithFormat:@"%@",[[_SpeciesAry objectAtIndex:SpeciesNumber] objectForKey:@"Id"]];
    typeNumber=1;
    [self.view bringSubviewToFront:_segView];
    [tableview.mj_header beginRefreshing];
}
/**
@@ -250,8 +256,14 @@
    //获取分类
    NSMutableArray *ar = [[NSMutableArray alloc] initWithCapacity:0];
    for (int i = 0; i<_SpeciesAry.count; i++) {
        if (i == 0) {
            _Species = [[_SpeciesAry objectAtIndex:i] objectForKey:@"Id"];
        }
        [ar addObject:[[_SpeciesAry objectAtIndex:i] objectForKey:@"Name"]];
        NSLog(@"%@",[[_SpeciesAry objectAtIndex:i] objectForKey:@"Name"]);
    }
    NSLog(@"%@",ar);
    _segmentedControl= [[HMSegmentedControl alloc] initWithSectionTitles:ar];
    _segmentedControl.backgroundColor=kGlobalMainColor;
    _segmentedControl.selectionIndicatorHeight = 2.0f;
@@ -274,15 +286,15 @@
        weakSelf.segView.selectedSegmentIndex=0;
        weakSelf.Species = [NSString stringWithFormat:@"%@",[[weakSelf.SpeciesAry objectAtIndex:SpeciesNumber] objectForKey:@"Id"]];
        [weakSelf.scrollView scrollRectToVisible:CGRectMake(KScreenW * index, kNavigationBarH+40, KScreenW, KScreenH-kNavigationBarH-40) animated:YES];
        if (index==0) {
            [self.view sendSubviewToBack:_segView];
            if (_CycleScrollData==nil&&_hotListData==nil) {
                //数据不存在,请求数据
                [recommendation.mj_header beginRefreshing];
            }else{
                //数据存在,直接加载,不需要处理
            }
        }else{
//        if (index==0) {
//            [self.view sendSubviewToBack:_segView];
//            if (_CycleScrollData==nil&&_hotListData==nil) {
//                //数据不存在,请求数据
//                [recommendation.mj_header beginRefreshing];
//            }else{
//                //数据存在,直接加载,不需要处理
//            }
//        }else{
            [self.view bringSubviewToFront:_segView];
            UITableView *tableView=[self.view viewWithTag:800+SpeciesNumber];
            NSString *str=[NSString stringWithFormat:@"ValueX%@Y%ldZ%ld",weakSelf.Species,(long)SpeciesNumber,(long)typeNumber];
@@ -294,7 +306,7 @@
                //如果数据不存在就请求数据
                [tableView.mj_header beginRefreshing];
            }
        }
        //        }
    }];
    [self.view addSubview:_segmentedControl];
    
@@ -416,6 +428,7 @@
/**
 *  è¯·æ±‚分类
 */
- (void)getDataFirstChildType{
    [[YTHNetInterface startInterface] getFirstChildTypeWithUid:[YTHsharedManger startManger].Uid withParentId:self.Id withSystem:@"1" withBlock:^(BOOL isSuccessful, id result, NSString *error) {
        if (isSuccessful) {
@@ -424,9 +437,12 @@
                _SpeciesAry = [[NSMutableArray alloc] initWithCapacity:0];
            }
            _SpeciesAry = [[dic objectForKey:@"Data"] objectForKey:@"data"];
            [_SpeciesAry removeObjectAtIndex:0];
            NSLog(@"%@",_SpeciesAry);
            _Species = [NSString stringWithFormat:@"%@",[[_SpeciesAry objectAtIndex:0] objectForKey:@"Id"]];
            _CategoryType=[NSString stringWithFormat:@"%@",[[_SpeciesAry objectAtIndex:0] objectForKey:@"CategoryType"]];
            //种类布局
            [self getaddView];
        }else{
            //报错
@@ -483,7 +499,7 @@
}
/**
 *  èŽ·å–å¤§åˆ†ç±»æŽ¨èBanner
 */
 **/
-(void)getVideoBanner{
    [[YTHNetInterface startInterface] getRecommendCategoryVideoBannerWithUid:[YTHsharedManger startManger].Uid withVideoType:self.Id withSystem:@"1" withBlock:^(BOOL isSuccessful, id result, NSString *error) {
        if (isSuccessful) {
@@ -507,9 +523,11 @@
    }];
    
}
/**
 *  èŽ·å–å¤§åˆ†ç±»æŽ¨èçƒ­æ¦œ
 */
-(void)VideoList{
    [[YTHNetInterface startInterface] getRecommendCategoryVideoListWithUid:[YTHsharedManger startManger].Uid withVideoType:self.Id withSystem:@"1" withBlock:^(BOOL isSuccessful, id result, NSString *error) {
        if (isSuccessful) {
@@ -640,8 +658,18 @@
        }
    }
    NSString *str=[NSString stringWithFormat:@"ValueX%@Y%ldZ%ld",_Species,(long)SpeciesNumber,(long)typeNumber];
    NSArray *_dataAry=[_dataDic objectForKey:str];
    NSArray *_dataAry;
    searchTableViewCell *cell=[tableView dequeueReusableCellWithIdentifier:@"searchTableViewCellID"];
    if ([str isEqual:[NSNull null]]) {
        str = @"";
        return cell;
    }else{
        _dataAry=[_dataDic objectForKey:str];
        if (indexPath.row >=  _dataAry.count) {
            return cell;
        }
    }
    //获取到该cell的数据
    XYRVideoInfoModel *model;
    if(LoadGoogleAD){//加载了谷歌广告的
BuWanVideo2.0/XYRDetailViewController.m
@@ -133,7 +133,7 @@
@property (nonatomic, strong) NSString *showurl;      //PPTV来源
@property (nonatomic, assign) CGRect playerFrame;
@property (nonatomic, assign) CGRect cloudPlayerFrame;
@property (nonatomic, strong) NSDate *startTime;
@end
@implementation XYRDetailViewController
@@ -144,6 +144,7 @@
- (void)viewDidLoad {
    [super viewDidLoad];
    self.startTime = [NSDate date];
    //实现网络监控的代理
    ApplicationDelegate.YNetdelegateRecommend = self;
    //实现出去应用或者回到应用的处理
@@ -197,6 +198,12 @@
 */
- (IBAction)backToMainViewController:(id)sender {
    [self backToRootView];
}
- (void)viewWillLayoutSubviews{
    [super viewWillLayoutSubviews];
    [self.collectionView.collectionViewLayout invalidateLayout];
}
/**
@@ -319,6 +326,7 @@
/**
 *  åˆå§‹åŒ–详情视图
 */
-(void)detailedInformationView{
    UICollectionViewFlowLayout *flow = [[UICollectionViewFlowLayout alloc]init];
    //指定布局方式为垂直
@@ -328,7 +336,7 @@
    
    //创建CollectionView并指定布局对象
    if ([UIScreen mainScreen].bounds.size.height>480.0f) {//iphone4s以上
        self.collectionView = [[UICollectionView alloc]initWithFrame:CGRectMake(0, 0, KScreenW, _scrollView.frame.size.height) collectionViewLayout:flow];
        self.collectionView = [[UICollectionView alloc]initWithFrame:CGRectMake(0, 0, KScreenW, _scrollView.frame.size.height ) collectionViewLayout:flow];
    }else{
        self.collectionView = [[UICollectionView alloc]initWithFrame:CGRectMake(0, 0, KScreenW, _scrollView.frame.size.height-50) collectionViewLayout:flow];
    }
@@ -446,7 +454,9 @@
        _MuneBar.delegate = self;
        _MuneBar.center = CGPointMake(((KScreenW/3)-80)/2, 22);
        
        [self.collectionView reloadSections:[NSIndexSet indexSetWithIndex:0]];
//        [self.collectionView reloadSections:[NSIndexSet indexSetWithIndex:0]];
        [self.collectionView reloadData];
    }
}
//默认网络情况
@@ -673,7 +683,9 @@
        NSLog(@"选集更多");
        _gather++;
        //刷新视图
        [self.collectionView reloadSections:[NSIndexSet indexSetWithIndex:1]];
//        [self.collectionView reloadSections:[NSIndexSet indexSetWithIndex:1]];
        [self.collectionView reloadData];
    }else {//广点通广告
        GDTNativeAdData * info =nativeArray[sender.tag-523];
        [_nativeAd clickAd:info];
@@ -684,6 +696,13 @@
 *  è§†é¢‘的播放页面被触发,跳转到全屏,通过网页观看影片
 */
-(void)loadWebView:(UIButton *)sender{//这里还需要判断是否已经获取到播放页面的详细数据
    NSDate *date = [NSDate date];
    NSTimeInterval seconds = [date timeIntervalSinceDate:self.startTime];
    NSLog(@"%f",seconds);
    if (seconds < 1.5) {
        return;
    }
    self.startTime = date;
    //取消textfield的第一响应
    [_textField resignFirstResponder];
    if(isCollectNum == 0){
@@ -714,7 +733,8 @@
                targetIndex = temp;
            }
        }
        [_collectionView reloadItemsAtIndexPaths:@[targetIndex]];
//        [_collectionView reloadItemsAtIndexPaths:@[targetIndex]];
        [_collectionView reloadData];
    }
}
@@ -766,12 +786,16 @@
            if (selfweak.DetailModel.Data.ShowType==1) {   //是综艺
                if (selfweak.VideoDetailList.count>6*_gather && isCollectNum > 6*_gather) {
                    _gather++;
                    [selfweak.collectionView reloadSections:[NSIndexSet indexSetWithIndex:1]];
//                    [selfweak.collectionView reloadSections:[NSIndexSet indexSetWithIndex:1]];
                    [self.collectionView reloadData];
                }
            }else{  //不是综艺
                if (selfweak.VideoDetailList.count>10*_gather && isCollectNum >= 10*_gather) {
                    _gather++;
                    [selfweak.collectionView reloadSections:[NSIndexSet indexSetWithIndex:1]];
//                    [selfweak.collectionView reloadSections:[NSIndexSet indexSetWithIndex:1]];
                    [self.collectionView reloadData];
                }
            }
            if(isCollectNum < selfweak.VideoDetailList.count){
@@ -788,7 +812,9 @@
                        lastIndex = temp;
                    }
                }
                [selfweak.collectionView reloadItemsAtIndexPaths:@[targetIndex,lastIndex]];
//                [selfweak.collectionView reloadItemsAtIndexPaths:@[targetIndex,lastIndex]];
                [_collectionView reloadData];
                [selfweak PPTVplay:[NSString stringWithFormat:@"%d",isCollectNum-1] WithBoolInit:selfweak.isPPTVSuccess];
            }
            return isCollectNum-1;
@@ -799,7 +825,9 @@
        };
        
        _pptvview.rload = ^(){
            [selfweak.collectionView reloadData];
            dispatch_async(dispatch_get_main_queue(), ^{
                [selfweak.collectionView reloadData];
            });
        };
        
        [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(selfchose:) name:@"selfchose" object:nil];
@@ -823,7 +851,9 @@
        [self PPTVplay:[NSString stringWithFormat:@"%d",isCollectNum-1] WithBoolInit:_isPPTVSuccess];
    }else if([self.NewResource intValue]==18){ //乐视播放器
        [self YKPlay:[NSString stringWithFormat:@"%d",isCollectNum-1]];
        [_collectionView reloadSections:[NSIndexSet indexSetWithIndex:1]];
//        [_collectionView reloadSections:[NSIndexSet indexSetWithIndex:1]];
        [self.collectionView reloadData];
    }else{
        [self startToPlay:[NSString stringWithFormat:@"%d",isCollectNum-1]];
    }
@@ -1278,6 +1308,7 @@
 *  @param resourceId ç¬¬å‡ é›†
 */
-(void)getVideoDetailViewWithMovieId:(NSString *)movieid WithThirdType:(NSString *)thirdtype WithResourceId:(NSString *)resourceId{
    NSLog(@"%@",self.Model);
    //提示数据加载
    [SVProgressHUD showWithStatus:@"加载中"];
    [[YTHNetInterface startInterface] getVoideoDetailWithUid:[YTHsharedManger startManger].Uid  withLoginUid:[[NSUserDefaults standardUserDefaults] objectForKey:@"LoginUid"] withId:movieid withThirdType:thirdtype withSystem:@"1" WithResourceId:resourceId withBlock:^(BOOL isSuccessful, id result, NSString *error) {
@@ -1294,7 +1325,10 @@
            }else{
                displayInsIntroduction=NO;
            }
            [self.collectionView reloadData];
            dispatch_async(dispatch_get_main_queue(), ^{
                [self.collectionView reloadData];
            });
            //判断Model是否已经加载了最上面图片
            if(self.Model.Hpicture==nil){
                [self.image setYthImageWithURL:self.DetailModel.Data.Hpicture placeholderImage:[UIImage imageNamed:@"默认加载图片"]];
@@ -1328,8 +1362,10 @@
            //数据加载成功
            [SVProgressHUD dismiss];
        }else{
            NSLog(@"%@",error);
            //提示用户错误
            [SVProgressHUD showErrorWithStatus:@"加载失败!"];
        }
    }];
}
@@ -1369,7 +1405,11 @@
                //优酷加载为no;
                self.YKloadSuccess=NO;
            }
            [_collectionView reloadData];
            dispatch_async(dispatch_get_main_queue(), ^{
                [_collectionView reloadData];
            });
            //提示视频源切换成功
            [SVProgressHUD dismiss];
        }else{
@@ -1428,13 +1468,16 @@
 *  èŽ·å–è§†é¢‘çš„ç›¸å…³è§†é¢‘ä¿¡æ¯
 *
 *  @param MovieId è§†é¢‘çš„id
 */
 */
-(void)getRelativeVideosWithVideoId:(NSString *)MovieId{
    [[YTHNetInterface startInterface] getRelativeVideosWithUid:[YTHsharedManger startManger].Uid withVideoId:MovieId withSystem:@"1" withBlock:^(BOOL isSuccessful, id result, NSString *error) {
        if (isSuccessful) {
            _RelativeVideos=[[(NSDictionary*)result objectForKey:@"Data"] objectForKey:@"data"];
            //刷新瀑布流
            [self.collectionView reloadSections:[NSIndexSet indexSetWithIndex:3]];
//            dispatch_sync(dispatch_get_main_queue(), ^{
//                [self.collectionView reloadSections:[NSIndexSet indexSetWithIndex:3]];
            [self.collectionView reloadData];
//            });
        }else{
            
        }
@@ -1450,7 +1493,11 @@
        if (isSuccessful) {
            _GuessYoulike=[[(NSDictionary*)result objectForKey:@"Data"] objectForKey:@"data"];
            //刷新瀑布流
            [self.collectionView reloadSections:[NSIndexSet indexSetWithIndex:4]];
//            dispatch_sync(dispatch_get_main_queue(), ^{
//                [self.collectionView reloadSections:[NSIndexSet indexSetWithIndex:4]];
            [self.collectionView reloadData];
//            });
        }else{
            
        }
@@ -1466,7 +1513,12 @@
        if (isSuccessful) {
            _PeopleSeeVideo=[[(NSDictionary*)result objectForKey:@"Data"] objectForKey:@"data"];
            //刷新瀑布流
            [self.collectionView reloadSections:[NSIndexSet indexSetWithIndex:5]];
//            dispatch_sync(dispatch_get_main_queue(), ^{
//                [self.collectionView reloadSections:[NSIndexSet indexSetWithIndex:5]];
            [self.collectionView reloadData];
//            });
        }else{
        }
    }];
@@ -1483,8 +1535,11 @@
                    if (isSuccessful) {
                        [_textField setText:@""];
                        [_textField resignFirstResponder];
                        [self reloadCommentView];
                        [_commenttableview setContentOffset:CGPointMake(0, 0) animated:YES];
                        [self reloadCommentView];
                        [SVProgressHUD showSuccessWithStatus:@"评论成功"];
                    }else{
                        [SVProgressHUD showErrorWithStatus:@"发送失败!"];
                    }
@@ -1551,7 +1606,9 @@
                commentPage=commentPage+(tempArr.count)%30;
            }
            //刷新评论
            [_commenttableview reloadData];
            dispatch_async(dispatch_get_main_queue(), ^{
                [_commenttableview reloadData];
            });
            //刷新评论按钮上的评论数
            NSString *commentNub=[NSString stringWithFormat:@"评 è®º(%ld)",(long)_DetailModel.Data.CommentCount];
            self.segmentedControl.sectionTitles = @[@"详 æƒ…", commentNub];
@@ -1656,9 +1713,7 @@
        NSInteger page = scrollView.contentOffset.x / KScreenW;
        
        [self.scrollView scrollRectToVisible:CGRectMake(KScreenW * page, KScreenW/48*27+35, KScreenW, KScreenH-(KScreenW/48*27)-35) animated:YES];
        [self.segmentedControl setSelectedSegmentIndex:page animated:YES];
        //考虑到用户在输入的时候突然切换到详情,这个时候就需要取消评论框的第一响应
        if(page==0){
            [_textField resignFirstResponder];
@@ -1707,9 +1762,13 @@
        }
        isCollectNum=(int)indexPath.row +1;
        if(lastIndex.row == 0 || indexPath.row == 0 || !lastIndex){ //在iphone6以上刷新row==0时无效的特殊处理
            [_collectionView reloadSections:[NSIndexSet indexSetWithIndex:1]];
//            [_collectionView reloadSections:[NSIndexSet indexSetWithIndex:1]];
            [self.collectionView reloadData];
        }else{
            [_collectionView reloadItemsAtIndexPaths:indexPatharr];
//            [_collectionView reloadItemsAtIndexPaths:indexPatharr];
            [_collectionView reloadData];
        }
        
        //刷新播放器
@@ -1812,6 +1871,9 @@
        case 0:{
            newADCollectionViewCell *cell;
            cell = [collectionView dequeueReusableCellWithReuseIdentifier:@"newADCollectionViewCell" forIndexPath:indexPath];
            if (nativeArray.count <= 3) {
                return cell;
            }
            GDTNativeAdData *info=nativeArray[3];
            cell.ADtitle.text=[info.properties objectForKey:GDTNativeAdDataKeyTitle];
            cell.ADtitle.backgroundColor=[UIColor clearColor];
@@ -1822,6 +1884,9 @@
            break;
        case 1:{
            GroupCollectionViewCell *cell;
            if (_VideoDetailList.count <= indexPath.row) {
                return cell;
            }
            cell.tag=indexPath.row+2000;
            cell = [collectionView dequeueReusableCellWithReuseIdentifier:@"GroupCellID" forIndexPath:indexPath];
            cell.selectCollect.titleLabel.lineBreakMode=NSLineBreakByTruncatingTail;
@@ -1864,17 +1929,27 @@
        }
            break;
        default:{
            GuessYouLikeCollectionViewCell *cell;
            if (indexPath.section==3) {
                //相关视频
                if (indexPath.row >= _RelativeVideos.count) {
                    return cell;
                }
                VideosDataModel=[XYRVideoInfoModel yy_modelWithDictionary:_RelativeVideos[indexPath.row]];
            }else if (indexPath.section==4){
                if (indexPath.row >= _GuessYoulike.count) {
                    return cell;
                }
                //猜你喜欢
                VideosDataModel=[XYRVideoInfoModel yy_modelWithDictionary:_GuessYoulike[indexPath.row]];
            }else{
                if (indexPath.row >= _PeopleSeeVideo.count) {
                    return cell;
                }
                //大家都在看
                VideosDataModel=[XYRVideoInfoModel yy_modelWithDictionary:_PeopleSeeVideo[indexPath.row]];
            }
            GuessYouLikeCollectionViewCell *cell;
            cell=[collectionView dequeueReusableCellWithReuseIdentifier:@"GuessYouLikeCollectionViewCell" forIndexPath:indexPath];
            cell.backgroundColor=[UIColor whiteColor];
            cell.MovieImage.clipsToBounds=YES;
@@ -2328,7 +2403,9 @@
    }else{
        [nativeArray addObjectsFromArray:nativeAdDataArray];
    }
    [self.collectionView reloadData];
    dispatch_async(dispatch_get_main_queue(), ^{
        [self.collectionView reloadData];
    });
}
/**
BuWanVideo2.0/YTHNetInterface.h
@@ -108,12 +108,16 @@
/**
 *  é¡¶éƒ¨æŽ¨èå¹¿å‘Š
 */
- (void)getHomeAdWithUid:(NSString *)uid withSystem:(NSString *)system withBlock:(YthNetWorkBlock)block;
- (void)getHomeAdWithUid:(NSString *)uid vtid:(NSString *)vtid withSystem:(NSString *)system   withBlock:(YthNetWorkBlock)block;
- (void)getRecommendCategoryVideoBannerWithUid:(NSString *)uid vtid:(NSString *)vtid withSystem:(NSString *)system   withBlock:(YthNetWorkBlock)block;
/*
 //首页底部明星
 */
-(void)getHotStarMainList:(NSString *)uid  WithSystem:(NSString *)system WithBlock:(YthNetWorkBlock)block;
/**
 *  æŽ¨èåˆ†ç±»
 */
- (void)getHomeTypeWithUid:(NSString *)uid withSystem:(NSString *)system withBlock:(YthNetWorkBlock)block;
- (void)getHomeTypeWithUid:(NSString *)uid vtid:(NSString *)vtid withSystem:(NSString *)system  withBlock:(YthNetWorkBlock)block;
/**
 *  ç‚¹å‡»ä¸Šä¼ å‘现页面的广告
@@ -563,4 +567,8 @@
 */
-(void)getCollectListWithUid:(NSString *)uid WithSystem:(NSString *)system withPage:(NSString *)page withBlock:(YthNetWorkBlock)block;
//精选
-(void)getVideoClassWithUid:(NSString *)uid WithSystem:(NSString *)system withBlock:(YthNetWorkBlock)block;
@end
BuWanVideo2.0/YTHNetInterface.m
@@ -148,7 +148,7 @@
- (void)postClassRequestDataWith:(NSMutableDictionary *)dic withBlock:(YthNetWorkBlock)block{
    
    NSString *url = [NSString stringWithFormat:@"%@/class",domainHTTP];
    NSLog(@"%@",url);
    [self mangerPostWithURL:url WithMutableDictionary:dic withBlock:block];
}
@@ -229,6 +229,12 @@
- (void)postshopRequestDataWith:(NSMutableDictionary *)dic withBlock:(YthNetWorkBlock)block{
    
    NSString *url = [NSString stringWithFormat:@"%@/shop",domainHTTP];
    [self mangerPostWithURL:url WithMutableDictionary:dic withBlock:block];
}
- (void)postVideoClassRequestDataWith:(NSMutableDictionary *)dic withBlock:(YthNetWorkBlock)block{
    NSString *url = [NSString stringWithFormat:@"%@/class",domainHTTP];
    
    [self mangerPostWithURL:url WithMutableDictionary:dic withBlock:block];
}
@@ -435,8 +441,8 @@
#pragma mark é¡¶éƒ¨æŽ¨èå¹¿å‘Š
- (void)getHomeAdWithUid:(NSString *)uid withSystem:(NSString *)system   withBlock:(YthNetWorkBlock)block{
    NSMutableDictionary *dic = [YTHNetdata HomeAdWithUid:uid withSystem:system  ];
- (void)getHomeAdWithUid:(NSString *)uid vtid:(NSString *)vtid withSystem:(NSString *)system   withBlock:(YthNetWorkBlock)block{
    NSMutableDictionary *dic = [YTHNetdata HomeAdWithUid:uid vtid:vtid withSystem:system  ];
    
    [self postRecommendRequestDataWith:dic withBlock:^(BOOL isSuccessful, id result, NSString *error) {
        if (isSuccessful) {
@@ -450,11 +456,25 @@
        }
    }];
}
//getRecommendCategoryVideoBanner
- (void)getRecommendCategoryVideoBannerWithUid:(NSString *)uid vtid:(NSString *)vtid withSystem:(NSString *)system   withBlock:(YthNetWorkBlock)block{
    NSMutableDictionary *dic = [YTHNetdata getRecommendCategoryVideoBannerWithUid:uid vtid:vtid withSystem:system  ];
    [self postClassRequestDataWith:dic withBlock:^(BOOL isSuccessful, id result, NSString *error) {
        if (isSuccessful) {
            NSDictionary *data = (NSDictionary *)result;
            block(TRUE , data , nil);
        }else{
            block(FALSE , nil , error);
        }
    }];
}
#pragma mark æŽ¨èåˆ†ç±»
- (void)getHomeTypeWithUid:(NSString *)uid withSystem:(NSString *)system  withBlock:(YthNetWorkBlock)block{
    NSMutableDictionary *dic = [YTHNetdata HomeTypeWithUid:uid withSystem:system ];
- (void)getHomeTypeWithUid:(NSString *)uid vtid:(NSString *)vtid withSystem:(NSString *)system  withBlock:(YthNetWorkBlock)block{
    NSMutableDictionary *dic = [YTHNetdata HomeTypeWithUid:uid vtid:vtid withSystem:system ];
    
    [self postRecommendRequestDataWith:dic withBlock:^(BOOL isSuccessful, id result, NSString *error) {
        if (isSuccessful) {
@@ -1095,6 +1115,19 @@
        }
    }];
}
#pragma mark - é¦–页底部明星
-(void)getHotStarMainList:(NSString *)uid  WithSystem:(NSString *)system WithBlock:(YthNetWorkBlock)block{
    NSMutableDictionary *dic=[YTHNetdata getHotStarMainList:uid WithSystem:system];
    [self postFoundHomeRequestDataWith:dic withBlock:^(BOOL isSuccessful, id result, NSString *error) {
        if (isSuccessful) {
            NSDictionary *data = (NSDictionary *)result;
            block(TRUE , data , nil);
        }else{
            block(FALSE , nil , error);
        }
    }];
}
#pragma mark èŽ·å¾— å‘现 çš„图文
-(void)getFoundHomeMapchar:(NSString *)uid WithSystem:(NSString *)system WithBlock:(YthNetWorkBlock)block{
@@ -1371,4 +1404,27 @@
        }
    }];
}
#pragma mark - ç²¾é€‰
-(void)getVideoClassWithUid:(NSString *)uid WithSystem:(NSString *)system withBlock:(YthNetWorkBlock)block{
    NSMutableDictionary *dic = [YTHNetdata videoClassWithUid:uid withSystem:system];
    [self postFoundSpecialRequestDataWith:dic withBlock:^(BOOL isSuccessful, id result, NSString *error) {
        if (isSuccessful) {
            NSDictionary *data = (NSDictionary *)result;
            block(TRUE , data , nil);
        }else{
            block(FALSE , nil , error);
        }
    }];
//    [self postVideoClassRequestDataWith:dic withBlock:^(BOOL isSuccessful, id result, NSString *error) {
//        if (isSuccessful) {
//            NSDictionary *data = (NSDictionary *)result;
//            block(TRUE , data , nil);
//        }else{
//            block(FALSE , nil , error);
//        }
//    }];
}
@end
BuWanVideo2.0/YTHNetdata.h
@@ -96,13 +96,14 @@
/**
 *  é¡¶éƒ¨æŽ¨èå¹¿å‘Š
 */
+ (NSMutableDictionary *)HomeAdWithUid:(NSString *)uid withSystem:(NSString *)system;
+ (NSMutableDictionary *)HomeAdWithUid:(NSString *)uid vtid:(NSString *)vtid withSystem:(NSString *)system;
+ (NSMutableDictionary *)getRecommendCategoryVideoBannerWithUid:(NSString *)uid vtid:(NSString *)vtid withSystem:(NSString *)system;
/**
 *  æŽ¨èåˆ†ç±»
 */
+ (NSMutableDictionary *)HomeTypeWithUid:(NSString *)uid withSystem:(NSString *)system;
+ (NSMutableDictionary *)HomeTypeWithUid:(NSString *)uid vtid:(NSString *)vtid withSystem:(NSString *)system;
//首页底部明星
+(NSMutableDictionary *)getHotStarMainList:(NSString *)uid  WithSystem:(NSString *)system;
/**
 *  æ›´å¤šè§†é¢‘
@@ -610,4 +611,7 @@
 */
+(NSMutableDictionary *)getCollectListWithUid:(NSString *)uid WithSystem:(NSString *)system withPage:(NSString *)page;
//首页精选
+ (NSMutableDictionary *)videoClassWithUid:(NSString *)uid withSystem:(NSString *)system;
@end
BuWanVideo2.0/YTHNetdata.m
@@ -324,7 +324,7 @@
//=====================================
#pragma mark é¡¶éƒ¨æŽ¨èå¹¿å‘Š
+ (NSMutableDictionary *)HomeAdWithUid:(NSString *)uid withSystem:(NSString *)system{
+ (NSMutableDictionary *)HomeAdWithUid:(NSString *)uid vtid:(NSString *)vtid withSystem:(NSString *)system{
    NSMutableDictionary *dic = [[NSMutableDictionary alloc] initWithCapacity:0];
    
    [dic setObject:GetHomeAd forKey:@"Method"];
@@ -336,18 +336,40 @@
    }else{
        sign = [NSString stringWithFormat:@"%@%@%@",GetHomeAd,[[UIDevice currentDevice].identifierForVendor UUIDString],system];
    }
    [dic setObject:vtid forKey:@"Vtid"];
    [dic setObject:Version forKey:@"Version"];
    [dic setObject:Package forKey:@"Package"];
    [dic setObject:system forKey:@"System"];
    [dic setObject:[NSString md5:sign] forKey:@"Sign"];
    [dic setObject:[[UIDevice currentDevice].identifierForVendor UUIDString] forKey:@"Device"];
    NSLog(@"%@",dic);
    return dic;
}
//getRecommendCategoryVideoBanner
+ (NSMutableDictionary *)getRecommendCategoryVideoBannerWithUid:(NSString *)uid vtid:(NSString *)vtid withSystem:(NSString *)system{
    NSMutableDictionary *dic = [[NSMutableDictionary alloc] initWithCapacity:0];
    [dic setObject:@"getRecommendCategoryVideoBanner" forKey:@"Method"];
    [dic setObject:@"ios" forKey:@"Platform"];
    NSString *sign;
    if (uid!=nil) {
        [dic setObject:uid forKey:@"Uid"];
        sign = [NSString stringWithFormat:@"%@%@%@",@"getRecommendCategoryVideoBanner",uid,system];
    }else{
        sign = [NSString stringWithFormat:@"%@%@%@",@"getRecommendCategoryVideoBanner",[[UIDevice currentDevice].identifierForVendor UUIDString],system];
    }
    [dic setObject:vtid forKey:@"Type"];
    [dic setObject:Version forKey:@"Version"];
    [dic setObject:Package forKey:@"Package"];
    [dic setObject:system forKey:@"System"];
    [dic setObject:[NSString md5:sign] forKey:@"Sign"];
    [dic setObject:[[UIDevice currentDevice].identifierForVendor UUIDString] forKey:@"Device"];
    NSLog(@"%@",dic);
    return dic;
}
#pragma mark æŽ¨èåˆ†ç±»
+ (NSMutableDictionary *)HomeTypeWithUid:(NSString *)uid withSystem:(NSString *)system{
+ (NSMutableDictionary *)HomeTypeWithUid:(NSString *)uid vtid:(NSString *)vtid withSystem:(NSString *)system{
    NSMutableDictionary *dic = [[NSMutableDictionary alloc] initWithCapacity:0];
    
    [dic setObject:GetHomeType forKey:@"Method"];
@@ -355,6 +377,7 @@
    [dic setObject:Version forKey:@"Version"];
    [dic setObject:Package forKey:@"Package"];
    [dic setObject:system forKey:@"System"];
    [dic setObject:vtid forKey:@"Vtid"];
    NSString *sign;
    if (uid!=nil) {
        [dic setObject:uid forKey:@"Uid"];
@@ -364,6 +387,7 @@
    }
    [dic setObject:[NSString md5:sign] forKey:@"Sign"];
    [dic setObject:[[UIDevice currentDevice].identifierForVendor UUIDString] forKey:@"Device"];
    NSLog(@"%@",dic);
    return dic;
}
@@ -453,6 +477,7 @@
        [dic setObject:ResourceId forKey:@"ResourceId"];
    }
    [dic setObject:[[UIDevice currentDevice].identifierForVendor UUIDString] forKey:@"Device"];
    NSLog(@"%@",dic);
    return dic;
}
@@ -601,6 +626,27 @@
    [dic setObject:system forKey:@"System"];
    [dic setObject:[NSString md5:sign] forKey:@"Sign"];
    [dic setObject:[[UIDevice currentDevice].identifierForVendor UUIDString] forKey:@"Device"];
    return dic;
}
//精选
+ (NSMutableDictionary *)videoClassWithUid:(NSString *)uid withSystem:(NSString *)system{
    NSMutableDictionary *dic = [[NSMutableDictionary alloc] initWithCapacity:0];
    [dic setObject:@"getVideoClass" forKey:@"Method"];
    [dic setObject:@"ios" forKey:@"Platform"];
    NSString *sign;
    if (uid!=nil) {
        [dic setObject:uid forKey:@"Uid"];
        sign = [NSString stringWithFormat:@"%@%@%@",@"getVideoClass",uid,system];
    }else{
        sign = [NSString stringWithFormat:@"%@%@%@",@"getVideoClass",[[UIDevice currentDevice].identifierForVendor UUIDString],system];
    }
    [dic setObject:Version forKey:@"Version"];
    [dic setObject:Package forKey:@"Package"];
    [dic setObject:system forKey:@"System"];
    [dic setObject:[NSString md5:sign] forKey:@"Sign"];
    [dic setObject:[[UIDevice currentDevice].identifierForVendor UUIDString] forKey:@"Device"];
    NSLog(@"%@",dic);
    return dic;
}
@@ -1212,7 +1258,25 @@
    [dic setObject:[[UIDevice currentDevice].identifierForVendor UUIDString] forKey:@"Device"];
    return dic;
}
#pragma mark - é¦–页底部明星
+(NSMutableDictionary *)getHotStarMainList:(NSString *)uid  WithSystem:(NSString *)system{
    NSMutableDictionary *dic = [[NSMutableDictionary alloc] initWithCapacity:0];
    [dic setObject:@"getHotStarMainList" forKey:@"Method"];
    NSString *sign;
    if (uid!=nil) {
        [dic setObject:uid forKey:@"Uid"];
        sign = [NSString stringWithFormat:@"%@%@%@",@"getHotStarMainList",uid,system];
    }else{
        sign = [NSString stringWithFormat:@"%@%@%@",@"getHotStarMainList",[[UIDevice currentDevice].identifierForVendor UUIDString],system];
    }
    [dic setObject:system forKey:@"System"];
    [dic setObject:[NSString md5:sign] forKey:@"Sign"];
    [dic setObject:@"ios" forKey:@"Platform"];
    [dic setObject:Version forKey:@"Version"];
    [dic setObject:Package forKey:@"Package"];
    [dic setObject:[[UIDevice currentDevice].identifierForVendor UUIDString] forKey:@"Device"];
    return dic;
}
#pragma mark  å‘现首页的图文
+(NSMutableDictionary *)getFoundHomeMapchar:(NSString *)uid  WithSystem:(NSString *)system{
    NSMutableDictionary *dic = [[NSMutableDictionary alloc] initWithCapacity:0];
BuWanVideo2.0/YTHsharedManger.h
@@ -19,7 +19,7 @@
 *  ç½‘络状态 1:不可用    2:2g或3g   3:wifi环境
 */
@property (nonatomic , assign) NSInteger NetworkStatus;
@property (nonatomic , strong) NSString *searchTitle;
+ (YTHsharedManger *)startManger;
BuWanVideo2.0/discoverGoodsDetailViewController.m
@@ -98,8 +98,9 @@
    //返回按钮
    UIButton *backButton=[[UIButton alloc] initWithFrame:CGRectMake(2, 25, 70, 30)];
    [backButton setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
    [backButton setTitle:@"<返回" forState:UIControlStateNormal];
    [backButton.titleLabel setFont:[UIFont systemFontOfSize:18]];
//    [backButton setTitle:@"<返回" forState:UIControlStateNormal];
//    [backButton.titleLabel setFont:[UIFont systemFontOfSize:18]];
    [backButton setImage:[UIImage imageNamed:@"返回"] forState:UIControlStateNormal];
    [backButton addTarget:self action:@selector(back) forControlEvents:UIControlEventTouchUpInside];
    [headerView addSubview:backButton];
    
BuWanVideo2.0/discoverView.m
@@ -178,13 +178,13 @@
/**
 è·³è½¬åˆ°è¯„论页面
 @param sender æŒ‰é’®
 */
-(void)clickCommitBtn:(UIButton *)sender{
    NSLog(@"%ld",(long)sender.tag);
    allCommentsViewController *allCommentVC=[[allCommentsViewController alloc] init];
    allCommentVC.goodsId=[_dataGoodsList[sender.tag-100] objectForKey:@"Id"];
    [allCommentVC setHidesBottomBarWhenPushed:YES];
    [[self viewController].navigationController pushViewController:allCommentVC animated:YES];
}
@@ -313,6 +313,7 @@
    discoverGoodsDetailViewController *goodsDetailVC=[[discoverGoodsDetailViewController alloc] init];
    goodsDetailVC.goodsId=[_dataGoodsList[indexPath.row] objectForKey:@"Id"];
    goodsDetailVC.goodspic_url=[[_dataGoodsList[indexPath.row] objectForKey:@"Item"] objectForKey:@"Pict_url"];
    [goodsDetailVC setHidesBottomBarWhenPushed:YES];
    [[self viewController].navigationController pushViewController:goodsDetailVC animated:YES];
}
@@ -324,7 +325,8 @@
    }else{  //跳转内部
        OnlySpecialController * oscontroller = [OnlySpecialController new];
        oscontroller.Id = ((NSString*)[dic objectForKey:@"Id"]).intValue;
        [_mycontroller.navigationController pushViewController:oscontroller animated:YES];
        [oscontroller setHidesBottomBarWhenPushed:YES];
        [[self viewController].navigationController pushViewController:oscontroller animated:YES];
    }
}
BuWanVideo2.0/discoverViewController.h
New file
@@ -0,0 +1,13 @@
//
//  discoverViewController.h
//  BuWanVideo2.0
//
//  Created by apple on 2018/3/13.
//  Copyright Â© 2018å¹´ com.yeshi.buwansheque.ios. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface discoverViewController : BaseViewController
@end
BuWanVideo2.0/discoverViewController.m
New file
@@ -0,0 +1,58 @@
//
//  discoverViewController.m
//  BuWanVideo2.0
//
//  Created by apple on 2018/3/13.
//  Copyright Â© 2018å¹´ com.yeshi.buwansheque.ios. All rights reserved.
//
#import "discoverViewController.h"
#import "discoverView.h"
@interface discoverViewController ()
@property (nonatomic,strong) discoverView *discVC;
@end
@implementation discoverViewController
- (instancetype)init {
    self = [super init];
    if (self) {
        self.title = @"发现";
        UITabBarItem *item = [[UITabBarItem alloc]initWithTitle:self.title image:[UIImage imageNamed:@"Navigation-拷贝"] selectedImage:[UIImage imageNamed:@"Navigation"]];
        item.titlePositionAdjustment = UIOffsetMake(0, -5);
        self.tabBarItem = item;
    }
    return self;
}
- (void)viewDidLoad {
    [super viewDidLoad];
    [self.view addSubview:self.discVC];
}
- (discoverView *)discVC {
    if (_discVC) {
        return _discVC;
    }
    _discVC = [[discoverView alloc]initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height)];
    return _discVC;
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}
/*
#pragma mark - Navigation
// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/
@end
BuWanVideo2.0/iphone4.png
Binary files differ
BuWanVideo2.0/iphone5.png
Binary files differ
BuWanVideo2.0/iphone6.png
Binary files differ
BuWanVideo2.0/iphone6p.png
Binary files differ
BuWanVideo2.0/liveOnLineView.m
@@ -19,9 +19,7 @@
    NSMutableArray *_HotLive;//获取热门直播
    NSMutableArray *_AllLiveType;//直播类别
    NSMutableArray *_LiveList;//直播列表
    UITableView *_livetableView;//直播列表
    int nowPage;//最新直播请求多少页
}
@@ -35,10 +33,8 @@
        nowPage = 1;
        if (!_livetableView) {
            _livetableView=[[UITableView alloc] initWithFrame:CGRectMake(0, 0, self.frame.size.width, self.frame.size.height) style:UITableViewStyleGrouped];
            _livetableView.delegate=self;
            _livetableView.dataSource=self;
            [_livetableView registerNib:[UINib nibWithNibName:@"HotLiveTableViewCell" bundle:nil] forCellReuseIdentifier:@"HotLiveTableViewCell"];
            [_livetableView registerNib:[UINib nibWithNibName:@"AllLiveTypeTableViewCell" bundle:nil] forCellReuseIdentifier:@"AllLiveTypeTableViewCell"];
            [_livetableView registerNib:[UINib nibWithNibName:@"LiveListTableViewCell" bundle:nil] forCellReuseIdentifier:@"LiveListTableViewCell"];
@@ -50,7 +46,6 @@
                nowPage = 1;
                [self reloadHotLiveData];
            }];
            //上拉加载更多
            _livetableView.mj_footer=[MJRefreshAutoNormalFooter footerWithRefreshingBlock:^{
                [self reloadLiveList];
@@ -60,6 +55,7 @@
            [_livetableView.mj_header beginRefreshing];
        }
    }
    return self;
}
BuWanVideo2.0/recommendView.m
@@ -30,12 +30,13 @@
#import "LXAlertView.h"//弹窗视图
#import "GDTNativeAd.h"//广点通原生广告
#import "YTHNetdata.h"
#define collectTag 270
@import GoogleMobileAds;
@interface recommendView()<UICollectionViewDelegate,UICollectionViewDataSource,UICollectionViewDelegateFlowLayout,SDCycleScrollViewDelegate,GADNativeAppInstallAdLoaderDelegate, GADNativeContentAdLoaderDelegate,GDTNativeAdDelegate>{
@interface recommendView()<UICollectionViewDelegate,UICollectionViewDataSource,UICollectionViewDelegateFlowLayout,SDCycleScrollViewDelegate,GADNativeAppInstallAdLoaderDelegate, GADNativeContentAdLoaderDelegate,GDTNativeAdDelegate,UIScrollViewDelegate>{
    
    UICollectionView *_recommentCollectionView;//覆盖整个View的瀑布流
//    UICollectionView *_recommentCollectionView;//覆盖整个View的瀑布流
    SDCycleScrollView *_cycleScrollView;//头部的推荐轮播图
    WeiKouAdView *_adView;//头部小广告
    
@@ -44,6 +45,12 @@
    //广点通原生广告
    GDTNativeAd *_nativeAd;     //原生广告实例
    NSMutableArray  *nativeArray;//存储请求下来的原生广告信息
    NSString *_type_id;
    NSString *_type_title;
    NSInteger maintypeNumber;//种类的位置
    NSInteger typeNumber;//细分类
    BOOL _isrefresh;
}
@property (nonatomic , strong) NSMutableArray *dataAdverti;//顶部广告数据
@@ -60,6 +67,20 @@
@property(nonatomic,strong) NSMutableArray *dataStar;//明星
@property (nonatomic, strong) HMSegmentedControl *vidioGmentControl;
@property (nonatomic, strong)UIScrollView *scrollView;
@property (nonatomic ,strong)NSMutableArray *collectArray;
@property (nonatomic, strong)NSMutableArray *classArray;
@property (weak, nonatomic) IBOutlet UISegmentedControl *segView;
@property (nonatomic , strong) NSString *Species;//种类
@property (nonatomic , strong) NSMutableArray *SpeciesAry;//种类
@property (nonatomic , strong) NSMutableDictionary *dataDic;//种类下的数据源
//@property (nonatomic , strong) NSMutableArray *allDataSourece;//所有数据数组
@end
@implementation recommendView
@@ -67,61 +88,108 @@
- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        if (!_recommentCollectionView) {
            UICollectionViewFlowLayout *flow = [[UICollectionViewFlowLayout alloc]init];
            //指定布局方式为垂直
            flow.scrollDirection = UICollectionViewScrollDirectionVertical;
            flow.minimumLineSpacing = 10;//最小行间距(当垂直布局时是行间距,当水平布局时可以理解为列间距)
            flow.minimumInteritemSpacing = 10;//两个单元格之间的最小间距
            [_cycleScrollView adjustWhenControllerViewWillAppera];
            _recommentCollectionView=[[UICollectionView alloc] initWithFrame:CGRectMake(0, 0, self.frame.size.width, self.frame.size.height) collectionViewLayout:flow];
        }
        _recommentCollectionView.delegate=self;
        _recommentCollectionView.dataSource=self;
        _recommentCollectionView.backgroundColor=kGlobalBackgroundColor;
        //注册cell
        [_recommentCollectionView registerNib:[UINib nibWithNibName:@"recommentCollectionViewCell" bundle:nil] forCellWithReuseIdentifier:@"recommentCollectionViewCell"];
        //注册承载明星信息的cell
        [_recommentCollectionView registerNib:[UINib nibWithNibName:@"StartCollectionViewCell" bundle:nil] forCellWithReuseIdentifier:@"StartCollectionViewCell"];
        //设置轮播图的head
        [_recommentCollectionView registerNib:[UINib nibWithNibName:@"shufflingCollectionReusableView" bundle:nil] forSupplementaryViewOfKind:UICollectionElementKindSectionHeader withReuseIdentifier:@"shufflingCollectionReusableView"];
        //设置小广告的foot
        [_recommentCollectionView registerNib:[UINib nibWithNibName:@"FooterCollectionReusableView" bundle:nil] forSupplementaryViewOfKind:UICollectionElementKindSectionFooter withReuseIdentifier:@"FooterCollectionReusableView"];
        //设置分类头的head
        [_recommentCollectionView registerNib:[UINib nibWithNibName:@"HeaderCollectionReusableView" bundle:nil] forSupplementaryViewOfKind:UICollectionElementKindSectionHeader withReuseIdentifier:@"HeaderCollectionReusableView"];
        //设置尾部广点通原生广告的foot
        [_recommentCollectionView registerNib:[UINib nibWithNibName:@"ADCollectionReusableView" bundle:nil] forSupplementaryViewOfKind:UICollectionElementKindSectionFooter withReuseIdentifier:@"ADCollectionReusableView"];
        //设置尾部谷歌广告的foot
        [_recommentCollectionView registerNib:[UINib nibWithNibName:@"GoogleAdCollectionReusableView" bundle:nil] forSupplementaryViewOfKind:UICollectionElementKindSectionFooter withReuseIdentifier:@"GoogleAdCollectionReusableView"];
        //推荐视图
        [self addSubview:_recommentCollectionView];
        //先查收看是否有旧的数据,在网络差的时候优先加载旧的数据
        [self loadOldData];
        //给collectionView设置下拉刷新
        _recommentCollectionView.mj_header=[MJRefreshNormalHeader headerWithRefreshingBlock:^{
            //开始刷新
            [_recommentCollectionView.mj_header  beginRefreshing];
            //网络请求
            [self loadNewData];
        }];
        self.classArray = @[].mutableCopy;
        self.collectArray = @[].mutableCopy;
//        maintypeNumber = 0;
        [self loadDataFromFile];
        UIViewController *controller = [self viewController];
        controller.automaticallyAdjustsScrollViewInsets = NO;
    }
    return self;
    //添加通知,进入详细界面
}
//- (void)viewWillLayoutSubviews{
//    [self viewWillLayoutSubviews];
//    [self.collectionView.collectionViewLayout invalidateLayout];
//}
//create
- (void)createSegment{
//    self.classArray = @[@"电影",@"电视剧",@"综艺",@"动漫",@"娱乐",@"游戏",@"生活",@"科技",@"体育",@"咨询",@"乐舞"];
    NSMutableArray *array = @[].mutableCopy;
    for (NSInteger index = 0; index <self.classArray.count; index ++) {
        NSDictionary *dic = self.classArray[index];
        [array addObject:dic[@"Name"]];
    }
    NSLog(@"%@",array);
    self.vidioGmentControl = [[HMSegmentedControl alloc]initWithSectionTitles:array];
    [self.vidioGmentControl setFrame:CGRectMake(0, 64, KScreenW, 40)];
    self.vidioGmentControl.selectionIndicatorHeight = 2.0f;
    self.vidioGmentControl.backgroundColor = kGlobalMainColor;
    self.vidioGmentControl.titleTextAttributes = @{NSForegroundColorAttributeName : [UIColor whiteColor],NSFontAttributeName :[UIFont systemFontOfSize:15]};
    self.vidioGmentControl.selectedTitleTextAttributes=@{NSForegroundColorAttributeName : kGlobalYellowColor,NSFontAttributeName :[UIFont systemFontOfSize:15]};
    self.vidioGmentControl.selectionIndicatorColor = kGlobalYellowColor;
    self.vidioGmentControl.selectionStyle = HMSegmentedControlSelectionStyleTextWidthStripe;
    self.vidioGmentControl.selectedSegmentIndex = HMSegmentedControlNoSegment;
    self.vidioGmentControl.selectionIndicatorLocation = HMSegmentedControlSelectionIndicatorLocationDown;
    self.vidioGmentControl.selectedSegmentIndex=0;
    self.vidioGmentControl.shouldAnimateUserSelection = YES;
    __weak typeof(self) weakSelf = self;
    [self.vidioGmentControl setIndexChangeBlock:^(NSInteger index) {
        [weakSelf.scrollView scrollRectToVisible:CGRectMake(KScreenW * index, 0, KScreenW, self.frame.size.height - 40) animated:YES];
        _type_title = self.classArray[index][@"Name"];
        _type_id = self.classArray[index][@"Id"];
//        NSLog(@"<- %@ ->",_type_id);
        maintypeNumber = index;
        [weakSelf loadNewData];
    }];
    [self addSubview:self.vidioGmentControl];
}
//加载数据
-(void)loadDataFromFile{
    [[YTHNetInterface startInterface] getVideoClassWithUid:[YTHsharedManger startManger].Uid WithSystem:@"1" withBlock:^(BOOL isSuccessful, id result, NSString *error) {
        if (isSuccessful) {
            NSDictionary *dic = (NSDictionary *)result;
            if (!_classArray) {
                _classArray = [[NSMutableArray alloc ] initWithCapacity:0];
            }
            [_classArray removeAllObjects];
            NSArray *ar = [[dic objectForKey:@"Data"] objectForKey:@"data"];
            for (int i = 0; i<ar.count; i++) {
                [_classArray addObject:[ar objectAtIndex:i]];
                NSLog(@"%@%d  id= %@",[ar objectAtIndex:i][@"Name"],i,[ar objectAtIndex:i][@"Id"]);
            }
            NSLog(@"*****%@****",ar);
            NSLog(@"、、、、%@、、、、",_classArray);
//            NSData *data = [NSKeyedArchiver archivedDataWithRootObject:_classArray];
//            [data writeToFile:CHANNELfILE atomically:YES];
            //刷新collectionView视图
            //            [_collview reloadData];
            [self createSegment];
            [self addScrollView];
        }else{
        }
    }];
//    NSFileManager *fileManager = [NSFileManager defaultManager];
//    if ([fileManager fileExistsAtPath:CHANNELfILE])
//    {
//        _classArray = [NSKeyedUnarchiver unarchiveObjectWithData:[NSData dataWithContentsOfFile:CHANNELfILE]];
//        [self createSegment];
//    }else{
//        [self loadNewData];
//    }
}
/**
 *  åŠ è½½æ–°æ•°æ®
 */
-(void)loadNewData{
    NSLog(@"%ld",(long)maintypeNumber);
    NSLog(@"%@",_type_id);
    [[YTHNetInterface startInterface]cancelAll];
    //获取轮播图的数据
    [self getHomeAd];
    //小广告推广视图
    [self SpreadRequest];
    //获取推荐分类
    [self getHomeType];
//    UICollectionView *collectview = [self viewWithTag:900 + SpeciesNumber];
//    [collectview reloadData];
}
/**
@@ -150,26 +218,72 @@
 *  èŽ·å–è½®æ’­å›¾çš„æ•°æ®
 */
-(void)getHomeAd{
    [[YTHNetInterface startInterface] getHomeAdWithUid:[YTHsharedManger startManger].Uid withSystem:@"1" withBlock:^(BOOL isSuccessful, id result, NSString *error) {
        if (isSuccessful) {
            NSDictionary *dic = (NSDictionary *)result;
            if (!_dataAdverti) {
                _dataAdverti = [[NSMutableArray alloc] initWithCapacity:0];
    NSLog(@"%@",_type_id);
    if ([_type_id integerValue] == 309 || [_type_id integerValue] == 310) {
        [[YTHNetInterface startInterface] getHomeAdWithUid:[YTHsharedManger startManger].Uid vtid:_type_id withSystem:@"1" withBlock:^(BOOL isSuccessful, id result, NSString *error) {
            if (isSuccessful) {
                NSDictionary *dic = (NSDictionary *)result;
                if (!_dataAdverti) {
                    _dataAdverti = [[NSMutableArray alloc] initWithCapacity:0];
                }
                _dataAdverti = [[dic objectForKey:@"Data"] objectForKey:@"data"];
                //存储获取到的数据
                NSData *data = [NSKeyedArchiver archivedDataWithRootObject:_dataAdverti];
                [data writeToFile:ADVERTISEFILE atomically:YES];
                //            [_recommentCollectionView reloadData];
                NSLog(@"<-------  %@  --------->",_dataAdverti);
                //结束刷新
//                UICollectionView *collectview = [self viewWithTag:collectTag + maintypeNumber];
                UICollectionView *collectview = self.collectArray[maintypeNumber];
//                [collectview reloadData];
//                [self collectLoadNewData];
                [collectview.mj_header endRefreshing];
                [self addSliderView];
            }else{
                //提示网络不稳定
//                UICollectionView *collectview = [self viewWithTag:collectTag + maintypeNumber];
                UICollectionView *collectview = self.collectArray[maintypeNumber];
                [collectview.mj_header endRefreshing];
            }
            _dataAdverti = [[dic objectForKey:@"Data"] objectForKey:@"data"];
            //存储获取到的数据
            NSData *data = [NSKeyedArchiver archivedDataWithRootObject:_dataAdverti];
            [data writeToFile:ADVERTISEFILE atomically:YES];
            //            [_recommentCollectionView reloadData];
            [self addSliderView];
            //结束刷新
            [_recommentCollectionView.mj_header endRefreshing];
        }else{
            //提示网络不稳定
            [_recommentCollectionView.mj_header endRefreshing];
        }
    }];
        }];
    }else{
        //getRecommendCategoryVideoBanne
        [[YTHNetInterface startInterface] getRecommendCategoryVideoBannerWithUid:[YTHsharedManger startManger].Uid vtid:_type_id withSystem:@"1" withBlock:^(BOOL isSuccessful, id result, NSString *error) {
            if (isSuccessful) {
                NSDictionary *dic = (NSDictionary *)result;
                if (!_dataAdverti) {
                    _dataAdverti = [[NSMutableArray alloc] initWithCapacity:0];
                }
                _dataAdverti = [[dic objectForKey:@"Data"] objectForKey:@"data"];
                //存储获取到的数据
                NSData *data = [NSKeyedArchiver archivedDataWithRootObject:_dataAdverti];
                [data writeToFile:ADVERTISEFILE atomically:YES];
                //            [_recommentCollectionView reloadData];
                NSLog(@"<-------  %@  --------->",_dataAdverti);
                //结束刷新
//                UICollectionView *collectview = [self viewWithTag:collectTag + maintypeNumber];
                UICollectionView *collectview = self.collectArray[maintypeNumber];
//                [collectview reloadData];
                [self collectLoadNewData];
                [collectview.mj_header endRefreshing];
                [self addSliderView];
            }else{
                //提示网络不稳定
//                UICollectionView *collectview = [self viewWithTag:collectTag + maintypeNumber];
                UICollectionView *collectview = self.collectArray[maintypeNumber];
                [collectview.mj_header endRefreshing];
            }
        }];
    }
}
/**
@@ -178,7 +292,12 @@
- (void)SpreadRequest{
    if (!_adView) {
        _adView = [[WeiKouAdView alloc]initWithFrame:CGRectMake(0.0, 0.0, KScreenW, KScreenW/6) withBlock:^(NSString *text) {
            [_recommentCollectionView reloadData];
//            [_recommentCollectionView reloadData];
//            UICollectionView *collectView = [self viewWithTag:collectTag +maintypeNumber];
            UICollectionView *collectview = self.collectArray[maintypeNumber];
//            [collectview reloadData];
            [self collectLoadNewData];
        }];
    }
}
@@ -187,35 +306,91 @@
 *  èŽ·å–æŽ¨èåˆ†ç±»
 */
- (void)getHomeType{
    [[YTHNetInterface startInterface] getHomeTypeWithUid:[YTHsharedManger startManger].Uid withSystem:@"1" withBlock:^(BOOL isSuccessful, id result, NSString *error) {
        if (isSuccessful) {
            NSDictionary *dic = (NSDictionary *)result;
            if (!_dataHomeType) {
                _dataHomeType = [[NSMutableArray alloc] initWithCapacity:0];
    NSLog(@"%@",_type_id);
    if ([_type_id integerValue] == 309 || [_type_id integerValue] == 310) {
        [[YTHNetInterface startInterface] getHomeTypeWithUid:[YTHsharedManger startManger].Uid vtid:_type_id withSystem:@"1" withBlock:^(BOOL isSuccessful, id result, NSString *error) {
            if (isSuccessful) {
                NSDictionary *dic = (NSDictionary *)result;
                if (!_dataHomeType) {
                    _dataHomeType = [[NSMutableArray alloc] initWithCapacity:0];
                }
                NSMutableArray *arr = [[dic objectForKey:@"Data"] objectForKey:@"data"];
                _dataHomeType=arr;
                //跟新视图数据
                //            [_recommentCollectionView reloadData];
//                UICollectionView *collectview = [self viewWithTag:collectTag + maintypeNumber];
                UICollectionView *collectview = self.collectArray[maintypeNumber];
                [collectview.mj_header endRefreshing];
//                [collectview reloadData];
                [self collectLoadNewData];
                [self loadStarsData];
                NSData *data = [NSKeyedArchiver archivedDataWithRootObject:_dataHomeType];
                [data writeToFile:HOMETYPEFILE atomically:YES];
                NSLog(@"<-。。。。%@、、、、、->",_dataHomeType);
                NSLog(@"%ld",(unsigned long)_dataHomeType.count);
                //请求明星分类,为什么要放在这里?因为明星分类是放在最后的,你必须知道推荐分类的个数,才好确定明星分类的个数
                //结束刷新
                //获取广点通原生广告数据
                [self loadAd];
                //获取谷歌广告
                [self loadgoogleAd];
            }else{
                //提示网络不稳定
//                UICollectionView *collectview = [self viewWithTag:collectTag + maintypeNumber];
                UICollectionView *collectview = self.collectArray[maintypeNumber];
                [collectview.mj_header endRefreshing];
            }
            NSMutableArray *arr = [[dic objectForKey:@"Data"] objectForKey:@"data"];
            _dataHomeType=arr;
            //跟新视图数据
            //            [_recommentCollectionView reloadData];
            NSData *data = [NSKeyedArchiver archivedDataWithRootObject:_dataHomeType];
            [data writeToFile:HOMETYPEFILE atomically:YES];
            //请求明星分类,为什么要放在这里?因为明星分类是放在最后的,你必须知道推荐分类的个数,才好确定明星分类的个数
            [self loadStarsData];
            //结束刷新
            [_recommentCollectionView.mj_header endRefreshing];
            //获取广点通原生广告数据
            [self loadAd];
            //获取谷歌广告
            [self loadgoogleAd];
        }else{
            //提示网络不稳定
            [_recommentCollectionView.mj_header endRefreshing];
        }
    }];
        }];
    }else{
//        getRecommendCategoryVideoList
        [[YTHNetInterface startInterface] getRecommendCategoryVideoListWithUid:[YTHsharedManger startManger].Uid withVideoType:_type_id withSystem:@"1" withBlock:^(BOOL isSuccessful, id result, NSString *error) {
            if (isSuccessful) {
                NSDictionary *dic = (NSDictionary *)result;
                if (!_dataHomeType) {
                    _dataHomeType = [[NSMutableArray alloc] initWithCapacity:0];
                }
                NSMutableArray *arr = [[dic objectForKey:@"Data"] objectForKey:@"data"];
                _dataHomeType=arr;
                //跟新视图数据
                //            [_recommentCollectionView reloadData];
//                UICollectionView *collectview = [self viewWithTag:collectTag + maintypeNumber];
                UICollectionView *collectview = self.collectArray[maintypeNumber];
                [self collectLoadNewData];
//                [collectview reloadData];
                NSData *data = [NSKeyedArchiver archivedDataWithRootObject:_dataHomeType];
                [data writeToFile:HOMETYPEFILE atomically:YES];
                NSLog(@"<-。。。。%@、、、、、->",_dataHomeType);
                //请求明星分类,为什么要放在这里?因为明星分类是放在最后的,你必须知道推荐分类的个数,才好确定明星分类的个数
                [self loadStarsData];
                //结束刷新
                [collectview.mj_header endRefreshing];
                //获取广点通原生广告数据
                [self loadAd];
                //获取谷歌广告
                [self loadgoogleAd];
            }else{
                //提示网络不稳定
//                UICollectionView *collectview = [self viewWithTag:collectTag + maintypeNumber];
                UICollectionView *collectview = self.collectArray[maintypeNumber];
                [collectview.mj_header endRefreshing];
            }
        }];
    }
}
/**
 *  å®šåˆ¶è½®æ’­å›¾
@@ -227,23 +402,47 @@
    _addrssForshuffling = [[NSMutableArray alloc] initWithCapacity:0];
    _TitleForshuffling=[[NSMutableArray alloc] initWithCapacity:0];
    //判断
    for (int i = 0; i<_dataAdverti.count; i++) {
        [_addrssForshuffling addObject:[[_dataAdverti objectAtIndex:i] objectForKey:@"Picture"]];
        [_TitleForshuffling addObject:[[[_dataAdverti objectAtIndex:i] objectForKey:@"Video"] objectForKey:@"Name"]];
    NSLog(@"%@",_dataAdverti);
    NSLog(@"%ld",(unsigned long)_dataAdverti.count);
    if ([_type_id integerValue] == 309 || [_type_id integerValue] == 310) {
        for (int i = 0; i<_dataAdverti.count; i++) {
            NSLog(@"%@",[_dataAdverti objectAtIndex:i]);
            [_addrssForshuffling addObject:[[_dataAdverti objectAtIndex:i] objectForKey:@"Picture"]];
//            [_TitleForshuffling addObject:[[[_dataAdverti objectAtIndex:i] objectForKey:@"Video"] objectForKey:@"Name"]];
        }
    }else{
        for (int i = 0; i<_dataAdverti.count; i++) {
            NSLog(@"%@",[_dataAdverti objectAtIndex:i]);
            [_addrssForshuffling addObject:[[_dataAdverti objectAtIndex:i] objectForKey:@"Picture"]];
//            [_TitleForshuffling addObject:[[[_dataAdverti objectAtIndex:i] objectForKey:@"VideoType"] objectForKey:@"Name"]];
        }
    }
    _cycleScrollView = [SDCycleScrollView cycleScrollViewWithFrame:CGRectMake(0, 0,KScreenW, KScreenW*7/16) imageURLStringsGroup:_addrssForshuffling];
    _cycleScrollView.titlesGroup=_TitleForshuffling;
    _cycleScrollView.pageControlAliment = SDCycleScrollViewPageContolAlimentRight;
    for (NSInteger index = 0; index < _TitleForshuffling.count; index ++) {
        NSLog(@"、、、、、%@、、、、、",_TitleForshuffling[index]);
    }
    if ([_type_id integerValue] == 310) {
        _cycleScrollView = [SDCycleScrollView cycleScrollViewWithFrame:CGRectMake(0, 0,KScreenW, KScreenH / 3.12) imageURLStringsGroup:_addrssForshuffling];
    }else{
        _cycleScrollView = [SDCycleScrollView cycleScrollViewWithFrame:CGRectMake(0, 0,KScreenW, KScreenW*7/16) imageURLStringsGroup:_addrssForshuffling];
    }
//    _cycleScrollView.titlesGroup=_TitleForshuffling;
    _cycleScrollView.pageControlAliment = SDCycleScrollViewPageContolAlimentCenter;
    _cycleScrollView.currentPageDotColor=kGlobalYellowColor;
    _cycleScrollView.delegate = self;
    _cycleScrollView.placeholderImage = [UIImage imageNamed:@"默认加载图片"];
//    375 * 667
    // 320 * 364
//    568 / 182
}
/**
 è¯·æ±‚明星数据
 */
-(void)loadStarsData{
    [[YTHNetInterface startInterface] getFoundHomeStars:[YTHsharedManger startManger].Uid  WithSystem:@"1" WithBlock:^(BOOL isSuccessful, id result, NSString *error) {
//    getHotStarMainList
    [[YTHNetInterface startInterface] getHotStarMainList:[YTHsharedManger startManger].Uid  WithSystem:@"1" WithBlock:^(BOOL isSuccessful, id result, NSString *error) {
        if(isSuccessful){
            NSDictionary *dic = (NSDictionary *)result;
            if(!_dataStar){
@@ -252,15 +451,43 @@
            _dataStar= [[dic objectForKey:@"Data"] objectForKey:@"data"];
            
            //刷新视图
            [_recommentCollectionView reloadData];
//            UICollectionView *collectview = [self viewWithTag:collectTag + maintypeNumber];
            UICollectionView *collectview = self.collectArray[maintypeNumber];
            [self collectLoadNewData];
//            [collectview reloadData];
            //存储获取到的数据
            NSData *data = [NSKeyedArchiver archivedDataWithRootObject:_dataStar];
            [data writeToFile:DISCOVERSTAR atomically:YES];
        }else{
            NSLog(@"%@",error);
            [_recommentCollectionView reloadData];
//            UICollectionView *collectview = [self viewWithTag:collectTag + maintypeNumber];
            UICollectionView *collectview = self.collectArray[maintypeNumber];
            [self collectLoadNewData];
//            [collectview reloadData];
        }
    }];
//    [[YTHNetInterface startInterface] getFoundHomeStars:[YTHsharedManger startManger].Uid  WithSystem:@"1" WithBlock:^(BOOL isSuccessful, id result, NSString *error) {
//        if(isSuccessful){
//            NSDictionary *dic = (NSDictionary *)result;
//            if(!_dataStar){
//                _dataStar=[NSMutableArray arrayWithCapacity:0];
//            }
//            _dataStar= [[dic objectForKey:@"Data"] objectForKey:@"data"];
//
//            //刷新视图
//            UICollectionView *collectview = [self viewWithTag:900 + SpeciesNumber];
//            [collectview reloadData];
//            //存储获取到的数据
//            NSData *data = [NSKeyedArchiver archivedDataWithRootObject:_dataStar];
//            [data writeToFile:DISCOVERSTAR atomically:YES];
//        }else{
//            NSLog(@"%@",error);
//            UICollectionView *collectview = [self viewWithTag:900 + SpeciesNumber];
//            [collectview reloadData];
//        }
//    }];
}
/**
@@ -352,8 +579,15 @@
        info=nativeArray[1];
    }
    [_nativeAd clickAd:info];
}
}
//在主线程刷新collectview,非主线程不能刷新
- (void)collectLoadNewData{
    dispatch_async(dispatch_get_main_queue(), ^{
        UICollectionView *collectview = self.collectArray[maintypeNumber];
        [collectview reloadData];
    });
}
#pragma mark æŠŠjson格式的字符串转换为字典格式
- (NSDictionary *)dictionaryWithJsonString:(NSString *)jsonString {
    if (jsonString == nil) {
@@ -385,108 +619,230 @@
}
/**************(以下)协议区******************/
#pragma mark -UICollectionViewDataSource
#pragma mark -UICollection----ViewDataSource
- (NSInteger)collectionView:(UICollectionView *)collectionView numberOfItemsInSection:(NSInteger)section{
    if (section==0) {
        return 0;
    }else if(section==_dataHomeType.count+1) {
        return 3;
    }else{
        if (_dataHomeType.count!=0) {
            NSArray *arr=[_dataHomeType[section-1] objectForKey:@"HomeVideoList"];
            return arr.count;
    }else
        if ([_type_id integerValue] == 309 || [_type_id integerValue] == 310) {
            if (_dataHomeType.count!=0) {
                NSArray *arr=[_dataHomeType[section-1] objectForKey:@"HomeVideoList"];
                NSLog(@"%@",_dataHomeType);
                return arr.count;
            }else {
                return 0;
            }
        }else{
            return 0;
            if (_dataHomeType.count!=0) {
                return _dataHomeType.count;
            }else{
                return 0;
            }
        }
    }
}
- (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath{
    if (indexPath.section!=_dataHomeType.count+1) {
        recommentCollectionViewCell *cell=[collectionView dequeueReusableCellWithReuseIdentifier:@"recommentCollectionViewCell" forIndexPath:indexPath];
        //设置cell的背景色(白色)
        cell.backgroundColor=[UIColor whiteColor];
        //在这里对cell进行设置
        NSArray *HomeVideoList=[_dataHomeType[indexPath.section-1] objectForKey:@"HomeVideoList"];
        NSDictionary *VideoInformation=HomeVideoList[indexPath.row];
        NSString *picStr=[VideoInformation objectForKey:@"Picture"];
        NSDictionary *VideoDic=[VideoInformation objectForKey:@"Video"];
        //设置图片
        cell.recommentImageView.contentMode=UIViewContentModeScaleAspectFill;
        if (picStr.length>1) {
            [cell.recommentImageView setYthImageWithURL:picStr placeholderImage:[UIImage imageNamed:@"默认加载图片"]];
        }else{
            picStr=[VideoDic objectForKey:@"Picture"];
            [cell.recommentImageView setYthImageWithURL:picStr placeholderImage:[UIImage imageNamed:@"默认加载图片"]];
        }
        //设置短评(如果有Tag就设置Tag,没有Tag就设置Score)
        NSString *TagStr1=[VideoInformation objectForKey:@"Tag"];
        NSString *TagStr2=[VideoDic objectForKey:@"Tag"];
        NSString *Score=[VideoDic objectForKey:@"Score"];
        if(TagStr1.length>1){
            cell.recommentReplyLabel.text=TagStr1;
        }else if(TagStr2.length>1){
            cell.recommentReplyLabel.text=TagStr2;
        }else if([Score intValue]>0){
            cell.recommentReplyLabel.text=[NSString stringWithFormat:@"评分:%@",Score];
        }else{
            cell.recommentReplyLabel.text=[NSString stringWithFormat:@"评分:无"];
        }
        cell.recommentReplyLabel.backgroundColor=[UIColor colorWithRed:0.0 green:0.0 blue:0.0 alpha:0.7];
        //标题
        cell.recommentTitleLabel.text=[NSString stringWithFormat:@"%@",[VideoDic objectForKey:@"Name"]];
        //观看数量
        cell.recommentrecommentVV.textColor=kGlobalLightGreyColor_210;
        NSString *recommentStr;
        if([VideoDic objectForKey:@"WatchCount"]==nil||[[VideoDic objectForKey:@"WatchCount"] isEqualToString:@"(null)"]){
            recommentStr=[NSString stringWithFormat:@"0"];
        }else if ([[VideoDic objectForKey:@"WatchCount"] intValue]<10000) {
            recommentStr=[VideoDic objectForKey:@"WatchCount"];
        }else{
            recommentStr=[NSString stringWithFormat:@"%0.1f万",[[VideoDic objectForKey:@"WatchCount"] floatValue]/10000.0];
        }
        cell.recommentrecommentVV.text=recommentStr;
        //评论数量CommentCount
        cell.recommentCommentNub.textColor=kGlobalLightGreyColor_210;
        NSString *commentCountStr;
        if ([VideoDic objectForKey:@"CommentCount"]==nil) {
            commentCountStr=[NSString stringWithFormat:@"0"];
        }else if ([[VideoDic objectForKey:@"CommentCount"] intValue]<10000) {
            commentCountStr=[VideoDic objectForKey:@"CommentCount"];
        }else{
            commentCountStr=[NSString stringWithFormat:@"%0.1f万",[[VideoDic objectForKey:@"CommentCount"] floatValue]/10000.0];
        }
        cell.recommentCommentNub.text=[NSString stringWithFormat:@"%@",commentCountStr];
        //添加阴影
        cell.layer.masksToBounds = NO;
        cell.layer.contentsScale = [UIScreen mainScreen].scale;
        cell.layer.shadowOpacity = 0.7f;
        cell.layer.shadowRadius = 1.0f;
        cell.layer.shadowOffset = CGSizeMake(0,2);
        cell.layer.shadowPath = [UIBezierPath bezierPathWithRect:cell.bounds].CGPath;
        cell.layer.shadowColor = kGlobalLightGreyColor_223.CGColor;
        //设置缓存
        cell.layer.shouldRasterize = YES;
        //设置抗锯齿边缘
        cell.layer.rasterizationScale = [UIScreen mainScreen].scale;
        return cell;
    }else{
        StartCollectionViewCell *cell=[collectionView dequeueReusableCellWithReuseIdentifier:@"StartCollectionViewCell" forIndexPath:indexPath];
        [cell.image setYthImageWithURL:[_dataStar[indexPath.row] objectForKey:@"Portrait"] placeholderImage:[UIImage imageNamed:@"关注默认头像"]];
        [cell.name setText:[_dataStar[indexPath.row] objectForKey:@"Name"]];
        return cell;
    }
}
- (NSInteger)numberOfSectionsInCollectionView:(UICollectionView *)collectionView{
    if(_dataStar.count>0){
        return _dataHomeType.count+2;
    }else{
    if ([_type_id integerValue] == 309 || [_type_id integerValue] == 310) {
        return _dataHomeType.count+1;
    }else{
        return 2;
    }
}
/*
 * collectview加载数据 *
 */
- (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath{
    if ([_type_id integerValue] == 309 || [_type_id integerValue] == 310) {
        if (indexPath.section!=_dataHomeType.count+1) {
            if (indexPath.section >=- _dataHomeType.count) {
                return [recommentCollectionViewCell new];
            }
            recommentCollectionViewCell *cell=[collectionView dequeueReusableCellWithReuseIdentifier:@"recommentCollectionViewCell" forIndexPath:indexPath];
            //设置cell的背景色(白色)
            cell.backgroundColor=[UIColor whiteColor];
            //在这里对cell进行设置
            NSArray *HomeVideoList=[_dataHomeType[indexPath.section-1] objectForKey:@"HomeVideoList"];
            if (indexPath.row >= HomeVideoList.count) {
                return cell;
            }
            NSDictionary *VideoInformation=HomeVideoList[indexPath.row];
            NSString *picStr=[VideoInformation objectForKey:@"Picture"];
            NSDictionary *VideoDic=[VideoInformation objectForKey:@"Video"];
            //设置图片
            cell.recommentImageView.contentMode=UIViewContentModeScaleAspectFill;
            if (picStr.length>1) {
                [cell.recommentImageView setYthImageWithURL:picStr placeholderImage:[UIImage imageNamed:@"默认加载图片"]];
            }else{
                picStr=[VideoDic objectForKey:@"Picture"];
                [cell.recommentImageView setYthImageWithURL:picStr placeholderImage:[UIImage imageNamed:@"默认加载图片"]];
            }
            //设置短评(如果有Tag就设置Tag,没有Tag就设置Score)
            NSString *TagStr1=[VideoInformation objectForKey:@"Tag"];
            NSString *TagStr2=[VideoDic objectForKey:@"Tag"];
            NSString *Score=[VideoDic objectForKey:@"Score"];
            if(TagStr1.length>1){
                cell.recommentReplyLabel.text=TagStr1;
            }else if(TagStr2.length>1){
                cell.recommentReplyLabel.text=TagStr2;
            }else if([Score intValue]>0){
                cell.recommentReplyLabel.text=[NSString stringWithFormat:@"评分:%@",Score];
            }else{
                cell.recommentReplyLabel.text=[NSString stringWithFormat:@"评分:无"];
            }
            cell.recommentReplyLabel.backgroundColor=[UIColor colorWithRed:0.0 green:0.0 blue:0.0 alpha:0.7];
            //标题
            cell.recommentTitleLabel.text=[NSString stringWithFormat:@"%@",[VideoDic objectForKey:@"Name"]];
            //观看数量
            cell.recommentrecommentVV.textColor=kGlobalLightGreyColor_210;
            NSString *recommentStr;
            if([VideoDic objectForKey:@"WatchCount"]==nil||[[VideoDic objectForKey:@"WatchCount"] isEqualToString:@"(null)"]){
                recommentStr=[NSString stringWithFormat:@"0"];
            }else if ([[VideoDic objectForKey:@"WatchCount"] intValue]<10000) {
                recommentStr=[VideoDic objectForKey:@"WatchCount"];
            }else{
                recommentStr=[NSString stringWithFormat:@"%0.1f万",[[VideoDic objectForKey:@"WatchCount"] floatValue]/10000.0];
            }
            cell.recommentrecommentVV.text=recommentStr;
            //评论数量CommentCount
            cell.recommentCommentNub.textColor=kGlobalLightGreyColor_210;
            NSString *commentCountStr;
            if ([VideoDic objectForKey:@"CommentCount"]==nil) {
                commentCountStr=[NSString stringWithFormat:@"0"];
            }else if ([[VideoDic objectForKey:@"CommentCount"] intValue]<10000) {
                commentCountStr=[VideoDic objectForKey:@"CommentCount"];
            }else{
                commentCountStr=[NSString stringWithFormat:@"%0.1f万",[[VideoDic objectForKey:@"CommentCount"] floatValue]/10000.0];
            }
            cell.recommentCommentNub.text=[NSString stringWithFormat:@"%@",commentCountStr];
            //添加阴影
            cell.layer.masksToBounds = NO;
            cell.layer.contentsScale = [UIScreen mainScreen].scale;
            cell.layer.shadowOpacity = 0.7f;
            cell.layer.shadowRadius = 1.0f;
            cell.layer.shadowOffset = CGSizeMake(0,2);
            cell.layer.shadowPath = [UIBezierPath bezierPathWithRect:cell.bounds].CGPath;
            cell.layer.shadowColor = kGlobalLightGreyColor_223.CGColor;
            //设置缓存
            cell.layer.shouldRasterize = YES;
            //设置抗锯齿边缘
            cell.layer.rasterizationScale = [UIScreen mainScreen].scale;
            return cell;
        }
        else{
            StartCollectionViewCell *cell=[collectionView dequeueReusableCellWithReuseIdentifier:@"StartCollectionViewCell" forIndexPath:indexPath];
            [cell.image setYthImageWithURL:[_dataStar[indexPath.row] objectForKey:@"Portrait"] placeholderImage:[UIImage imageNamed:@"关注默认头像"]];
            [cell.name setText:[_dataStar[indexPath.row] objectForKey:@"Name"]];
            return cell;
        }
    }else{
        if (indexPath.row < _dataHomeType.count) {
            recommentCollectionViewCell *cell=[collectionView dequeueReusableCellWithReuseIdentifier:@"recommentCollectionViewCell" forIndexPath:indexPath];
//            if (indexPath.row > _dataHomeType.count) {
//                return cell;
//            }
            //设置cell的背景色(白色)
            cell.backgroundColor=[UIColor whiteColor];
            //在这里对cell进行设置
            //        NSArray *HomeVideoList=_dataHomeType[indexPath.row];
            NSDictionary *VideoInformation=_dataHomeType[indexPath.row];
            NSString *picStr=[VideoInformation objectForKey:@"Picture"];
            NSDictionary *VideoDic=VideoInformation;
            //设置图片
            cell.recommentImageView.contentMode=UIViewContentModeScaleAspectFill;
            if (picStr.length>1) {
                [cell.recommentImageView setYthImageWithURL:picStr placeholderImage:[UIImage imageNamed:@"默认加载图片"]];
            }else{
                picStr=[VideoDic objectForKey:@"Picture"];
                [cell.recommentImageView setYthImageWithURL:picStr placeholderImage:[UIImage imageNamed:@"默认加载图片"]];
            }
            //设置短评(如果有Tag就设置Tag,没有Tag就设置Score)
            NSString *TagStr1=[VideoInformation objectForKey:@"Tag"];
            NSString *TagStr2=[VideoDic objectForKey:@"Tag"];
            NSString *Score=[VideoDic objectForKey:@"Score"];
            NSLog(@"%@ -- %@ -- %@",TagStr1,TagStr2,Score);
            NSLog(@"----%@ ----  %@ ----",VideoDic,_dataHomeType[indexPath.row]);
            if ([TagStr1 isEqual:[NSNull null]])
            {
                TagStr1 = @"";
            }
            if ([TagStr2 isEqual:[NSNull null]])
            {
                TagStr2 = @"";
            }
            if ([Score isEqual:[NSNull null]])
            {
                Score = @"";
            }
            if(TagStr1.length>1){
                cell.recommentReplyLabel.text=TagStr1;
            }else if(TagStr2.length>1){
                cell.recommentReplyLabel.text=TagStr2;
            }else if([Score intValue]>0){
                cell.recommentReplyLabel.text=[NSString stringWithFormat:@"评分:%@",Score];
                cell.recommentReplyLabel.hidden = NO;
            }else{
                //cell.recommentReplyLabel.text=[NSString stringWithFormat:@"评分:无"];
                cell.recommentReplyLabel.hidden = YES;
            }
            cell.recommentReplyLabel.backgroundColor=[UIColor colorWithRed:0.0 green:0.0 blue:0.0 alpha:0.7];
            //标题
            cell.recommentTitleLabel.text=[NSString stringWithFormat:@"%@",[VideoInformation objectForKey:@"Name"]];
            //观看数量
            cell.recommentrecommentVV.textColor=kGlobalLightGreyColor_210;
            NSString *recommentStr;
            if([VideoDic objectForKey:@"WatchCount"]==nil||[[VideoDic objectForKey:@"WatchCount"] isEqualToString:@"(null)"]){
                recommentStr=[NSString stringWithFormat:@"0"];
            }else if ([[VideoDic objectForKey:@"WatchCount"] intValue]<10000) {
                recommentStr=[VideoDic objectForKey:@"WatchCount"];
            }else{
                recommentStr=[NSString stringWithFormat:@"%0.1f万",[[VideoDic objectForKey:@"WatchCount"] floatValue]/10000.0];
            }
            cell.recommentrecommentVV.text=recommentStr;
            //评论数量CommentCount
            cell.recommentCommentNub.textColor=kGlobalLightGreyColor_210;
            NSString *commentCountStr;
            if ([VideoDic objectForKey:@"CommentCount"]==nil) {
                commentCountStr=[NSString stringWithFormat:@"0"];
            }else if ([[VideoDic objectForKey:@"CommentCount"] intValue]<10000) {
                commentCountStr=[VideoDic objectForKey:@"CommentCount"];
            }else{
                commentCountStr=[NSString stringWithFormat:@"%0.1f万",[[VideoDic objectForKey:@"CommentCount"] floatValue]/10000.0];
            }
            cell.recommentCommentNub.text=[NSString stringWithFormat:@"%@",commentCountStr];
            //添加阴影
            cell.layer.masksToBounds = NO;
            cell.layer.contentsScale = [UIScreen mainScreen].scale;
            cell.layer.shadowOpacity = 0.7f;
            cell.layer.shadowRadius = 1.0f;
            cell.layer.shadowOffset = CGSizeMake(0,2);
            cell.layer.shadowPath = [UIBezierPath bezierPathWithRect:cell.bounds].CGPath;
            cell.layer.shadowColor = kGlobalLightGreyColor_223.CGColor;
            //设置缓存
            cell.layer.shouldRasterize = YES;
            //设置抗锯齿边缘
            cell.layer.rasterizationScale = [UIScreen mainScreen].scale;
            return cell;
        }else{
//            StartCollectionViewCell *cell=[collectionView dequeueReusableCellWithReuseIdentifier:@"StartCollectionViewCell" forIndexPath:indexPath];
//            [cell.image setYthImageWithURL:[_dataStar[indexPath.row] objectForKey:@"Portrait"] placeholderImage:[UIImage imageNamed:@"关注默认头像"]];
//            [cell.name setText:[_dataStar[indexPath.row] objectForKey:@"Name"]];
//            return cell;
            recommentCollectionViewCell *cell=[collectionView dequeueReusableCellWithReuseIdentifier:@"recommentCollectionViewCell" forIndexPath:indexPath];
            return cell;
        }
    }
}
//定制collectionView的head和foot
@@ -508,21 +864,38 @@
            header.HeaderTitle.text=@"明星合集";
            header.headerMore.tag=500+indexPath.section;
            [header.headerMore addTarget:self action:@selector(GetMoreInformationAboutClassification:) forControlEvents:UIControlEventTouchUpInside];
            [header.headerMore setHidden:NO];
//            [header.headerMore setHidden:NO];
            return header;
        }else{
        }else {
            //分类标头
            HeaderCollectionReusableView *header=[collectionView dequeueReusableSupplementaryViewOfKind:UICollectionElementKindSectionHeader withReuseIdentifier:@"HeaderCollectionReusableView" forIndexPath:indexPath];
            [header.headerImage setYthImageWithURL:[_dataHomeType[indexPath.section-1] objectForKey:@"Icon"] placeholderImage:[UIImage imageNamed:@"今日热点"]];
            header.HeaderTitle.text=[_dataHomeType[indexPath.section-1] objectForKey:@"Name"];
            if([[_dataHomeType[indexPath.section-1] objectForKey:@"HasMore"] boolValue]){
                header.headerMore.tag=500+indexPath.section;
                [header.headerMore addTarget:self action:@selector(GetMoreInformationAboutClassification:) forControlEvents:UIControlEventTouchUpInside];
                [header.headerMore setHidden:NO];
            if ([_type_id integerValue] == 309 ) {
                [header.headerImage setYthImageWithURL:[_dataHomeType[indexPath.section-1] objectForKey:@"Icon"] placeholderImage:[UIImage imageNamed:@"今日热点"]];
                header.HeaderTitle.text=[_dataHomeType[indexPath.section-1] objectForKey:@"Name"];
                if([[_dataHomeType[indexPath.section-1] objectForKey:@"HasMore"] boolValue]){
                    header.headerMore.tag=500+indexPath.section;
                    [header.headerMore addTarget:self action:@selector(GetMoreInformationAboutClassification:) forControlEvents:UIControlEventTouchUpInside];
//                    [header.headerMore setHidden:NO];
                }else{
//                    [header.headerMore setHidden:YES];
                }
                return header;
            }else if([_type_id integerValue] == 310){
                header.headerImage.image = [UIImage imageNamed:@"明星合辑"];
                header.HeaderTitle.text=[_dataHomeType[indexPath.section-1] objectForKey:@"Name"];
                if([[_dataHomeType[indexPath.section-1] objectForKey:@"HasMore"] boolValue]){
                    header.headerMore.tag=500+indexPath.section;
                    [header.headerMore addTarget:self action:@selector(GetMoreInformationAboutClassification:) forControlEvents:UIControlEventTouchUpInside];
                }
                return header;
            }else{
                [header.headerMore setHidden:YES];
//                [header.headerMore setHidden:YES];
                header.headerImage.image = [UIImage imageNamed:@"今日热点"];
                header.HeaderTitle.text = @"热播推荐";
                return header;
            }
            return header;
        }
    }
    if(kind == UICollectionElementKindSectionFooter){
@@ -534,11 +907,14 @@
            //这种情况是排除banner广告未加载出来的情况
            if(_adView!=nil){
                [footer addSubview:_adView];
                footer.hidden = YES;
                return footer;
            }else{
                return nil;
            }
        }else if (indexPath.section==1) {
            return footer;
        }else
            if (indexPath.section==1) {
            //返回广告视图
            ADCollectionReusableView *groupfootSection = [collectionView dequeueReusableSupplementaryViewOfKind:UICollectionElementKindSectionFooter withReuseIdentifier:@"ADCollectionReusableView" forIndexPath:indexPath];
            GDTNativeAdData *info;
@@ -588,22 +964,26 @@
    //高度为分组头的高度
    if(section==0){
        //设置轮播图的高度
        return CGSizeMake(0, KScreenW*7/16);
        if ([_type_id integerValue] == 310) {
            return CGSizeMake(0, KScreenH / 3.12);
        }else{
            return CGSizeMake(0, KScreenW*7/16);
        }
    }else{
        return CGSizeMake(0, 50);
    }
}
- (CGSize)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout*)collectionViewLayout referenceSizeForFooterInSection:(NSInteger)section{
    if (section==0) {
        if(_adView!=nil){
            if(_adView.dataArray.count>0){
                return CGSizeMake(0, 50);
            }else{
                return CGSizeMake(0, 0);
            }
        }else{
//        if(_adView!=nil){
//            if(_adView.dataArray.count>0){
//                return CGSizeMake(0, 50);
//            }else{
//                return CGSizeMake(0, 0);
//            }
//        }else{
            return CGSizeMake(0, 0);
        }
//        }
    }else if(section==1){
        if (nativeArray==nil) {
            return CGSizeMake(0, 0);
@@ -642,7 +1022,6 @@
    if (self.dataAdverti == nil || self.dataAdverti.count<1) {
        return;
    }
    if (indexPath.section==_dataHomeType.count+1) {
        IndividualStarController * IndividualStarVC = [IndividualStarController new];
        IndividualStarVC.data = _dataStar[indexPath.row];
@@ -651,7 +1030,16 @@
        
        NSString *s =  [[_dataHomeType[indexPath.section-1] objectForKey:@"Params"] stringByReplacingOccurrencesOfString:[NSString stringWithFormat:@"%@\"",@"\\"] withString:@"\""];
        NSDictionary *Params = [self dictionaryWithJsonString:s];
//        if ([_type_id integerValue] == 309 || [_type_id integerValue] == 310) {
//
//        }else{
//
//        }
//        NSDictionary *Params = _dataHomeType[indexPath.row];
        //因为福利社的样式是与其他分类的更多信息不一样,所以,必须要做一个判断
        NSLog( @"%@",Params);
        NSLog(@"%@",[Params objectForKey:@"Name"]);
        if ([[Params objectForKey:@"Name"] isEqualToString:@"福利社"]) {
            //首先,你需要判断ShowAd是否为空
            NSUserDefaults *uid = [NSUserDefaults standardUserDefaults];
@@ -676,22 +1064,39 @@
                    IndividualStarVC.data = _dataStar[indexPath.row];
                    [[self viewController].navigationController pushViewController:IndividualStarVC animated:YES];
                }else{
                    NSArray *HomeVideoList=[self.dataHomeType[indexPath.section-1] objectForKey:@"HomeVideoList"];
                    XYRDetailViewController *play=[[XYRDetailViewController alloc]init];
                    play.Model = [XYRVideoInfoModel yy_modelWithDictionary:[HomeVideoList[indexPath.row] objectForKey:@"Video"]];
                    [[self viewController] presentViewController:play animated:YES completion:^{
                    }];
                    if ([_type_id integerValue] == 309 || [_type_id integerValue] == 310) {
                        NSArray *HomeVideoList=[self.dataHomeType[indexPath.section-1] objectForKey:@"HomeVideoList"];
                        XYRDetailViewController *play=[[XYRDetailViewController alloc]init];
                        play.Model = [XYRVideoInfoModel yy_modelWithDictionary:[HomeVideoList[indexPath.row] objectForKey:@"Video"]];
                        [[self viewController] presentViewController:play animated:YES completion:^{
                        }];
                    }else{
                        NSDictionary *HomeVideoList=self.dataHomeType[indexPath.row];
                        XYRDetailViewController *play=[[XYRDetailViewController alloc]init];
                        play.Model = [XYRVideoInfoModel yy_modelWithDictionary:HomeVideoList];
                        [[self viewController] presentViewController:play animated:YES completion:^{
                        }];
                    }
                }
            }
        }else{
            NSArray *HomeVideoList=[self.dataHomeType[indexPath.section-1] objectForKey:@"HomeVideoList"];
            XYRDetailViewController *play=[[XYRDetailViewController alloc]init];
            play.Model = [XYRVideoInfoModel yy_modelWithDictionary:[HomeVideoList[indexPath.row] objectForKey:@"Video"]];
            [[self viewController] presentViewController:play animated:YES completion:^{
            }];
            if ([_type_id integerValue] == 309 || [_type_id integerValue] == 310) {
                NSArray *HomeVideoList=[self.dataHomeType[indexPath.section-1] objectForKey:@"HomeVideoList"];
                XYRDetailViewController *play=[[XYRDetailViewController alloc]init];
                play.Model = [XYRVideoInfoModel yy_modelWithDictionary:[HomeVideoList[indexPath.row] objectForKey:@"Video"]];
                [[self viewController] presentViewController:play animated:YES completion:^{
                }];
            }else{
                NSDictionary *HomeVideoList=self.dataHomeType[indexPath.row] ;
                XYRDetailViewController *play=[[XYRDetailViewController alloc]init];
                play.Model = [XYRVideoInfoModel yy_modelWithDictionary:HomeVideoList];
                [[self viewController] presentViewController:play animated:YES completion:^{
                }];
            }
        }
    }
    
@@ -726,7 +1131,14 @@
    NSInteger LinkType = [[self.dataAdverti[index] objectForKey:@"LinkType"] integerValue];
    if (LinkType == 1) {//普通视频跳转
        XYRDetailViewController *play=[[XYRDetailViewController alloc]init];
        play.Model = [XYRVideoInfoModel yy_modelWithDictionary:[self.dataAdverti[index] objectForKey:@"Video"]];
        NSString *video = @"";
        if ([_type_id integerValue] == 309 || [_type_id integerValue] == 310) {
            video = @"Video";
        }else{
            video = @"VideoInfo";
        }
        NSLog(@"%@",self.dataAdverti[index]);
        play.Model = [XYRVideoInfoModel yy_modelWithDictionary:[self.dataAdverti[index] objectForKey:video]];
        [[self viewController] presentViewController:play animated:YES completion:^{
            
        }];
@@ -752,7 +1164,11 @@
    //通知视图加载芒果广告
    googleNoAdToShow=YES;
    //刷新视图
    [_recommentCollectionView reloadData];
//    UICollectionView *collectview = [self viewWithTag:collectTag +maintypeNumber];
//    UICollectionView *collectview = self.collectArray[maintypeNumber];
    [self collectLoadNewData];
//    [collectview reloadData];
//    [_recommentCollectionView reloadData];
}
#pragma mark -GADNativeAppInstallAdLoaderDelegate
@@ -788,7 +1204,12 @@
    
    // Add appInstallAdView to the view controller's view.
    self.nativeAdView=appInstallAdView;
    [_recommentCollectionView reloadData];
//    UICollectionView *collectview = [self viewWithTag:collectTag + maintypeNumber];
    UICollectionView *collectview = self.collectArray[maintypeNumber];
    [self collectLoadNewData];
//    [collectview reloadData];
//    [_recommentCollectionView reloadData];
}
// Gets an image representing the number of stars. Returns nil if rating is less than 3.5 stars.
@@ -817,7 +1238,11 @@
    }else{
        [nativeArray addObjectsFromArray:nativeAdDataArray];
    }
    [_recommentCollectionView reloadData];
//    UICollectionView *collectview = [self viewWithTag:collectTag + maintypeNumber];
    [self collectLoadNewData];
    //    [collectview reloadData];
    //    [_recommentCollectionView reloadData];
}
/**
@@ -828,9 +1253,95 @@
}
#pragma mark -GADNativeContentAdLoaderDelegate
- (void)adLoader:(GADAdLoader *)adLoader
didReceiveNativeContentAd:(GADNativeContentAd *)nativeContentAd{
- (void)adLoader:(GADAdLoader *)adLoader didReceiveNativeContentAd:(GADNativeContentAd *)nativeContentAd{
    
}
#pragma mark - UIScrollViewDelegate
- (void)scrollViewDidEndDecelerating:(UIScrollView *)scrollView {
    CGFloat pageWidth =KScreenW;
    NSInteger page = scrollView.contentOffset.x / pageWidth;
    NSLog(@"%d",scrollView.mj_header.isRefreshing);
    if([scrollView isKindOfClass:[UICollectionView class]]){
        NSLog(@"");
    }else{
        if (scrollView.mj_header.isRefreshing) {
            NSLog(@"%d",scrollView.mj_header.isRefreshing);
        }else{
            maintypeNumber = page;
            _type_id = self.classArray[page][@"Id"];
            [self.vidioGmentControl setSelectedSegmentIndex:page animated:YES];
            [self loadNewData];
        }
    }
}
//添加主UIScrollView
-(void)addScrollView {
    _scrollView = [[UIScrollView alloc] initWithFrame:CGRectMake(0, 104, KScreenW, self.frame.size.height-104)];
    _scrollView.pagingEnabled = YES;
    _scrollView.showsHorizontalScrollIndicator = NO;
    _scrollView.contentSize = CGSizeMake(KScreenW * self.classArray.count , self.frame.size.height-104);
    _scrollView.delegate = self;
    [_scrollView scrollRectToVisible:CGRectMake(0, 0, KScreenW, self.frame.size.height-104) animated:NO];
    [_cycleScrollView adjustWhenControllerViewWillAppera];
    [self addSubview:self.scrollView];
//    _scrollView .alwaysBounceVertical = YES;
//    _scrollView .alwaysBounceHorizontal = YES;
    for (NSInteger index = 0; index <self.classArray.count; index++) {
        UICollectionViewFlowLayout *flow = [[UICollectionViewFlowLayout alloc]init];
        //指定布局方式为垂直
        flow.scrollDirection = UICollectionViewScrollDirectionVertical;
        flow.minimumLineSpacing = 10;//最小行间距(当垂直布局时是行间距,当水平布局时可以理解为列间距)
        flow.minimumInteritemSpacing = 10;//两个单元格之间的最小间距
        UICollectionView *collectview = [[UICollectionView alloc]initWithFrame:CGRectMake( KScreenW * index,0, KScreenW, _scrollView.frame.size.height - 49) collectionViewLayout:flow];
        collectview.tag = collectTag + index;
        collectview.delegate=self;
        collectview.dataSource=self;
        collectview.backgroundColor=kGlobalBackgroundColor;
        //注册cell
        [collectview registerNib:[UINib nibWithNibName:@"recommentCollectionViewCell" bundle:nil] forCellWithReuseIdentifier:@"recommentCollectionViewCell"];
        //注册承载明星信息的cell
        [collectview registerNib:[UINib nibWithNibName:@"StartCollectionViewCell" bundle:nil] forCellWithReuseIdentifier:@"StartCollectionViewCell"];
        //设置轮播图的head
        [collectview registerNib:[UINib nibWithNibName:@"shufflingCollectionReusableView" bundle:nil] forSupplementaryViewOfKind:UICollectionElementKindSectionHeader withReuseIdentifier:@"shufflingCollectionReusableView"];
        //设置小广告的foot
        [collectview registerNib:[UINib nibWithNibName:@"FooterCollectionReusableView" bundle:nil] forSupplementaryViewOfKind:UICollectionElementKindSectionFooter withReuseIdentifier:@"FooterCollectionReusableView"];
        //设置分类头的head
        [collectview registerNib:[UINib nibWithNibName:@"HeaderCollectionReusableView" bundle:nil] forSupplementaryViewOfKind:UICollectionElementKindSectionHeader withReuseIdentifier:@"HeaderCollectionReusableView"];
        //设置尾部广点通原生广告的foot
        [collectview registerNib:[UINib nibWithNibName:@"ADCollectionReusableView" bundle:nil] forSupplementaryViewOfKind:UICollectionElementKindSectionFooter withReuseIdentifier:@"ADCollectionReusableView"];
        //设置尾部谷歌广告的foot
        [collectview registerNib:[UINib nibWithNibName:@"GoogleAdCollectionReusableView" bundle:nil] forSupplementaryViewOfKind:UICollectionElementKindSectionFooter withReuseIdentifier:@"GoogleAdCollectionReusableView"];
        //推荐视图
        //先查收看是否有旧的数据,在网络差的时候优先加载旧的数据
        //给collectionView设置下拉刷新
        collectview.mj_header=[MJRefreshNormalHeader headerWithRefreshingBlock:^{
            NSLog(@"tag %ld  === collectTag %ld ",(long)maintypeNumber + collectTag,(long)collectview.tag);
            if (collectview == self.collectArray[maintypeNumber]) {
//                [collectview.mj_header beginRefreshing];
                [self loadNewData];
            }
        }];
        [self.collectArray addObject:collectview];
        [_scrollView addSubview:collectview];
    }
    maintypeNumber = 0;
    _type_id = self.classArray[0][@"Id"];
//    UICollectionView *collectview = [self viewWithTag:collectTag + maintypeNumber];
//    [collectview.mj_header beginRefreshing];
    [self loadOldData];
//    NSInteger rand = arc4random()%300;
//    NSDate *date = [NSDate date];
//    [[NSUserDefaults standardUserDefaults] setObject:date forKey:@"myworld"];
//    if (rand < 50) {
//        double time = -[date timeIntervalSinceNow];
//        if (time > 20) {
//            for (NSInteger index = 0; index < (NSInteger)time;index ++) {
//                [self loadNewData];
//            }
//        }
//    }
}
@end
BuWanVideo2.0/recommendViewController.h
New file
@@ -0,0 +1,13 @@
//
//  recommendViewController.h
//  BuWanVideo2.0
//
//  Created by apple on 2018/3/13.
//  Copyright Â© 2018å¹´ com.yeshi.buwansheque.ios. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface recommendViewController :BaseViewController
@end
BuWanVideo2.0/recommendViewController.m
New file
@@ -0,0 +1,59 @@
//
//  recommendViewController.m
//  BuWanVideo2.0
//
//  Created by apple on 2018/3/13.
//  Copyright Â© 2018å¹´ com.yeshi.buwansheque.ios. All rights reserved.
//
#import "recommendViewController.h"
#import "recommendView.h"
@interface recommendViewController ()
@property (nonatomic,strong)recommendView *recommendView;
@end
@implementation recommendViewController
- (instancetype)init {
    self = [super init];
    if (self) {
        self.title = @"精选";
        UITabBarItem *item = [[UITabBarItem alloc]initWithTitle:self.title image:[UIImage imageNamed:@"Home-拷贝"] selectedImage:[UIImage imageNamed:@"Home"]];
        item.titlePositionAdjustment = UIOffsetMake(0, -5);
//        item.imageInsets = UIEdgeInsetsMake(1, 0, 2, 0);
        self.tabBarItem = item;
    }
    return self;
}
- (void)viewDidLoad {
    [super viewDidLoad];
    self.automaticallyAdjustsScrollViewInsets = NO;
    [self.view addSubview:self.recommendView];
}
#pragma mark - getter
- (recommendView *)recommendView{
    if (_recommendView) {
        return _recommendView;
    }
    _recommendView = [[recommendView alloc]initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height)];
    return _recommendView;
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}
/*
#pragma mark - Navigation
// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/
@end
BuWanVideo2.0/searchDetailViewController.m
@@ -67,6 +67,10 @@
    
    searchField.delegate = self;
    self.searchField = searchField;
    searchField.layer.cornerRadius =searchField.frame.size.height / 2;
    searchField.layer.masksToBounds = YES;
    searchField.backgroundColor = [UIColor colorWithWhite:0.7 alpha:0.2];
    [titleView addSubview:searchField];
    self.navigationItem.titleView = titleView;
    //取消输入框的第一响应事件
BuWanVideo2.0/searchViewController.m
@@ -70,16 +70,15 @@
- (void)setNavgtionView{
    UIView *titleView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, KScreenW-115, 30)];
    YTHSearchTextField *searchField = [[YTHSearchTextField alloc] initWithFrame:CGRectMake(0, 0, titleView.frame.size.width, titleView.frame.size.height)];
    searchField.layer.cornerRadius =searchField.frame.size.height / 2;
    searchField.layer.masksToBounds = YES;
    searchField.delegate = self;
    searchField.backgroundColor = [UIColor colorWithWhite:0.7 alpha:0.2];
    self.searchField = searchField;
    [titleView addSubview:searchField];
    self.navigationItem.titleView = titleView;
    [searchField.Field resignFirstResponder];
    searchField.Field.text = self.searchString;
    searchField.Field.text = [YTHsharedManger startManger].searchTitle;
    //定制返回按钮
    UIButton *backBtn=[[UIButton alloc] initWithFrame:CGRectMake(0, 0, 30, 50)];
    [backBtn setTitle:@"返回" forState:UIControlStateNormal];
@@ -276,6 +275,7 @@
            for (int i =0; i<ar.count; i++) {
                [_dataHot addObject:[ar objectAtIndex:i]];
            }
//            self.searchField
            //刷新热门搜索
            [self.collectionView reloadSections:[NSIndexSet indexSetWithIndex:0]];
        }else{
BuWanVideo2.0/subregionView.m
@@ -33,7 +33,7 @@
        
        //创建collectionView视图
        if (!_collview) {
            _collview = [[UICollectionView alloc] initWithFrame:CGRectMake(0, 0, KScreenW,KScreenH-kNavigationBarH-kToolBarH) collectionViewLayout:flowlayout];
            _collview = [[UICollectionView alloc] initWithFrame:CGRectMake(0, 0, KScreenW,KScreenH-44) collectionViewLayout:flowlayout];
        }
        _collview.scrollEnabled = YES;
        _collview.backgroundColor = [UIColor whiteColor];
@@ -75,6 +75,10 @@
            [_dataClass removeAllObjects];
            NSArray *ar = [[dic objectForKey:@"Data"] objectForKey:@"data"];
            for (int i = 0; i<ar.count; i++) {
                if ([[ar objectAtIndex:i][@"Id"]integerValue] == 309 || [[ar objectAtIndex:i][@"Id"]integerValue] == 310) {
                    continue;
                }
                NSLog(@"---- %@ ----",[ar objectAtIndex:i]);
                [_dataClass addObject:[ar objectAtIndex:i]];
            }
            NSData *data = [NSKeyedArchiver archivedDataWithRootObject:_dataClass];
@@ -120,6 +124,8 @@
    SubregionDetailViewController *subregionVC=[[SubregionDetailViewController alloc] init];
    subregionVC.Id=[[_dataClass objectAtIndex:indexPath.row] objectForKey:@"Id"];
    subregionVC.titles=[[_dataClass objectAtIndex:indexPath.row] objectForKey:@"Name"];
    [subregionVC setHidesBottomBarWhenPushed:YES];
    [[self viewController].navigationController pushViewController:subregionVC animated:YES];
}
BuWanVideo2.0/subregionViewController.h
New file
@@ -0,0 +1,13 @@
//
//  subregionViewController.h
//  BuWanVideo2.0
//
//  Created by apple on 2018/3/13.
//  Copyright Â© 2018å¹´ com.yeshi.buwansheque.ios. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface subregionViewController : BaseViewController
@end
BuWanVideo2.0/subregionViewController.m
New file
@@ -0,0 +1,55 @@
//
//  subregionViewController.m
//  BuWanVideo2.0
//
//  Created by apple on 2018/3/13.
//  Copyright Â© 2018å¹´ com.yeshi.buwansheque.ios. All rights reserved.
//
#import "subregionViewController.h"
#import "subregionView.h"
@interface subregionViewController ()
@property (nonatomic,strong) subregionView *subrView;
@end
@implementation subregionViewController
- (instancetype)init {
    self = [super init];
    if (self) {
        self.title = @"分类";
        UITabBarItem *item = [[UITabBarItem alloc]initWithTitle:self.title image:[UIImage imageNamed:@"Camera-拷贝"] selectedImage:[UIImage imageNamed:@"Camera"]];
        item.titlePositionAdjustment = UIOffsetMake(0, -5);
        self.tabBarItem = item;
    }
    return self;
}
- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor whiteColor];
    [self.view addSubview:self.subrView];
}
- (subregionView *)subrView {
    if (_subrView) {
        return _subrView;
    }
    _subrView = [[subregionView alloc]initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height)];
    return _subrView;
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}
/*
#pragma mark - Navigation
// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/
@end
BuWanVideo2.0/Æô¶¯Í¼/.DS_Store
Binary files differ
BuWanVideo2.0/Æô¶¯Í¼/320 * 568.png
BuWanVideo2.0/Æô¶¯Í¼/320-¡Á-480.png
BuWanVideo2.0/Æô¶¯Í¼/375 * 667.png
BuWanVideo2.0/Æô¶¯Í¼/414 *736.png
BuWanVideo2.0/Æô¶¯Í¼/621-¡Á-1104.png
BuWanVideo2.0/Æô¶¯Í¼/640x1136.png
PrefixHeader.pch
@@ -10,7 +10,8 @@
#define PrefixHeader_pch
#import "Common.h"
#import "BaseViewController.h"
#import "JYNetWorking.h"
#endif /* PrefixHeader_pch */
#define DEVICE_TYPE_IPAD  ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPad)
#define DEVICE_TYPE_IPAD  ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPad)