├── .gitattributes ├── Pods ├── Headers │ ├── Private │ │ ├── Masonry │ │ │ ├── Masonry.h │ │ │ ├── MASUtilities.h │ │ │ ├── MASConstraint.h │ │ │ ├── MASViewAttribute.h │ │ │ ├── MASViewConstraint.h │ │ │ ├── View+MASAdditions.h │ │ │ ├── MASConstraintMaker.h │ │ │ ├── MASLayoutConstraint.h │ │ │ ├── NSArray+MASAdditions.h │ │ │ ├── MASCompositeConstraint.h │ │ │ ├── MASConstraint+Private.h │ │ │ ├── View+MASShorthandAdditions.h │ │ │ ├── ViewController+MASAdditions.h │ │ │ ├── NSArray+MASShorthandAdditions.h │ │ │ └── NSLayoutConstraint+MASDebugAdditions.h │ │ ├── MJRefresh │ │ │ ├── MJRefresh.h │ │ │ ├── MJRefreshConst.h │ │ │ ├── MJRefreshFooter.h │ │ │ ├── MJRefreshHeader.h │ │ │ ├── UIView+MJExtension.h │ │ │ ├── MJRefreshAutoFooter.h │ │ │ ├── MJRefreshBackFooter.h │ │ │ ├── MJRefreshComponent.h │ │ │ ├── UIScrollView+MJRefresh.h │ │ │ ├── UIScrollView+MJExtension.h │ │ │ ├── MJRefreshGifHeader.h │ │ │ ├── MJRefreshStateHeader.h │ │ │ ├── MJRefreshNormalHeader.h │ │ │ ├── MJRefreshAutoGifFooter.h │ │ │ ├── MJRefreshBackGifFooter.h │ │ │ ├── MJRefreshAutoNormalFooter.h │ │ │ ├── MJRefreshAutoStateFooter.h │ │ │ ├── MJRefreshBackNormalFooter.h │ │ │ └── MJRefreshBackStateFooter.h │ │ ├── RESideMenu │ │ │ ├── RESideMenu.h │ │ │ ├── RECommonFunctions.h │ │ │ └── UIViewController+RESideMenu.h │ │ └── AFNetworking │ │ │ ├── AFNetworking.h │ │ │ ├── AFSecurityPolicy.h │ │ │ ├── AFHTTPSessionManager.h │ │ │ ├── AFImageDownloader.h │ │ │ ├── AFURLSessionManager.h │ │ │ ├── UIKit+AFNetworking.h │ │ │ ├── AFURLRequestSerialization.h │ │ │ ├── UIButton+AFNetworking.h │ │ │ ├── UIImage+AFNetworking.h │ │ │ ├── UIWebView+AFNetworking.h │ │ │ ├── AFAutoPurgingImageCache.h │ │ │ ├── AFURLResponseSerialization.h │ │ │ ├── UIImageView+AFNetworking.h │ │ │ ├── AFNetworkReachabilityManager.h │ │ │ ├── UIProgressView+AFNetworking.h │ │ │ ├── UIRefreshControl+AFNetworking.h │ │ │ ├── AFNetworkActivityIndicatorManager.h │ │ │ └── UIActivityIndicatorView+AFNetworking.h │ └── Public │ │ ├── Masonry │ │ ├── Masonry.h │ │ ├── MASConstraint.h │ │ ├── MASUtilities.h │ │ ├── MASConstraintMaker.h │ │ ├── MASViewAttribute.h │ │ ├── MASViewConstraint.h │ │ ├── View+MASAdditions.h │ │ ├── MASLayoutConstraint.h │ │ ├── NSArray+MASAdditions.h │ │ ├── MASCompositeConstraint.h │ │ ├── MASConstraint+Private.h │ │ ├── View+MASShorthandAdditions.h │ │ ├── ViewController+MASAdditions.h │ │ ├── NSArray+MASShorthandAdditions.h │ │ └── NSLayoutConstraint+MASDebugAdditions.h │ │ ├── MJRefresh │ │ ├── MJRefresh.h │ │ ├── MJRefreshConst.h │ │ ├── MJRefreshFooter.h │ │ ├── MJRefreshHeader.h │ │ ├── UIView+MJExtension.h │ │ ├── MJRefreshAutoFooter.h │ │ ├── MJRefreshBackFooter.h │ │ ├── MJRefreshComponent.h │ │ ├── UIScrollView+MJRefresh.h │ │ ├── MJRefreshGifHeader.h │ │ ├── UIScrollView+MJExtension.h │ │ ├── MJRefreshStateHeader.h │ │ ├── MJRefreshNormalHeader.h │ │ ├── MJRefreshAutoGifFooter.h │ │ ├── MJRefreshBackGifFooter.h │ │ ├── MJRefreshAutoNormalFooter.h │ │ ├── MJRefreshAutoStateFooter.h │ │ ├── MJRefreshBackNormalFooter.h │ │ └── MJRefreshBackStateFooter.h │ │ ├── RESideMenu │ │ ├── RESideMenu.h │ │ ├── RECommonFunctions.h │ │ └── UIViewController+RESideMenu.h │ │ └── AFNetworking │ │ ├── AFNetworking.h │ │ ├── AFSecurityPolicy.h │ │ ├── AFHTTPSessionManager.h │ │ ├── AFImageDownloader.h │ │ ├── AFURLSessionManager.h │ │ ├── UIImage+AFNetworking.h │ │ ├── UIKit+AFNetworking.h │ │ ├── AFURLRequestSerialization.h │ │ ├── UIButton+AFNetworking.h │ │ ├── UIWebView+AFNetworking.h │ │ ├── AFAutoPurgingImageCache.h │ │ ├── AFNetworkReachabilityManager.h │ │ ├── AFURLResponseSerialization.h │ │ ├── UIImageView+AFNetworking.h │ │ ├── UIProgressView+AFNetworking.h │ │ ├── UIRefreshControl+AFNetworking.h │ │ ├── AFNetworkActivityIndicatorManager.h │ │ └── UIActivityIndicatorView+AFNetworking.h ├── Target Support Files │ ├── Masonry │ │ ├── Masonry-prefix.pch │ │ ├── Masonry-dummy.m │ │ └── Masonry.xcconfig │ ├── MJRefresh │ │ ├── MJRefresh-prefix.pch │ │ ├── MJRefresh-dummy.m │ │ └── MJRefresh.xcconfig │ ├── RESideMenu │ │ ├── RESideMenu-prefix.pch │ │ ├── RESideMenu-dummy.m │ │ └── RESideMenu.xcconfig │ ├── Pods │ │ ├── Pods-dummy.m │ │ ├── Pods.debug.xcconfig │ │ ├── Pods.release.xcconfig │ │ └── Pods-frameworks.sh │ └── AFNetworking │ │ ├── AFNetworking-dummy.m │ │ ├── AFNetworking-prefix.pch │ │ └── AFNetworking.xcconfig ├── MJRefresh │ ├── MJRefresh │ │ ├── MJRefresh.bundle │ │ │ └── arrow@2x.png │ │ ├── Base │ │ │ ├── MJRefreshBackFooter.h │ │ │ ├── MJRefreshAutoFooter.h │ │ │ ├── MJRefreshHeader.h │ │ │ ├── MJRefreshFooter.h │ │ │ ├── MJRefreshFooter.m │ │ │ └── MJRefreshComponent.h │ │ ├── Custom │ │ │ ├── Footer │ │ │ │ ├── Auto │ │ │ │ │ ├── MJRefreshAutoNormalFooter.h │ │ │ │ │ ├── MJRefreshAutoGifFooter.h │ │ │ │ │ ├── MJRefreshAutoStateFooter.h │ │ │ │ │ ├── MJRefreshAutoNormalFooter.m │ │ │ │ │ ├── MJRefreshAutoStateFooter.m │ │ │ │ │ └── MJRefreshAutoGifFooter.m │ │ │ │ └── Back │ │ │ │ │ ├── MJRefreshBackNormalFooter.h │ │ │ │ │ ├── MJRefreshBackStateFooter.h │ │ │ │ │ ├── MJRefreshBackGifFooter.h │ │ │ │ │ ├── MJRefreshBackStateFooter.m │ │ │ │ │ ├── MJRefreshBackGifFooter.m │ │ │ │ │ └── MJRefreshBackNormalFooter.m │ │ │ └── Header │ │ │ │ ├── MJRefreshNormalHeader.h │ │ │ │ ├── MJRefreshGifHeader.h │ │ │ │ ├── MJRefreshStateHeader.h │ │ │ │ ├── MJRefreshGifHeader.m │ │ │ │ └── MJRefreshNormalHeader.m │ │ ├── MJRefresh.h │ │ ├── UIView+MJExtension.h │ │ ├── UIScrollView+MJExtension.h │ │ ├── UIScrollView+MJRefresh.h │ │ ├── MJRefreshConst.m │ │ ├── UIView+MJExtension.m │ │ ├── MJRefreshConst.h │ │ └── UIScrollView+MJExtension.m │ └── LICENSE ├── Masonry │ ├── Masonry │ │ ├── MASLayoutConstraint.m │ │ ├── NSLayoutConstraint+MASDebugAdditions.h │ │ ├── MASLayoutConstraint.h │ │ ├── MASCompositeConstraint.h │ │ ├── Masonry.h │ │ ├── ViewController+MASAdditions.h │ │ ├── NSArray+MASShorthandAdditions.h │ │ ├── MASViewAttribute.m │ │ ├── MASViewAttribute.h │ │ ├── ViewController+MASAdditions.m │ │ ├── MASViewConstraint.h │ │ ├── MASConstraint+Private.h │ │ ├── NSArray+MASAdditions.h │ │ ├── View+MASShorthandAdditions.h │ │ └── View+MASAdditions.h │ └── LICENSE ├── Manifest.lock ├── RESideMenu │ ├── LICENSE │ └── RESideMenu │ │ ├── UIViewController+RESideMenu.h │ │ ├── RECommonFunctions.h │ │ ├── RECommonFunctions.m │ │ └── UIViewController+RESideMenu.m └── AFNetworking │ ├── LICENSE │ ├── UIKit+AFNetworking │ ├── UIImage+AFNetworking.h │ ├── UIKit+AFNetworking.h │ ├── UIActivityIndicatorView+AFNetworking.h │ ├── UIRefreshControl+AFNetworking.h │ └── UIProgressView+AFNetworking.h │ └── AFNetworking │ └── AFNetworking.h ├── Image ├── Five │ ├── ImgBG.png │ └── HeaderImage │ │ ├── Head1.png │ │ ├── Head2.png │ │ ├── Head3.png │ │ ├── Head4.png │ │ ├── Head5.png │ │ ├── Head6.png │ │ ├── Head7.png │ │ ├── Head8.png │ │ ├── Head9.png │ │ ├── ImgBG.png │ │ ├── Head10.png │ │ ├── Head11.png │ │ ├── Head12.png │ │ ├── Head13.png │ │ ├── Head14.png │ │ ├── Head15.png │ │ └── Head16.png ├── Four │ └── FDJ.png ├── One │ ├── TiXu.jpg │ ├── adv0.png │ ├── adv1.png │ ├── adv2.png │ ├── adv3.png │ ├── ChenShan.jpg │ ├── DuanWaiTao.jpg │ ├── LianYiQun.jpg │ ├── SiJiMeiQun.jpg │ ├── ZhenZhiShan.jpg │ ├── Cloths │ │ ├── CS │ │ │ ├── CS1.jpg │ │ │ ├── CS2.jpg │ │ │ ├── CS3.jpg │ │ │ ├── CS4.jpg │ │ │ ├── CS5.jpg │ │ │ ├── CS6.jpg │ │ │ ├── CS7.jpg │ │ │ ├── CS8.jpg │ │ │ ├── CS9.jpg │ │ │ ├── CS10.jpg │ │ │ └── 衬衫.rtf │ │ ├── TX │ │ │ ├── TX1.jpg │ │ │ ├── TX2.jpg │ │ │ ├── TX3.jpg │ │ │ ├── TX4.jpg │ │ │ ├── TX5.jpg │ │ │ ├── TX6.jpg │ │ │ ├── TX7.jpg │ │ │ ├── TX8.jpg │ │ │ ├── TX9.jpg │ │ │ ├── TX10.jpg │ │ │ └── T恤.rtf │ │ └── SJMQ │ │ │ ├── SJMQ1.jpg │ │ │ ├── SJMQ10.jpg │ │ │ ├── SJMQ2.jpg │ │ │ ├── SJMQ3.jpg │ │ │ ├── SJMQ4.jpg │ │ │ ├── SJMQ5.jpg │ │ │ ├── SJMQ6.jpg │ │ │ ├── SJMQ7.jpg │ │ │ ├── SJMQ8.jpg │ │ │ ├── SJMQ9.jpg │ │ │ └── 四季美裙.rtf │ └── WeatherRefresh.png ├── Two │ ├── Test1.png │ ├── Test2.png │ ├── Test3.png │ └── Test4.png ├── ButtonIcon │ ├── 1.png │ ├── 2.png │ ├── 3.png │ ├── 4.png │ ├── 5.png │ ├── 6.png │ ├── 7.png │ ├── 8.png │ └── Control.png └── Normal │ ├── Control1.png │ ├── Control2.png │ ├── Control3.png │ ├── Control4.png │ └── TopBackground.png ├── podfile ├── ClothingMaster ├── Assets.xcassets │ └── AppIcon.appiconset │ │ ├── ic.png │ │ ├── ic-1.png │ │ └── Contents.json ├── ViewController.h ├── ClothingMaster.xcdatamodeld │ ├── .xccurrentversion │ └── ClothingMaster.xcdatamodel │ │ └── contents ├── AppDelegate.h ├── main.m ├── ViewController.m ├── Info.plist ├── Base.lproj │ ├── Main.storyboard │ └── LaunchScreen.storyboard └── AppDelegate.m ├── ClothingMaster.xcodeproj └── project.xcworkspace │ └── contents.xcworkspacedata ├── Entity ├── Like.m ├── Weather.m ├── Like.h ├── Like+CoreDataProperties.m ├── Weather.h ├── Like+CoreDataProperties.h ├── Weather+CoreDataProperties.m └── Weather+CoreDataProperties.h ├── Controller ├── Two │ ├── AdvTestVC.h │ ├── AdviseViewController.h │ ├── TestInfoVC.h │ ├── Sup │ │ └── TestData.h │ └── TestInfoVC.m ├── Three │ ├── Sup │ │ ├── Segment │ │ │ ├── SegmentButton.h │ │ │ ├── SegmentButton.m │ │ │ ├── UIView+Extension.h │ │ │ ├── SegmentView.h │ │ │ └── UIView+Extension.m │ │ └── DesignData.h │ ├── DesignViewController.h │ └── DesignInfoVC.h ├── Four │ ├── BrandViewController.h │ └── Sup │ │ └── LGCategoryView.h ├── Five │ ├── PrivateViewController.h │ ├── FiveAnotherController │ │ └── PrivateOneController.h │ └── FiveCell │ │ ├── MyToolsCell.h │ │ ├── MyToolsCell.m │ │ ├── FiveTableViewCell.h │ │ └── FiveTableViewCell.m ├── One │ ├── NewDayViewController.h │ ├── WebViewController.h │ └── ConstellFlowLayoutCell.m └── Control │ ├── ControlVC.h │ ├── ControlTabbarController.h │ └── ControlTabbarController.m ├── ClothingMaster.xcworkspace └── contents.xcworkspacedata ├── CoreData ├── CoreDataBase+Query.h ├── CoreDataBase.h └── CoreDataBase+Query.m ├── README.md ├── Podfile.lock └── .gitignore /.gitattributes: -------------------------------------------------------------------------------- 1 | *.pbxproj merge=union -------------------------------------------------------------------------------- /Pods/Headers/Private/Masonry/Masonry.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/Masonry.h -------------------------------------------------------------------------------- /Pods/Headers/Public/Masonry/Masonry.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/Masonry.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/MJRefresh.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/MJRefresh.h -------------------------------------------------------------------------------- /Pods/Headers/Private/Masonry/MASUtilities.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/MASUtilities.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/MJRefresh.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/MJRefresh.h -------------------------------------------------------------------------------- /Pods/Headers/Public/Masonry/MASConstraint.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/MASConstraint.h -------------------------------------------------------------------------------- /Pods/Headers/Public/Masonry/MASUtilities.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/MASUtilities.h -------------------------------------------------------------------------------- /Pods/Headers/Private/Masonry/MASConstraint.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/MASConstraint.h -------------------------------------------------------------------------------- /Pods/Headers/Private/RESideMenu/RESideMenu.h: -------------------------------------------------------------------------------- 1 | ../../../RESideMenu/RESideMenu/RESideMenu.h -------------------------------------------------------------------------------- /Pods/Headers/Public/RESideMenu/RESideMenu.h: -------------------------------------------------------------------------------- 1 | ../../../RESideMenu/RESideMenu/RESideMenu.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/MJRefreshConst.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/MJRefreshConst.h -------------------------------------------------------------------------------- /Pods/Headers/Private/Masonry/MASViewAttribute.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/MASViewAttribute.h -------------------------------------------------------------------------------- /Pods/Headers/Private/Masonry/MASViewConstraint.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/MASViewConstraint.h -------------------------------------------------------------------------------- /Pods/Headers/Private/Masonry/View+MASAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/View+MASAdditions.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/MJRefreshConst.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/MJRefreshConst.h -------------------------------------------------------------------------------- /Pods/Headers/Public/Masonry/MASConstraintMaker.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/MASConstraintMaker.h -------------------------------------------------------------------------------- /Pods/Headers/Public/Masonry/MASViewAttribute.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/MASViewAttribute.h -------------------------------------------------------------------------------- /Pods/Headers/Public/Masonry/MASViewConstraint.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/MASViewConstraint.h -------------------------------------------------------------------------------- /Pods/Headers/Public/Masonry/View+MASAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/View+MASAdditions.h -------------------------------------------------------------------------------- /Image/Five/ImgBG.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/Five/ImgBG.png -------------------------------------------------------------------------------- /Image/Four/FDJ.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/Four/FDJ.png -------------------------------------------------------------------------------- /Image/One/TiXu.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/One/TiXu.jpg -------------------------------------------------------------------------------- /Image/One/adv0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/One/adv0.png -------------------------------------------------------------------------------- /Image/One/adv1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/One/adv1.png -------------------------------------------------------------------------------- /Image/One/adv2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/One/adv2.png -------------------------------------------------------------------------------- /Image/One/adv3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/One/adv3.png -------------------------------------------------------------------------------- /Image/Two/Test1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/Two/Test1.png -------------------------------------------------------------------------------- /Image/Two/Test2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/Two/Test2.png -------------------------------------------------------------------------------- /Image/Two/Test3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/Two/Test3.png -------------------------------------------------------------------------------- /Image/Two/Test4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/Two/Test4.png -------------------------------------------------------------------------------- /Pods/Headers/Private/AFNetworking/AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFNetworking.h -------------------------------------------------------------------------------- /Pods/Headers/Private/Masonry/MASConstraintMaker.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/MASConstraintMaker.h -------------------------------------------------------------------------------- /Pods/Headers/Private/Masonry/MASLayoutConstraint.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/MASLayoutConstraint.h -------------------------------------------------------------------------------- /Pods/Headers/Private/Masonry/NSArray+MASAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/NSArray+MASAdditions.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AFNetworking/AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFNetworking.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/MJRefreshFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Base/MJRefreshFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/MJRefreshHeader.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Base/MJRefreshHeader.h -------------------------------------------------------------------------------- /Pods/Headers/Public/Masonry/MASLayoutConstraint.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/MASLayoutConstraint.h -------------------------------------------------------------------------------- /Pods/Headers/Public/Masonry/NSArray+MASAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/NSArray+MASAdditions.h -------------------------------------------------------------------------------- /Image/ButtonIcon/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/ButtonIcon/1.png -------------------------------------------------------------------------------- /Image/ButtonIcon/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/ButtonIcon/2.png -------------------------------------------------------------------------------- /Image/ButtonIcon/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/ButtonIcon/3.png -------------------------------------------------------------------------------- /Image/ButtonIcon/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/ButtonIcon/4.png -------------------------------------------------------------------------------- /Image/ButtonIcon/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/ButtonIcon/5.png -------------------------------------------------------------------------------- /Image/ButtonIcon/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/ButtonIcon/6.png -------------------------------------------------------------------------------- /Image/ButtonIcon/7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/ButtonIcon/7.png -------------------------------------------------------------------------------- /Image/ButtonIcon/8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/ButtonIcon/8.png -------------------------------------------------------------------------------- /Image/One/ChenShan.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/One/ChenShan.jpg -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/MJRefreshFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Base/MJRefreshFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/MJRefreshHeader.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Base/MJRefreshHeader.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/UIView+MJExtension.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/UIView+MJExtension.h -------------------------------------------------------------------------------- /Pods/Headers/Private/Masonry/MASCompositeConstraint.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/MASCompositeConstraint.h -------------------------------------------------------------------------------- /Pods/Headers/Private/Masonry/MASConstraint+Private.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/MASConstraint+Private.h -------------------------------------------------------------------------------- /Pods/Headers/Private/RESideMenu/RECommonFunctions.h: -------------------------------------------------------------------------------- 1 | ../../../RESideMenu/RESideMenu/RECommonFunctions.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/UIView+MJExtension.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/UIView+MJExtension.h -------------------------------------------------------------------------------- /Pods/Headers/Public/Masonry/MASCompositeConstraint.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/MASCompositeConstraint.h -------------------------------------------------------------------------------- /Pods/Headers/Public/Masonry/MASConstraint+Private.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/MASConstraint+Private.h -------------------------------------------------------------------------------- /Pods/Headers/Public/RESideMenu/RECommonFunctions.h: -------------------------------------------------------------------------------- 1 | ../../../RESideMenu/RESideMenu/RECommonFunctions.h -------------------------------------------------------------------------------- /Image/Normal/Control1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/Normal/Control1.png -------------------------------------------------------------------------------- /Image/Normal/Control2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/Normal/Control2.png -------------------------------------------------------------------------------- /Image/Normal/Control3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/Normal/Control3.png -------------------------------------------------------------------------------- /Image/Normal/Control4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/Normal/Control4.png -------------------------------------------------------------------------------- /Image/One/DuanWaiTao.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/One/DuanWaiTao.jpg -------------------------------------------------------------------------------- /Image/One/LianYiQun.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/One/LianYiQun.jpg -------------------------------------------------------------------------------- /Image/One/SiJiMeiQun.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/One/SiJiMeiQun.jpg -------------------------------------------------------------------------------- /Image/One/ZhenZhiShan.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/One/ZhenZhiShan.jpg -------------------------------------------------------------------------------- /Pods/Headers/Private/AFNetworking/AFSecurityPolicy.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFSecurityPolicy.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/MJRefreshAutoFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Base/MJRefreshAutoFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/MJRefreshBackFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Base/MJRefreshBackFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/MJRefreshComponent.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Base/MJRefreshComponent.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/UIScrollView+MJRefresh.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/UIScrollView+MJRefresh.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AFNetworking/AFSecurityPolicy.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFSecurityPolicy.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/MJRefreshAutoFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Base/MJRefreshAutoFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/MJRefreshBackFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Base/MJRefreshBackFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/MJRefreshComponent.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Base/MJRefreshComponent.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/UIScrollView+MJRefresh.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/UIScrollView+MJRefresh.h -------------------------------------------------------------------------------- /Image/One/Cloths/CS/CS1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/One/Cloths/CS/CS1.jpg -------------------------------------------------------------------------------- /Image/One/Cloths/CS/CS2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/One/Cloths/CS/CS2.jpg -------------------------------------------------------------------------------- /Image/One/Cloths/CS/CS3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/One/Cloths/CS/CS3.jpg -------------------------------------------------------------------------------- /Image/One/Cloths/CS/CS4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/One/Cloths/CS/CS4.jpg -------------------------------------------------------------------------------- /Image/One/Cloths/CS/CS5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/One/Cloths/CS/CS5.jpg -------------------------------------------------------------------------------- /Image/One/Cloths/CS/CS6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/One/Cloths/CS/CS6.jpg -------------------------------------------------------------------------------- /Image/One/Cloths/CS/CS7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/One/Cloths/CS/CS7.jpg -------------------------------------------------------------------------------- /Image/One/Cloths/CS/CS8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/One/Cloths/CS/CS8.jpg -------------------------------------------------------------------------------- /Image/One/Cloths/CS/CS9.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/One/Cloths/CS/CS9.jpg -------------------------------------------------------------------------------- /Image/One/Cloths/TX/TX1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/One/Cloths/TX/TX1.jpg -------------------------------------------------------------------------------- /Image/One/Cloths/TX/TX2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/One/Cloths/TX/TX2.jpg -------------------------------------------------------------------------------- /Image/One/Cloths/TX/TX3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/One/Cloths/TX/TX3.jpg -------------------------------------------------------------------------------- /Image/One/Cloths/TX/TX4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/One/Cloths/TX/TX4.jpg -------------------------------------------------------------------------------- /Image/One/Cloths/TX/TX5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/One/Cloths/TX/TX5.jpg -------------------------------------------------------------------------------- /Image/One/Cloths/TX/TX6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/One/Cloths/TX/TX6.jpg -------------------------------------------------------------------------------- /Image/One/Cloths/TX/TX7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/One/Cloths/TX/TX7.jpg -------------------------------------------------------------------------------- /Image/One/Cloths/TX/TX8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/One/Cloths/TX/TX8.jpg -------------------------------------------------------------------------------- /Image/One/Cloths/TX/TX9.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/One/Cloths/TX/TX9.jpg -------------------------------------------------------------------------------- /Pods/Headers/Private/AFNetworking/AFHTTPSessionManager.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFHTTPSessionManager.h -------------------------------------------------------------------------------- /Pods/Headers/Private/AFNetworking/AFImageDownloader.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/AFImageDownloader.h -------------------------------------------------------------------------------- /Pods/Headers/Private/AFNetworking/AFURLSessionManager.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFURLSessionManager.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/UIScrollView+MJExtension.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/UIScrollView+MJExtension.h -------------------------------------------------------------------------------- /Pods/Headers/Private/Masonry/View+MASShorthandAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/View+MASShorthandAdditions.h -------------------------------------------------------------------------------- /Pods/Headers/Private/Masonry/ViewController+MASAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/ViewController+MASAdditions.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AFNetworking/AFHTTPSessionManager.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFHTTPSessionManager.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AFNetworking/AFImageDownloader.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/AFImageDownloader.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AFNetworking/AFURLSessionManager.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFURLSessionManager.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/MJRefreshGifHeader.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Header/MJRefreshGifHeader.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/UIScrollView+MJExtension.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/UIScrollView+MJExtension.h -------------------------------------------------------------------------------- /Pods/Headers/Public/Masonry/View+MASShorthandAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/View+MASShorthandAdditions.h -------------------------------------------------------------------------------- /Pods/Headers/Public/Masonry/ViewController+MASAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/ViewController+MASAdditions.h -------------------------------------------------------------------------------- /Image/ButtonIcon/Control.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/ButtonIcon/Control.png -------------------------------------------------------------------------------- /Image/Normal/TopBackground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/Normal/TopBackground.png -------------------------------------------------------------------------------- /Image/One/Cloths/CS/CS10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/One/Cloths/CS/CS10.jpg -------------------------------------------------------------------------------- /Image/One/Cloths/TX/TX10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/One/Cloths/TX/TX10.jpg -------------------------------------------------------------------------------- /Image/One/WeatherRefresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/One/WeatherRefresh.png -------------------------------------------------------------------------------- /Pods/Headers/Private/AFNetworking/UIKit+AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/UIKit+AFNetworking.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/MJRefreshGifHeader.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Header/MJRefreshGifHeader.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/MJRefreshStateHeader.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Header/MJRefreshStateHeader.h -------------------------------------------------------------------------------- /Pods/Headers/Private/Masonry/NSArray+MASShorthandAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/NSArray+MASShorthandAdditions.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AFNetworking/UIImage+AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/UIImage+AFNetworking.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AFNetworking/UIKit+AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/UIKit+AFNetworking.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/MJRefreshStateHeader.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Header/MJRefreshStateHeader.h -------------------------------------------------------------------------------- /Pods/Headers/Public/Masonry/NSArray+MASShorthandAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/NSArray+MASShorthandAdditions.h -------------------------------------------------------------------------------- /Pods/Target Support Files/Masonry/Masonry-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | -------------------------------------------------------------------------------- /Image/Five/HeaderImage/Head1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/Five/HeaderImage/Head1.png -------------------------------------------------------------------------------- /Image/Five/HeaderImage/Head2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/Five/HeaderImage/Head2.png -------------------------------------------------------------------------------- /Image/Five/HeaderImage/Head3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/Five/HeaderImage/Head3.png -------------------------------------------------------------------------------- /Image/Five/HeaderImage/Head4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/Five/HeaderImage/Head4.png -------------------------------------------------------------------------------- /Image/Five/HeaderImage/Head5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/Five/HeaderImage/Head5.png -------------------------------------------------------------------------------- /Image/Five/HeaderImage/Head6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/Five/HeaderImage/Head6.png -------------------------------------------------------------------------------- /Image/Five/HeaderImage/Head7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/Five/HeaderImage/Head7.png -------------------------------------------------------------------------------- /Image/Five/HeaderImage/Head8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/Five/HeaderImage/Head8.png -------------------------------------------------------------------------------- /Image/Five/HeaderImage/Head9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/Five/HeaderImage/Head9.png -------------------------------------------------------------------------------- /Image/Five/HeaderImage/ImgBG.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/Five/HeaderImage/ImgBG.png -------------------------------------------------------------------------------- /Image/One/Cloths/SJMQ/SJMQ1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/One/Cloths/SJMQ/SJMQ1.jpg -------------------------------------------------------------------------------- /Image/One/Cloths/SJMQ/SJMQ10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/One/Cloths/SJMQ/SJMQ10.jpg -------------------------------------------------------------------------------- /Image/One/Cloths/SJMQ/SJMQ2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/One/Cloths/SJMQ/SJMQ2.jpg -------------------------------------------------------------------------------- /Image/One/Cloths/SJMQ/SJMQ3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/One/Cloths/SJMQ/SJMQ3.jpg -------------------------------------------------------------------------------- /Image/One/Cloths/SJMQ/SJMQ4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/One/Cloths/SJMQ/SJMQ4.jpg -------------------------------------------------------------------------------- /Image/One/Cloths/SJMQ/SJMQ5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/One/Cloths/SJMQ/SJMQ5.jpg -------------------------------------------------------------------------------- /Image/One/Cloths/SJMQ/SJMQ6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/One/Cloths/SJMQ/SJMQ6.jpg -------------------------------------------------------------------------------- /Image/One/Cloths/SJMQ/SJMQ7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/One/Cloths/SJMQ/SJMQ7.jpg -------------------------------------------------------------------------------- /Image/One/Cloths/SJMQ/SJMQ8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/One/Cloths/SJMQ/SJMQ8.jpg -------------------------------------------------------------------------------- /Image/One/Cloths/SJMQ/SJMQ9.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/One/Cloths/SJMQ/SJMQ9.jpg -------------------------------------------------------------------------------- /Pods/Headers/Private/AFNetworking/AFURLRequestSerialization.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFURLRequestSerialization.h -------------------------------------------------------------------------------- /Pods/Headers/Private/AFNetworking/UIButton+AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/UIButton+AFNetworking.h -------------------------------------------------------------------------------- /Pods/Headers/Private/AFNetworking/UIImage+AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/UIImage+AFNetworking.h -------------------------------------------------------------------------------- /Pods/Headers/Private/AFNetworking/UIWebView+AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/UIWebView+AFNetworking.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/MJRefreshNormalHeader.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Header/MJRefreshNormalHeader.h -------------------------------------------------------------------------------- /Pods/Headers/Private/RESideMenu/UIViewController+RESideMenu.h: -------------------------------------------------------------------------------- 1 | ../../../RESideMenu/RESideMenu/UIViewController+RESideMenu.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AFNetworking/AFURLRequestSerialization.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFURLRequestSerialization.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AFNetworking/UIButton+AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/UIButton+AFNetworking.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AFNetworking/UIWebView+AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/UIWebView+AFNetworking.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/MJRefreshNormalHeader.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Header/MJRefreshNormalHeader.h -------------------------------------------------------------------------------- /Pods/Headers/Public/RESideMenu/UIViewController+RESideMenu.h: -------------------------------------------------------------------------------- 1 | ../../../RESideMenu/RESideMenu/UIViewController+RESideMenu.h -------------------------------------------------------------------------------- /Pods/Target Support Files/MJRefresh/MJRefresh-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | -------------------------------------------------------------------------------- /Pods/Target Support Files/RESideMenu/RESideMenu-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | -------------------------------------------------------------------------------- /Image/Five/HeaderImage/Head10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/Five/HeaderImage/Head10.png -------------------------------------------------------------------------------- /Image/Five/HeaderImage/Head11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/Five/HeaderImage/Head11.png -------------------------------------------------------------------------------- /Image/Five/HeaderImage/Head12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/Five/HeaderImage/Head12.png -------------------------------------------------------------------------------- /Image/Five/HeaderImage/Head13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/Five/HeaderImage/Head13.png -------------------------------------------------------------------------------- /Image/Five/HeaderImage/Head14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/Five/HeaderImage/Head14.png -------------------------------------------------------------------------------- /Image/Five/HeaderImage/Head15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/Five/HeaderImage/Head15.png -------------------------------------------------------------------------------- /Image/Five/HeaderImage/Head16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Image/Five/HeaderImage/Head16.png -------------------------------------------------------------------------------- /Pods/Headers/Private/AFNetworking/AFAutoPurgingImageCache.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/AFAutoPurgingImageCache.h -------------------------------------------------------------------------------- /Pods/Headers/Private/AFNetworking/AFURLResponseSerialization.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFURLResponseSerialization.h -------------------------------------------------------------------------------- /Pods/Headers/Private/AFNetworking/UIImageView+AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/UIImageView+AFNetworking.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/MJRefreshAutoGifFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Footer/Auto/MJRefreshAutoGifFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/MJRefreshBackGifFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Footer/Back/MJRefreshBackGifFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AFNetworking/AFAutoPurgingImageCache.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/AFAutoPurgingImageCache.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AFNetworking/AFNetworkReachabilityManager.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFNetworkReachabilityManager.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AFNetworking/AFURLResponseSerialization.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFURLResponseSerialization.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AFNetworking/UIImageView+AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/UIImageView+AFNetworking.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/MJRefreshAutoGifFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Footer/Auto/MJRefreshAutoGifFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/MJRefreshBackGifFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Footer/Back/MJRefreshBackGifFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Private/AFNetworking/AFNetworkReachabilityManager.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFNetworkReachabilityManager.h -------------------------------------------------------------------------------- /Pods/Headers/Private/AFNetworking/UIProgressView+AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/UIProgressView+AFNetworking.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/MJRefreshAutoNormalFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Footer/Auto/MJRefreshAutoNormalFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/MJRefreshAutoStateFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Footer/Auto/MJRefreshAutoStateFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/MJRefreshBackNormalFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Footer/Back/MJRefreshBackNormalFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/MJRefreshBackStateFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Footer/Back/MJRefreshBackStateFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Private/Masonry/NSLayoutConstraint+MASDebugAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/NSLayoutConstraint+MASDebugAdditions.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AFNetworking/UIProgressView+AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/UIProgressView+AFNetworking.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/MJRefreshAutoNormalFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Footer/Auto/MJRefreshAutoNormalFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/MJRefreshAutoStateFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Footer/Auto/MJRefreshAutoStateFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/MJRefreshBackNormalFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Footer/Back/MJRefreshBackNormalFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/MJRefreshBackStateFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Footer/Back/MJRefreshBackStateFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Public/Masonry/NSLayoutConstraint+MASDebugAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/NSLayoutConstraint+MASDebugAdditions.h -------------------------------------------------------------------------------- /podfile: -------------------------------------------------------------------------------- 1 | pod 'AFNetworking', '~> 3.0.4' 2 | pod 'Masonry', '~> 0.6.4' 3 | pod 'MJRefresh', '~> 3.1.0' 4 | pod 'RESideMenu', '~> 4.0.7' -------------------------------------------------------------------------------- /Pods/Headers/Private/AFNetworking/UIRefreshControl+AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/UIRefreshControl+AFNetworking.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AFNetworking/UIRefreshControl+AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/UIRefreshControl+AFNetworking.h -------------------------------------------------------------------------------- /Pods/Headers/Private/AFNetworking/AFNetworkActivityIndicatorManager.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/AFNetworkActivityIndicatorManager.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AFNetworking/AFNetworkActivityIndicatorManager.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/AFNetworkActivityIndicatorManager.h -------------------------------------------------------------------------------- /Pods/Headers/Private/AFNetworking/UIActivityIndicatorView+AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/UIActivityIndicatorView+AFNetworking.h -------------------------------------------------------------------------------- /Pods/Headers/Public/AFNetworking/UIActivityIndicatorView+AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/UIActivityIndicatorView+AFNetworking.h -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/MJRefresh.bundle/arrow@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/Pods/MJRefresh/MJRefresh/MJRefresh.bundle/arrow@2x.png -------------------------------------------------------------------------------- /ClothingMaster/Assets.xcassets/AppIcon.appiconset/ic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/ClothingMaster/Assets.xcassets/AppIcon.appiconset/ic.png -------------------------------------------------------------------------------- /ClothingMaster/Assets.xcassets/AppIcon.appiconset/ic-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/2015lym/ClothingMaster/HEAD/ClothingMaster/Assets.xcassets/AppIcon.appiconset/ic-1.png -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods/Pods-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods : NSObject 3 | @end 4 | @implementation PodsDummy_Pods 5 | @end 6 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Masonry/Masonry-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Masonry : NSObject 3 | @end 4 | @implementation PodsDummy_Masonry 5 | @end 6 | -------------------------------------------------------------------------------- /Pods/Target Support Files/MJRefresh/MJRefresh-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_MJRefresh : NSObject 3 | @end 4 | @implementation PodsDummy_MJRefresh 5 | @end 6 | -------------------------------------------------------------------------------- /Pods/Target Support Files/RESideMenu/RESideMenu-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_RESideMenu : NSObject 3 | @end 4 | @implementation PodsDummy_RESideMenu 5 | @end 6 | -------------------------------------------------------------------------------- /Pods/Target Support Files/AFNetworking/AFNetworking-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_AFNetworking : NSObject 3 | @end 4 | @implementation PodsDummy_AFNetworking 5 | @end 6 | -------------------------------------------------------------------------------- /ClothingMaster.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Entity/Like.m: -------------------------------------------------------------------------------- 1 | // 2 | // Like.m 3 | // 4 | // 5 | // Created by Lym on 16/4/17. 6 | // 7 | // 8 | 9 | #import "Like.h" 10 | 11 | @implementation Like 12 | 13 | // Insert code here to add functionality to your managed object subclass 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /Entity/Weather.m: -------------------------------------------------------------------------------- 1 | // 2 | // Weather.m 3 | // 4 | // 5 | // Created by Lym on 16/4/12. 6 | // 7 | // 8 | 9 | #import "Weather.h" 10 | 11 | @implementation Weather 12 | 13 | // Insert code here to add functionality to your managed object subclass 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /Controller/Two/AdvTestVC.h: -------------------------------------------------------------------------------- 1 | // 2 | // AdvTestVC.h 3 | // ClothingMaster 4 | // 5 | // Created by Lym on 16/4/14. 6 | // Copyright © 2016年 Lym. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AdvTestVC : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /Controller/Three/Sup/Segment/SegmentButton.h: -------------------------------------------------------------------------------- 1 | // 2 | // SegmentButton.h 3 | // Segment 4 | // 5 | // Created by MyMac on 15/11/24. 6 | // Copyright © 2015年 MyMac. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface SegmentButton : UIButton 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /ClothingMaster/ViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.h 3 | // ClothingMaster 4 | // 5 | // Created by Lym on 16/4/6. 6 | // Copyright © 2016年 Lym. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ViewController : UIViewController 12 | 13 | 14 | @end 15 | 16 | -------------------------------------------------------------------------------- /Controller/Four/BrandViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // BrandViewController.h 3 | // ClothingMaster 4 | // 5 | // Created by Lym on 16/4/6. 6 | // Copyright © 2016年 Lym. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface BrandViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /Controller/Five/PrivateViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // PrivateViewController.h 3 | // ClothingMaster 4 | // 5 | // Created by Lym on 16/4/6. 6 | // Copyright © 2016年 Lym. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface PrivateViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /Controller/One/NewDayViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // NewDayViewController.h 3 | // ClothingMaster 4 | // 5 | // Created by Lym on 16/4/6. 6 | // Copyright © 2016年 Lym. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface NewDayViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /Controller/Three/DesignViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // DesignViewController.h 3 | // ClothingMaster 4 | // 5 | // Created by Lym on 16/4/6. 6 | // Copyright © 2016年 Lym. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface DesignViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /Controller/Two/AdviseViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // AdviseViewController.h 3 | // ClothingMaster 4 | // 5 | // Created by Lym on 16/4/6. 6 | // Copyright © 2016年 Lym. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AdviseViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /ClothingMaster.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Pods/Masonry/Masonry/MASLayoutConstraint.m: -------------------------------------------------------------------------------- 1 | // 2 | // MASLayoutConstraint.m 3 | // Masonry 4 | // 5 | // Created by Jonas Budelmann on 3/08/13. 6 | // Copyright (c) 2013 Jonas Budelmann. All rights reserved. 7 | // 8 | 9 | #import "MASLayoutConstraint.h" 10 | 11 | @implementation MASLayoutConstraint 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /Controller/Five/FiveAnotherController/PrivateOneController.h: -------------------------------------------------------------------------------- 1 | // 2 | // PrivateOneController.h 3 | // ClothingMaster 4 | // 5 | // Created by Lym on 16/4/12. 6 | // Copyright © 2016年 Lym. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface PrivateOneController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Base/MJRefreshBackFooter.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshBackFooter.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshFooter.h" 10 | 11 | @interface MJRefreshBackFooter : MJRefreshFooter 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /Controller/Control/ControlVC.h: -------------------------------------------------------------------------------- 1 | // 2 | // ControlVC.h 3 | // ClothingMaster 4 | // 5 | // Created by Lym on 16/4/17. 6 | // Copyright © 2016年 Lym. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ControlVC : UIViewController 12 | @property (nonatomic, strong) UITableView *tableView; 13 | @end 14 | -------------------------------------------------------------------------------- /ClothingMaster/ClothingMaster.xcdatamodeld/.xccurrentversion: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | _XCCurrentVersionName 6 | ClothingMaster.xcdatamodel 7 | 8 | 9 | -------------------------------------------------------------------------------- /Controller/Five/FiveCell/MyToolsCell.h: -------------------------------------------------------------------------------- 1 | // 2 | // MyToolsCell.h 3 | // ClothingMaster 4 | // 5 | // Created by Lym on 16/4/12. 6 | // Copyright © 2016年 Lym. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface MyToolsCell : UICollectionViewCell 12 | 13 | @property (nonatomic, strong) UIImageView * imgBtn; 14 | @end 15 | -------------------------------------------------------------------------------- /Pods/Target Support Files/AFNetworking/AFNetworking-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | #ifndef TARGET_OS_IOS 6 | #define TARGET_OS_IOS TARGET_OS_IPHONE 7 | #endif 8 | 9 | #ifndef TARGET_OS_WATCH 10 | #define TARGET_OS_WATCH 0 11 | #endif 12 | 13 | #ifndef TARGET_OS_TV 14 | #define TARGET_OS_TV 0 15 | #endif 16 | -------------------------------------------------------------------------------- /CoreData/CoreDataBase+Query.h: -------------------------------------------------------------------------------- 1 | // 2 | // CoreDataBase+Query.h 3 | // ClothingMaster 4 | // 5 | // Created by Lym on 16/4/6. 6 | // Copyright © 2016年 Lym. All rights reserved. 7 | // 8 | 9 | #import "CoreDataBase.h" 10 | 11 | @interface CoreDataBase (Query) 12 | 13 | -(NSMutableArray*)queryEntityName:(NSString*)name Where:(NSString*)where; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /Controller/Control/ControlTabbarController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ControlTabbarController.h 3 | // ClothingMaster 4 | // 5 | // Created by Lym on 16/4/17. 6 | // Copyright © 2016年 Lym. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ControlTabbarController : UITabBarController 12 | @property (nonatomic, assign) int selectVCIndex; 13 | @end 14 | -------------------------------------------------------------------------------- /Controller/Two/TestInfoVC.h: -------------------------------------------------------------------------------- 1 | // 2 | // TestInfoVC.h 3 | // ClothingMaster 4 | // 5 | // Created by Lym on 16/4/18. 6 | // Copyright © 2016年 Lym. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface TestInfoVC : UIViewController 12 | @property(nonatomic,copy,readonly)NSString *TestTitle; 13 | -(void)setInfo:(NSString *)Info; 14 | @end 15 | -------------------------------------------------------------------------------- /Controller/Three/DesignInfoVC.h: -------------------------------------------------------------------------------- 1 | // 2 | // DesignInfoVC.h 3 | // ClothingMaster 4 | // 5 | // Created by Lym on 16/4/14. 6 | // Copyright © 2016年 Lym. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface DesignInfoVC : UIViewController 12 | @property(nonatomic,copy,readonly)NSString *DesignTitle; 13 | -(void)setInfo:(NSString *)Info; 14 | @end 15 | -------------------------------------------------------------------------------- /ClothingMaster/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // ClothingMaster 4 | // 5 | // Created by Lym on 16/4/6. 6 | // Copyright © 2016年 Lym. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "RESideMenu.h" 11 | 12 | @interface AppDelegate : UIResponder 13 | 14 | @property (strong, nonatomic) UIWindow *window; 15 | 16 | 17 | 18 | @end 19 | 20 | -------------------------------------------------------------------------------- /ClothingMaster/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // ClothingMaster 4 | // 5 | // Created by Lym on 16/4/6. 6 | // Copyright © 2016年 Lym. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "AppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) { 13 | @autoreleasepool { 14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Entity/Like.h: -------------------------------------------------------------------------------- 1 | // 2 | // Like.h 3 | // 4 | // 5 | // Created by Lym on 16/4/17. 6 | // 7 | // 8 | 9 | #import 10 | #import 11 | 12 | NS_ASSUME_NONNULL_BEGIN 13 | 14 | @interface Like : NSManagedObject 15 | 16 | // Insert code here to declare functionality of your managed object subclass 17 | 18 | @end 19 | 20 | NS_ASSUME_NONNULL_END 21 | 22 | #import "Like+CoreDataProperties.h" 23 | -------------------------------------------------------------------------------- /Pods/Target Support Files/MJRefresh/MJRefresh.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/MJRefresh" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking" "${PODS_ROOT}/Headers/Public/MJRefresh" "${PODS_ROOT}/Headers/Public/Masonry" "${PODS_ROOT}/Headers/Public/RESideMenu" 3 | PODS_ROOT = ${SRCROOT} 4 | SKIP_INSTALL = YES -------------------------------------------------------------------------------- /Entity/Like+CoreDataProperties.m: -------------------------------------------------------------------------------- 1 | // 2 | // Like+CoreDataProperties.m 3 | // 4 | // 5 | // Created by Lym on 16/4/17. 6 | // 7 | // 8 | // Choose "Create NSManagedObject Subclass…" from the Core Data editor menu 9 | // to delete and recreate this implementation file for your updated model. 10 | // 11 | 12 | #import "Like+CoreDataProperties.h" 13 | 14 | @implementation Like (CoreDataProperties) 15 | 16 | @dynamic name; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /Controller/Two/Sup/TestData.h: -------------------------------------------------------------------------------- 1 | // 2 | // TestData.h 3 | // ClothingMaster 4 | // 5 | // Created by Lym on 16/4/18. 6 | // Copyright © 2016年 Lym. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface TestData : NSObject 12 | @property(nonatomic,strong,readonly)NSArray *TestListArray; 13 | @property(nonatomic,strong,readonly)NSArray *TestDataArray; 14 | -(NSString *)getData:(NSString *)DesignName; 15 | @end 16 | -------------------------------------------------------------------------------- /Entity/Weather.h: -------------------------------------------------------------------------------- 1 | // 2 | // Weather.h 3 | // 4 | // 5 | // Created by Lym on 16/4/12. 6 | // 7 | // 8 | 9 | #import 10 | #import 11 | 12 | NS_ASSUME_NONNULL_BEGIN 13 | 14 | @interface Weather : NSManagedObject 15 | 16 | // Insert code here to declare functionality of your managed object subclass 17 | 18 | @end 19 | 20 | NS_ASSUME_NONNULL_END 21 | 22 | #import "Weather+CoreDataProperties.h" 23 | -------------------------------------------------------------------------------- /Pods/Masonry/Masonry/NSLayoutConstraint+MASDebugAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSLayoutConstraint+MASDebugAdditions.h 3 | // Masonry 4 | // 5 | // Created by Jonas Budelmann on 3/08/13. 6 | // Copyright (c) 2013 Jonas Budelmann. All rights reserved. 7 | // 8 | 9 | #import "MASUtilities.h" 10 | 11 | /** 12 | * makes debug and log output of NSLayoutConstraints more readable 13 | */ 14 | @interface NSLayoutConstraint (MASDebugAdditions) 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Controller/Three/Sup/DesignData.h: -------------------------------------------------------------------------------- 1 | // 2 | // DesignData.h 3 | // ClothingMaster 4 | // 5 | // Created by Lym on 16/4/14. 6 | // Copyright © 2016年 Lym. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface DesignData : NSObject 12 | @property(nonatomic,strong,readonly)NSArray *DesignListArray; 13 | @property(nonatomic,strong,readonly)NSArray *DesignDataArray; 14 | -(NSString *)getData:(NSString *)DesignName; 15 | @end 16 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Custom/Footer/Auto/MJRefreshAutoNormalFooter.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshAutoNormalFooter.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshAutoStateFooter.h" 10 | 11 | @interface MJRefreshAutoNormalFooter : MJRefreshAutoStateFooter 12 | /** 菊花的样式 */ 13 | @property (assign, nonatomic) UIActivityIndicatorViewStyle activityIndicatorViewStyle; 14 | @end 15 | -------------------------------------------------------------------------------- /Pods/Target Support Files/RESideMenu/RESideMenu.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/RESideMenu" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking" "${PODS_ROOT}/Headers/Public/MJRefresh" "${PODS_ROOT}/Headers/Public/Masonry" "${PODS_ROOT}/Headers/Public/RESideMenu" 3 | OTHER_LDFLAGS = -framework "QuartzCore" 4 | PODS_ROOT = ${SRCROOT} 5 | SKIP_INSTALL = YES -------------------------------------------------------------------------------- /Pods/Target Support Files/Masonry/Masonry.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/Masonry" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking" "${PODS_ROOT}/Headers/Public/MJRefresh" "${PODS_ROOT}/Headers/Public/Masonry" "${PODS_ROOT}/Headers/Public/RESideMenu" 3 | OTHER_LDFLAGS = -framework "Foundation" -framework "UIKit" 4 | PODS_ROOT = ${SRCROOT} 5 | SKIP_INSTALL = YES -------------------------------------------------------------------------------- /Controller/One/WebViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // WebViewController.h 3 | // ClothingMaster 4 | // 5 | // Created by Lym on 16/4/19. 6 | // Copyright © 2016年 Lym. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface WebViewController : UIViewController 12 | @property(nonatomic,strong,readonly)NSArray *WebArray; 13 | @property(nonatomic,strong,readonly)NSArray *WebDataArray; 14 | @property(nonatomic,copy)NSString *WebData; 15 | -(NSString *)getWebURL:(NSString *)WebName; 16 | @end 17 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Custom/Header/MJRefreshNormalHeader.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshNormalHeader.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshStateHeader.h" 10 | 11 | @interface MJRefreshNormalHeader : MJRefreshStateHeader 12 | @property (weak, nonatomic, readonly) UIImageView *arrowView; 13 | /** 菊花的样式 */ 14 | @property (assign, nonatomic) UIActivityIndicatorViewStyle activityIndicatorViewStyle; 15 | @end 16 | -------------------------------------------------------------------------------- /Entity/Like+CoreDataProperties.h: -------------------------------------------------------------------------------- 1 | // 2 | // Like+CoreDataProperties.h 3 | // 4 | // 5 | // Created by Lym on 16/4/17. 6 | // 7 | // 8 | // Choose "Create NSManagedObject Subclass…" from the Core Data editor menu 9 | // to delete and recreate this implementation file for your updated model. 10 | // 11 | 12 | #import "Like.h" 13 | 14 | NS_ASSUME_NONNULL_BEGIN 15 | 16 | @interface Like (CoreDataProperties) 17 | 18 | @property (nullable, nonatomic, retain) NSString *name; 19 | 20 | @end 21 | 22 | NS_ASSUME_NONNULL_END 23 | -------------------------------------------------------------------------------- /Entity/Weather+CoreDataProperties.m: -------------------------------------------------------------------------------- 1 | // 2 | // Weather+CoreDataProperties.m 3 | // 4 | // 5 | // Created by Lym on 16/4/12. 6 | // 7 | // 8 | // Choose "Create NSManagedObject Subclass…" from the Core Data editor menu 9 | // to delete and recreate this implementation file for your updated model. 10 | // 11 | 12 | #import "Weather+CoreDataProperties.h" 13 | 14 | @implementation Weather (CoreDataProperties) 15 | 16 | @dynamic date; 17 | @dynamic lasttime; 18 | @dynamic weatheradv; 19 | @dynamic weatherdata; 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Custom/Footer/Back/MJRefreshBackNormalFooter.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshBackNormalFooter.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshBackStateFooter.h" 10 | 11 | @interface MJRefreshBackNormalFooter : MJRefreshBackStateFooter 12 | @property (weak, nonatomic, readonly) UIImageView *arrowView; 13 | /** 菊花的样式 */ 14 | @property (assign, nonatomic) UIActivityIndicatorViewStyle activityIndicatorViewStyle; 15 | @end 16 | -------------------------------------------------------------------------------- /Controller/Five/FiveCell/MyToolsCell.m: -------------------------------------------------------------------------------- 1 | // 2 | // MyToolsCell.m 3 | // ClothingMaster 4 | // 5 | // Created by Lym on 16/4/12. 6 | // Copyright © 2016年 Lym. All rights reserved. 7 | // 8 | 9 | #import "MyToolsCell.h" 10 | 11 | @implementation MyToolsCell 12 | - (id) initWithFrame:(CGRect)frame{ 13 | 14 | if (self = [super initWithFrame:frame]) { 15 | self.imgBtn = [[UIImageView alloc]initWithFrame:CGRectMake(0, 0, frame.size.width, frame.size.height)]; 16 | [self addSubview:self.imgBtn]; 17 | } 18 | return self; 19 | } 20 | @end 21 | -------------------------------------------------------------------------------- /Controller/Three/Sup/Segment/SegmentButton.m: -------------------------------------------------------------------------------- 1 | // 2 | // SegmentButton.m 3 | // Segment 4 | // 5 | // Created by MyMac on 15/11/24. 6 | // Copyright © 2015年 MyMac. All rights reserved. 7 | // 8 | 9 | #import "SegmentButton.h" 10 | 11 | @implementation SegmentButton 12 | 13 | - (instancetype)initWithFrame:(CGRect)frame 14 | { 15 | self = [super initWithFrame:frame]; 16 | if (self) { 17 | 18 | } 19 | return self; 20 | } 21 | 22 | - (void)layoutSubviews{ 23 | [super layoutSubviews]; 24 | 25 | 26 | 27 | } 28 | 29 | @end 30 | -------------------------------------------------------------------------------- /Pods/Target Support Files/AFNetworking/AFNetworking.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/AFNetworking" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking" "${PODS_ROOT}/Headers/Public/MJRefresh" "${PODS_ROOT}/Headers/Public/Masonry" "${PODS_ROOT}/Headers/Public/RESideMenu" 3 | OTHER_LDFLAGS = -framework "CoreGraphics" -framework "MobileCoreServices" -framework "Security" -framework "SystemConfiguration" 4 | PODS_ROOT = ${SRCROOT} 5 | SKIP_INSTALL = YES -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/MJRefresh.h: -------------------------------------------------------------------------------- 1 | // 代码地址: https://github.com/CoderMJLee/MJRefresh 2 | // 代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000 3 | 4 | #import "UIScrollView+MJRefresh.h" 5 | #import "UIScrollView+MJExtension.h" 6 | #import "UIView+MJExtension.h" 7 | 8 | #import "MJRefreshNormalHeader.h" 9 | #import "MJRefreshGifHeader.h" 10 | 11 | #import "MJRefreshBackNormalFooter.h" 12 | #import "MJRefreshBackGifFooter.h" 13 | #import "MJRefreshAutoNormalFooter.h" 14 | #import "MJRefreshAutoGifFooter.h" -------------------------------------------------------------------------------- /Controller/Five/FiveCell/FiveTableViewCell.h: -------------------------------------------------------------------------------- 1 | // 2 | // FiveTableViewCell.h 3 | // ClothingMaster 4 | // 5 | // Created by Lym on 16/4/12. 6 | // Copyright © 2016年 Lym. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FiveTableViewCell : UITableViewCell 12 | 13 | @property (nonatomic,strong) UIImageView * imgViewBored; 14 | @property (nonatomic,strong) UILabel * label; 15 | 16 | - (id)initWithMyOfReuseIdentifier:(NSString *)reuseIdentifier andSection:(NSInteger)section; 17 | 18 | - (id)initWithCollectionOfReuseIdentifier:(NSString *)reuseIdentifier; 19 | @end 20 | -------------------------------------------------------------------------------- /Controller/Four/Sup/LGCategoryView.h: -------------------------------------------------------------------------------- 1 | // 2 | // LGCategoryView.h 3 | // titleScroll 4 | // 5 | // Created by gujianming on 7/14/15. 6 | // Copyright (c) 2015 jamy. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class LGCategoryView; 12 | @protocol LGCategoryViewDelegate 13 | @optional 14 | - (void)LGCategoryView:(LGCategoryView *)categoryView didSelectedItem:(int)index; 15 | 16 | @end 17 | 18 | @interface LGCategoryView : UIView 19 | @property (nonatomic, strong) NSArray *titles; 20 | @property (nonatomic,assign) id delegate; 21 | @end 22 | -------------------------------------------------------------------------------- /ClothingMaster/ViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.m 3 | // ClothingMaster 4 | // 5 | // Created by Lym on 16/4/6. 6 | // Copyright © 2016年 Lym. All rights reserved. 7 | // 8 | 9 | #import "ViewController.h" 10 | 11 | @interface ViewController () 12 | 13 | @end 14 | 15 | @implementation ViewController 16 | 17 | - (void)viewDidLoad { 18 | [super viewDidLoad]; 19 | // Do any additional setup after loading the view, typically from a nib. 20 | } 21 | 22 | - (void)didReceiveMemoryWarning { 23 | [super didReceiveMemoryWarning]; 24 | // Dispose of any resources that can be recreated. 25 | } 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Custom/Footer/Back/MJRefreshBackStateFooter.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshBackStateFooter.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/6/13. 6 | // Copyright © 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshBackFooter.h" 10 | 11 | @interface MJRefreshBackStateFooter : MJRefreshBackFooter 12 | /** 显示刷新状态的label */ 13 | @property (weak, nonatomic, readonly) UILabel *stateLabel; 14 | /** 设置state状态下的文字 */ 15 | - (void)setTitle:(NSString *)title forState:(MJRefreshState)state; 16 | 17 | /** 获取state状态下的title */ 18 | - (NSString *)titleForState:(MJRefreshState)state; 19 | @end 20 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Custom/Header/MJRefreshGifHeader.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshGifHeader.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshStateHeader.h" 10 | 11 | @interface MJRefreshGifHeader : MJRefreshStateHeader 12 | @property (weak, nonatomic, readonly) UIImageView *gifView; 13 | 14 | /** 设置state状态下的动画图片images 动画持续时间duration*/ 15 | - (void)setImages:(NSArray *)images duration:(NSTimeInterval)duration forState:(MJRefreshState)state; 16 | - (void)setImages:(NSArray *)images forState:(MJRefreshState)state; 17 | @end 18 | -------------------------------------------------------------------------------- /Pods/Masonry/Masonry/MASLayoutConstraint.h: -------------------------------------------------------------------------------- 1 | // 2 | // MASLayoutConstraint.h 3 | // Masonry 4 | // 5 | // Created by Jonas Budelmann on 3/08/13. 6 | // Copyright (c) 2013 Jonas Budelmann. All rights reserved. 7 | // 8 | 9 | #import "MASUtilities.h" 10 | 11 | /** 12 | * When you are debugging or printing the constraints attached to a view this subclass 13 | * makes it easier to identify which constraints have been created via Masonry 14 | */ 15 | @interface MASLayoutConstraint : NSLayoutConstraint 16 | 17 | /** 18 | * a key to associate with this constraint 19 | */ 20 | @property (nonatomic, strong) id mas_key; 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /Pods/Masonry/Masonry/MASCompositeConstraint.h: -------------------------------------------------------------------------------- 1 | // 2 | // MASCompositeConstraint.h 3 | // Masonry 4 | // 5 | // Created by Jonas Budelmann on 21/07/13. 6 | // Copyright (c) 2013 cloudling. All rights reserved. 7 | // 8 | 9 | #import "MASConstraint.h" 10 | #import "MASUtilities.h" 11 | 12 | /** 13 | * A group of MASConstraint objects 14 | */ 15 | @interface MASCompositeConstraint : MASConstraint 16 | 17 | /** 18 | * Creates a composite with a predefined array of children 19 | * 20 | * @param children child MASConstraints 21 | * 22 | * @return a composite constraint 23 | */ 24 | - (id)initWithChildren:(NSArray *)children; 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Custom/Footer/Auto/MJRefreshAutoGifFooter.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshAutoGifFooter.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshAutoStateFooter.h" 10 | 11 | @interface MJRefreshAutoGifFooter : MJRefreshAutoStateFooter 12 | @property (weak, nonatomic, readonly) UIImageView *gifView; 13 | 14 | /** 设置state状态下的动画图片images 动画持续时间duration*/ 15 | - (void)setImages:(NSArray *)images duration:(NSTimeInterval)duration forState:(MJRefreshState)state; 16 | - (void)setImages:(NSArray *)images forState:(MJRefreshState)state; 17 | @end 18 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Custom/Footer/Back/MJRefreshBackGifFooter.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshBackGifFooter.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshBackStateFooter.h" 10 | 11 | @interface MJRefreshBackGifFooter : MJRefreshBackStateFooter 12 | @property (weak, nonatomic, readonly) UIImageView *gifView; 13 | 14 | /** 设置state状态下的动画图片images 动画持续时间duration*/ 15 | - (void)setImages:(NSArray *)images duration:(NSTimeInterval)duration forState:(MJRefreshState)state; 16 | - (void)setImages:(NSArray *)images forState:(MJRefreshState)state; 17 | @end 18 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 最新更新:2016.10.14 Lym 2 | --- 3 | 1.优化程序结构,增加App图标 4 | 5 | 2.下个版本将大改 6 | 7 | 更新:2016.4.26 Lym 8 | --- 9 | 1.优化主界面,调整字体大小 10 | 11 | 2.现在主界面的Cell可以点击了 12 | 13 | 更新:2016.4.21 Lym 14 | --- 15 | 1.优化主界面,调整字体大小 16 | 17 | 2.现在主界面的Cell可以点击了 18 | 19 | 更新:2016.4.14 Lym 20 | --- 21 | 1.新增更换头像功能 22 | 23 | 2.新增清理缓存功能 24 | 25 | 3.优化了部分界面 26 | 27 | 创建于:2016.4.12 Lym 28 | --- 29 | 该项目分为五大功能模块 30 | 31 | 1.今日推荐,会有推送信息和天气预报,并会根据天气推荐穿衣 32 | 33 | 2.穿衣推荐,其中分为体型推荐、场合推荐、情节推荐和性格推荐 34 | 35 | 3.搭配技巧,针对用户需要不同的效果推荐服装 36 | 37 | 4.知名品牌,列举知名品牌信息 38 | 39 | 5.个人设置,个人信息、头像、收藏等 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Custom/Footer/Auto/MJRefreshAutoStateFooter.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshAutoStateFooter.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/6/13. 6 | // Copyright © 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshAutoFooter.h" 10 | 11 | @interface MJRefreshAutoStateFooter : MJRefreshAutoFooter 12 | /** 显示刷新状态的label */ 13 | @property (weak, nonatomic, readonly) UILabel *stateLabel; 14 | 15 | /** 设置state状态下的文字 */ 16 | - (void)setTitle:(NSString *)title forState:(MJRefreshState)state; 17 | 18 | /** 隐藏刷新状态的文字 */ 19 | @property (assign, nonatomic, getter=isRefreshingTitleHidden) BOOL refreshingTitleHidden; 20 | @end 21 | -------------------------------------------------------------------------------- /CoreData/CoreDataBase.h: -------------------------------------------------------------------------------- 1 | // 2 | // CoreDataBase.h 3 | // ClothingMaster 4 | // 5 | // Created by Lym on 16/4/6. 6 | // Copyright © 2016年 Lym. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | @interface CoreDataBase : NSObject 12 | 13 | @property (readonly, strong, nonatomic) NSManagedObjectContext *managedObjectContext; 14 | @property (readonly, strong, nonatomic) NSManagedObjectModel *managedObjectModel; 15 | @property (readonly, strong, nonatomic) NSPersistentStoreCoordinator *persistentStoreCoordinator; 16 | 17 | +(id)shardCoreDataBase; 18 | - (void)saveContext; 19 | - (NSURL *)applicationDocumentsDirectory; 20 | @end 21 | -------------------------------------------------------------------------------- /Controller/Three/Sup/Segment/UIView+Extension.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIView+Extension.h 3 | // Segment 4 | // 5 | // Created by MyMac on 15/11/27. 6 | // Copyright © 2015年 MyMac. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UIView (Extension) 12 | 13 | @property (nonatomic,assign) CGFloat x; 14 | 15 | @property (nonatomic,assign) CGFloat y; 16 | 17 | @property (nonatomic,assign) CGFloat width; 18 | 19 | @property (nonatomic,assign) CGFloat height; 20 | 21 | @property (nonatomic,assign) CGFloat centerX; 22 | 23 | @property (nonatomic,assign) CGFloat centerY; 24 | 25 | @property (nonatomic,assign) CGSize size; 26 | 27 | @property (nonatomic,assign) CGPoint origin; 28 | 29 | @end 30 | -------------------------------------------------------------------------------- /Entity/Weather+CoreDataProperties.h: -------------------------------------------------------------------------------- 1 | // 2 | // Weather+CoreDataProperties.h 3 | // 4 | // 5 | // Created by Lym on 16/4/12. 6 | // 7 | // 8 | // Choose "Create NSManagedObject Subclass…" from the Core Data editor menu 9 | // to delete and recreate this implementation file for your updated model. 10 | // 11 | 12 | #import "Weather.h" 13 | 14 | NS_ASSUME_NONNULL_BEGIN 15 | 16 | @interface Weather (CoreDataProperties) 17 | 18 | @property (nullable, nonatomic, retain) NSString *date; 19 | @property (nullable, nonatomic, retain) NSString *lasttime; 20 | @property (nullable, nonatomic, retain) NSString *weatheradv; 21 | @property (nullable, nonatomic, retain) NSString *weatherdata; 22 | 23 | @end 24 | 25 | NS_ASSUME_NONNULL_END 26 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Base/MJRefreshAutoFooter.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshAutoFooter.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshFooter.h" 10 | 11 | @interface MJRefreshAutoFooter : MJRefreshFooter 12 | /** 是否自动刷新(默认为YES) */ 13 | @property (assign, nonatomic, getter=isAutomaticallyRefresh) BOOL automaticallyRefresh; 14 | 15 | /** 当底部控件出现多少时就自动刷新(默认为1.0,也就是底部控件完全出现时,才会自动刷新) */ 16 | @property (assign, nonatomic) CGFloat appearencePercentTriggerAutoRefresh MJRefreshDeprecated("请使用automaticallyChangeAlpha属性"); 17 | 18 | /** 当底部控件出现多少时就自动刷新(默认为1.0,也就是底部控件完全出现时,才会自动刷新) */ 19 | @property (assign, nonatomic) CGFloat triggerAutomaticallyRefreshPercent; 20 | @end 21 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/UIView+MJExtension.h: -------------------------------------------------------------------------------- 1 | // 代码地址: https://github.com/CoderMJLee/MJRefresh 2 | // 代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000 3 | // UIView+Extension.h 4 | // MJRefreshExample 5 | // 6 | // Created by MJ Lee on 14-5-28. 7 | // Copyright (c) 2014年 小码哥. All rights reserved. 8 | // 9 | 10 | #import 11 | 12 | @interface UIView (MJExtension) 13 | @property (assign, nonatomic) CGFloat mj_x; 14 | @property (assign, nonatomic) CGFloat mj_y; 15 | @property (assign, nonatomic) CGFloat mj_w; 16 | @property (assign, nonatomic) CGFloat mj_h; 17 | @property (assign, nonatomic) CGSize mj_size; 18 | @property (assign, nonatomic) CGPoint mj_origin; 19 | @end 20 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Custom/Header/MJRefreshStateHeader.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshStateHeader.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshHeader.h" 10 | 11 | @interface MJRefreshStateHeader : MJRefreshHeader 12 | #pragma mark - 刷新时间相关 13 | /** 利用这个block来决定显示的更新时间文字 */ 14 | @property (copy, nonatomic) NSString *(^lastUpdatedTimeText)(NSDate *lastUpdatedTime); 15 | /** 显示上一次刷新时间的label */ 16 | @property (weak, nonatomic, readonly) UILabel *lastUpdatedTimeLabel; 17 | 18 | #pragma mark - 状态相关 19 | /** 显示刷新状态的label */ 20 | @property (weak, nonatomic, readonly) UILabel *stateLabel; 21 | /** 设置state状态下的文字 */ 22 | - (void)setTitle:(NSString *)title forState:(MJRefreshState)state; 23 | @end 24 | -------------------------------------------------------------------------------- /CoreData/CoreDataBase+Query.m: -------------------------------------------------------------------------------- 1 | // 2 | // CoreDataBase+Query.m 3 | // ClothingMaster 4 | // 5 | // Created by Lym on 16/4/6. 6 | // Copyright © 2016年 Lym. All rights reserved. 7 | // 8 | 9 | #import "CoreDataBase+Query.h" 10 | 11 | @implementation CoreDataBase (Query) 12 | 13 | -(NSMutableArray*)queryEntityName:(NSString*)name Where:(NSString*)where{ 14 | NSFetchRequest *request = [[NSFetchRequest alloc] init]; 15 | NSEntityDescription *entity = [NSEntityDescription entityForName:name inManagedObjectContext:self.managedObjectContext]; 16 | if (where != nil) { 17 | request.predicate = [NSPredicate predicateWithFormat:where]; 18 | } 19 | request.entity = entity; 20 | return [[self.managedObjectContext executeFetchRequest:request error:nil] mutableCopy]; 21 | } 22 | 23 | @end 24 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods/Pods.debug.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking" "${PODS_ROOT}/Headers/Public/MJRefresh" "${PODS_ROOT}/Headers/Public/Masonry" "${PODS_ROOT}/Headers/Public/RESideMenu" 3 | OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/AFNetworking" -isystem "${PODS_ROOT}/Headers/Public/MJRefresh" -isystem "${PODS_ROOT}/Headers/Public/Masonry" -isystem "${PODS_ROOT}/Headers/Public/RESideMenu" 4 | OTHER_LDFLAGS = $(inherited) -ObjC -l"AFNetworking" -l"MJRefresh" -l"Masonry" -l"RESideMenu" -framework "CoreGraphics" -framework "Foundation" -framework "MobileCoreServices" -framework "QuartzCore" -framework "Security" -framework "SystemConfiguration" -framework "UIKit" 5 | PODS_ROOT = ${SRCROOT}/Pods -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods/Pods.release.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking" "${PODS_ROOT}/Headers/Public/MJRefresh" "${PODS_ROOT}/Headers/Public/Masonry" "${PODS_ROOT}/Headers/Public/RESideMenu" 3 | OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/AFNetworking" -isystem "${PODS_ROOT}/Headers/Public/MJRefresh" -isystem "${PODS_ROOT}/Headers/Public/Masonry" -isystem "${PODS_ROOT}/Headers/Public/RESideMenu" 4 | OTHER_LDFLAGS = $(inherited) -ObjC -l"AFNetworking" -l"MJRefresh" -l"Masonry" -l"RESideMenu" -framework "CoreGraphics" -framework "Foundation" -framework "MobileCoreServices" -framework "QuartzCore" -framework "Security" -framework "SystemConfiguration" -framework "UIKit" 5 | PODS_ROOT = ${SRCROOT}/Pods -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/UIScrollView+MJExtension.h: -------------------------------------------------------------------------------- 1 | // 代码地址: https://github.com/CoderMJLee/MJRefresh 2 | // 代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000 3 | // UIScrollView+Extension.h 4 | // MJRefreshExample 5 | // 6 | // Created by MJ Lee on 14-5-28. 7 | // Copyright (c) 2014年 小码哥. All rights reserved. 8 | // 9 | 10 | #import 11 | 12 | @interface UIScrollView (MJExtension) 13 | @property (assign, nonatomic) CGFloat mj_insetT; 14 | @property (assign, nonatomic) CGFloat mj_insetB; 15 | @property (assign, nonatomic) CGFloat mj_insetL; 16 | @property (assign, nonatomic) CGFloat mj_insetR; 17 | 18 | @property (assign, nonatomic) CGFloat mj_offsetX; 19 | @property (assign, nonatomic) CGFloat mj_offsetY; 20 | 21 | @property (assign, nonatomic) CGFloat mj_contentW; 22 | @property (assign, nonatomic) CGFloat mj_contentH; 23 | @end 24 | -------------------------------------------------------------------------------- /Pods/Masonry/Masonry/Masonry.h: -------------------------------------------------------------------------------- 1 | // 2 | // Masonry.h 3 | // Masonry 4 | // 5 | // Created by Jonas Budelmann on 20/07/13. 6 | // Copyright (c) 2013 cloudling. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | //! Project version number for Masonry. 12 | FOUNDATION_EXPORT double MasonryVersionNumber; 13 | 14 | //! Project version string for Masonry. 15 | FOUNDATION_EXPORT const unsigned char MasonryVersionString[]; 16 | 17 | #import "MASUtilities.h" 18 | #import "View+MASAdditions.h" 19 | #import "View+MASShorthandAdditions.h" 20 | #import "ViewController+MASAdditions.h" 21 | #import "NSArray+MASAdditions.h" 22 | #import "NSArray+MASShorthandAdditions.h" 23 | #import "MASConstraint.h" 24 | #import "MASCompositeConstraint.h" 25 | #import "MASViewAttribute.h" 26 | #import "MASViewConstraint.h" 27 | #import "MASConstraintMaker.h" 28 | #import "MASLayoutConstraint.h" 29 | #import "NSLayoutConstraint+MASDebugAdditions.h" 30 | -------------------------------------------------------------------------------- /Pods/Masonry/Masonry/ViewController+MASAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIViewController+MASAdditions.h 3 | // Masonry 4 | // 5 | // Created by Craig Siemens on 2015-06-23. 6 | // 7 | // 8 | 9 | #import "MASUtilities.h" 10 | #import "MASConstraintMaker.h" 11 | #import "MASViewAttribute.h" 12 | 13 | #ifdef MAS_VIEW_CONTROLLER 14 | 15 | @interface MAS_VIEW_CONTROLLER (MASAdditions) 16 | 17 | /** 18 | * following properties return a new MASViewAttribute with appropriate UILayoutGuide and NSLayoutAttribute 19 | */ 20 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_topLayoutGuide; 21 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_bottomLayoutGuide; 22 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_topLayoutGuideTop; 23 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_topLayoutGuideBottom; 24 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_bottomLayoutGuideTop; 25 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_bottomLayoutGuideBottom; 26 | 27 | 28 | @end 29 | 30 | #endif 31 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Base/MJRefreshHeader.h: -------------------------------------------------------------------------------- 1 | // 代码地址: https://github.com/CoderMJLee/MJRefresh 2 | // 代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000 3 | // MJRefreshHeader.h 4 | // MJRefreshExample 5 | // 6 | // Created by MJ Lee on 15/3/4. 7 | // Copyright (c) 2015年 小码哥. All rights reserved. 8 | // 下拉刷新控件:负责监控用户下拉的状态 9 | 10 | #import "MJRefreshComponent.h" 11 | 12 | @interface MJRefreshHeader : MJRefreshComponent 13 | /** 创建header */ 14 | + (instancetype)headerWithRefreshingBlock:(MJRefreshComponentRefreshingBlock)refreshingBlock; 15 | /** 创建header */ 16 | + (instancetype)headerWithRefreshingTarget:(id)target refreshingAction:(SEL)action; 17 | 18 | /** 这个key用来存储上一次下拉刷新成功的时间 */ 19 | @property (copy, nonatomic) NSString *lastUpdatedTimeKey; 20 | /** 上一次下拉刷新成功的时间 */ 21 | @property (strong, nonatomic, readonly) NSDate *lastUpdatedTime; 22 | 23 | /** 忽略多少scrollView的contentInset的top */ 24 | @property (assign, nonatomic) CGFloat ignoredScrollViewContentInsetTop; 25 | @end 26 | -------------------------------------------------------------------------------- /ClothingMaster/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "size" : "60x60", 35 | "idiom" : "iphone", 36 | "filename" : "ic-1.png", 37 | "scale" : "2x" 38 | }, 39 | { 40 | "size" : "60x60", 41 | "idiom" : "iphone", 42 | "filename" : "ic.png", 43 | "scale" : "3x" 44 | } 45 | ], 46 | "info" : { 47 | "version" : 1, 48 | "author" : "xcode" 49 | } 50 | } -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/UIScrollView+MJRefresh.h: -------------------------------------------------------------------------------- 1 | // 代码地址: https://github.com/CoderMJLee/MJRefresh 2 | // 代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000 3 | // UIScrollView+MJRefresh.h 4 | // MJRefreshExample 5 | // 6 | // Created by MJ Lee on 15/3/4. 7 | // Copyright (c) 2015年 小码哥. All rights reserved. 8 | // 给ScrollView增加下拉刷新、上拉刷新的功能 9 | 10 | #import 11 | #import "MJRefreshConst.h" 12 | 13 | @class MJRefreshHeader, MJRefreshFooter; 14 | 15 | @interface UIScrollView (MJRefresh) 16 | /** 下拉刷新控件 */ 17 | @property (strong, nonatomic) MJRefreshHeader *mj_header; 18 | @property (strong, nonatomic) MJRefreshHeader *header MJRefreshDeprecated("使用mj_header"); 19 | /** 上拉刷新控件 */ 20 | @property (strong, nonatomic) MJRefreshFooter *mj_footer; 21 | @property (strong, nonatomic) MJRefreshFooter *footer MJRefreshDeprecated("使用mj_footer"); 22 | 23 | #pragma mark - other 24 | - (NSInteger)mj_totalDataCount; 25 | @property (copy, nonatomic) void (^mj_reloadDataBlock)(NSInteger totalDataCount); 26 | @end 27 | -------------------------------------------------------------------------------- /Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - AFNetworking (3.0.4): 3 | - AFNetworking/NSURLSession (= 3.0.4) 4 | - AFNetworking/Reachability (= 3.0.4) 5 | - AFNetworking/Security (= 3.0.4) 6 | - AFNetworking/Serialization (= 3.0.4) 7 | - AFNetworking/UIKit (= 3.0.4) 8 | - AFNetworking/NSURLSession (3.0.4): 9 | - AFNetworking/Reachability 10 | - AFNetworking/Security 11 | - AFNetworking/Serialization 12 | - AFNetworking/Reachability (3.0.4) 13 | - AFNetworking/Security (3.0.4) 14 | - AFNetworking/Serialization (3.0.4) 15 | - AFNetworking/UIKit (3.0.4): 16 | - AFNetworking/NSURLSession 17 | - Masonry (0.6.4) 18 | - MJRefresh (3.1.0) 19 | - RESideMenu (4.0.7) 20 | 21 | DEPENDENCIES: 22 | - AFNetworking (~> 3.0.4) 23 | - Masonry (~> 0.6.4) 24 | - MJRefresh (~> 3.1.0) 25 | - RESideMenu (~> 4.0.7) 26 | 27 | SPEC CHECKSUMS: 28 | AFNetworking: a0075feb321559dc78d9d85b55d11caa19eabb93 29 | Masonry: 281802d04d787ea2973179ee8bcb50500579ede2 30 | MJRefresh: 743e6404967d1c2c688472ea3ecfde247d872db4 31 | RESideMenu: f24c508404b49c667344c54aba7e590883533958 32 | 33 | COCOAPODS: 0.39.0 34 | -------------------------------------------------------------------------------- /Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - AFNetworking (3.0.4): 3 | - AFNetworking/NSURLSession (= 3.0.4) 4 | - AFNetworking/Reachability (= 3.0.4) 5 | - AFNetworking/Security (= 3.0.4) 6 | - AFNetworking/Serialization (= 3.0.4) 7 | - AFNetworking/UIKit (= 3.0.4) 8 | - AFNetworking/NSURLSession (3.0.4): 9 | - AFNetworking/Reachability 10 | - AFNetworking/Security 11 | - AFNetworking/Serialization 12 | - AFNetworking/Reachability (3.0.4) 13 | - AFNetworking/Security (3.0.4) 14 | - AFNetworking/Serialization (3.0.4) 15 | - AFNetworking/UIKit (3.0.4): 16 | - AFNetworking/NSURLSession 17 | - Masonry (0.6.4) 18 | - MJRefresh (3.1.0) 19 | - RESideMenu (4.0.7) 20 | 21 | DEPENDENCIES: 22 | - AFNetworking (~> 3.0.4) 23 | - Masonry (~> 0.6.4) 24 | - MJRefresh (~> 3.1.0) 25 | - RESideMenu (~> 4.0.7) 26 | 27 | SPEC CHECKSUMS: 28 | AFNetworking: a0075feb321559dc78d9d85b55d11caa19eabb93 29 | Masonry: 281802d04d787ea2973179ee8bcb50500579ede2 30 | MJRefresh: 743e6404967d1c2c688472ea3ecfde247d872db4 31 | RESideMenu: f24c508404b49c667344c54aba7e590883533958 32 | 33 | COCOAPODS: 0.39.0 34 | -------------------------------------------------------------------------------- /Pods/Masonry/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2011-2012 Masonry Team - https://github.com/Masonry 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. -------------------------------------------------------------------------------- /Pods/RESideMenu/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2013 Roman Efimov (https://github.com/romaonthego). 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. -------------------------------------------------------------------------------- /Pods/MJRefresh/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2013-2015 MJRefresh (https://github.com/CoderMJLee/MJRefresh) 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /Pods/AFNetworking/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2011–2015 Alamofire Software Foundation (http://alamofire.org/) 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /ClothingMaster/ClothingMaster.xcdatamodeld/ClothingMaster.xcdatamodel/contents: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /Controller/One/ConstellFlowLayoutCell.m: -------------------------------------------------------------------------------- 1 | // 2 | // ConstellFlowLayoutCell.m 3 | // ConstellationMaster 4 | // 5 | // Created by Lym on 16/3/27. 6 | // Copyright © 2016年 Lym. All rights reserved. 7 | // 8 | 9 | #import "ConstellFlowLayoutCell.h" 10 | #import "Masonry.h" 11 | #define ScreenWidth [UIScreen mainScreen].bounds.size.width 12 | #define ScreenHeight [UIScreen mainScreen].bounds.size.height 13 | 14 | @implementation ConstellFlowLayoutCell 15 | @synthesize CellImg,CellText; 16 | -(void)initContent 17 | { 18 | CellImg=[[UIImageView alloc]initWithFrame:CGRectMake(0, 0, ScreenWidth/4, ScreenWidth/4)]; 19 | [self.contentView addSubview:CellImg]; 20 | 21 | CellText=[[UILabel alloc]init]; 22 | CellText.font=[UIFont systemFontOfSize:ScreenWidth/25]; 23 | 24 | /* **---文字居中---** */ 25 | CellText.textAlignment = NSTextAlignmentCenter; 26 | 27 | [self.contentView addSubview:CellText]; 28 | [CellText mas_makeConstraints:^(MASConstraintMaker *make) { 29 | make.bottom.mas_equalTo(CellImg).offset(ScreenWidth/20); 30 | make.centerX.mas_equalTo(CellImg); 31 | make.size.mas_equalTo(CGSizeMake(ScreenWidth/5, ScreenWidth/20));          =     }]; 32 | 33 | } 34 | @end 35 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Base/MJRefreshFooter.h: -------------------------------------------------------------------------------- 1 | // 代码地址: https://github.com/CoderMJLee/MJRefresh 2 | // 代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000 3 | // MJRefreshFooter.h 4 | // MJRefreshExample 5 | // 6 | // Created by MJ Lee on 15/3/5. 7 | // Copyright (c) 2015年 小码哥. All rights reserved. 8 | // 上拉刷新控件 9 | 10 | #import "MJRefreshComponent.h" 11 | 12 | @interface MJRefreshFooter : MJRefreshComponent 13 | /** 创建footer */ 14 | + (instancetype)footerWithRefreshingBlock:(MJRefreshComponentRefreshingBlock)refreshingBlock; 15 | /** 创建footer */ 16 | + (instancetype)footerWithRefreshingTarget:(id)target refreshingAction:(SEL)action; 17 | 18 | /** 提示没有更多的数据 */ 19 | - (void)endRefreshingWithNoMoreData; 20 | - (void)noticeNoMoreData MJRefreshDeprecated("使用endRefreshingWithNoMoreData"); 21 | 22 | /** 重置没有更多的数据(消除没有更多数据的状态) */ 23 | - (void)resetNoMoreData; 24 | 25 | /** 忽略多少scrollView的contentInset的bottom */ 26 | @property (assign, nonatomic) CGFloat ignoredScrollViewContentInsetBottom; 27 | 28 | /** 自动根据有无数据来显示和隐藏(有数据就显示,没有数据隐藏。默认是NO) */ 29 | @property (assign, nonatomic, getter=isAutomaticallyHidden) BOOL automaticallyHidden; 30 | @end 31 | -------------------------------------------------------------------------------- /Pods/Masonry/Masonry/NSArray+MASShorthandAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSArray+MASShorthandAdditions.h 3 | // Masonry 4 | // 5 | // Created by Jonas Budelmann on 22/07/13. 6 | // Copyright (c) 2013 Jonas Budelmann. All rights reserved. 7 | // 8 | 9 | #import "NSArray+MASAdditions.h" 10 | 11 | #ifdef MAS_SHORTHAND 12 | 13 | /** 14 | * Shorthand array additions without the 'mas_' prefixes, 15 | * only enabled if MAS_SHORTHAND is defined 16 | */ 17 | @interface NSArray (MASShorthandAdditions) 18 | 19 | - (NSArray *)makeConstraints:(void(^)(MASConstraintMaker *make))block; 20 | - (NSArray *)updateConstraints:(void(^)(MASConstraintMaker *make))block; 21 | - (NSArray *)remakeConstraints:(void(^)(MASConstraintMaker *make))block; 22 | 23 | @end 24 | 25 | @implementation NSArray (MASShorthandAdditions) 26 | 27 | - (NSArray *)makeConstraints:(void(^)(MASConstraintMaker *))block { 28 | return [self mas_makeConstraints:block]; 29 | } 30 | 31 | - (NSArray *)updateConstraints:(void(^)(MASConstraintMaker *))block { 32 | return [self mas_updateConstraints:block]; 33 | } 34 | 35 | - (NSArray *)remakeConstraints:(void(^)(MASConstraintMaker *))block { 36 | return [self mas_remakeConstraints:block]; 37 | } 38 | 39 | @end 40 | 41 | #endif 42 | -------------------------------------------------------------------------------- /ClothingMaster/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | 服装大师 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | NSAppTransportSecurity 34 | 35 | NSAllowsArbitraryLoads 36 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /Controller/Three/Sup/Segment/SegmentView.h: -------------------------------------------------------------------------------- 1 | // 2 | // SegmentView.h 3 | // Segment 4 | // 5 | // Created by MyMac on 15/11/24. 6 | // Copyright © 2015年 MyMac. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class SegmentView; 12 | @protocol SegmentViewDelegate 13 | 14 | @optional 15 | - (void)segmentView:(SegmentView *)segmentView DidClickedSegmentButton:(UIButton *)segmentButton; 16 | 17 | @end 18 | 19 | @interface SegmentView : UIView 20 | 21 | @property (nonatomic,strong) NSArray *titles; /**< 分段选择按钮文字数组*/ 22 | 23 | @property (nonatomic,assign) NSInteger selectedIndex; 24 | 25 | @property (nonatomic,assign) BOOL showBottomView; /**< 是否显示底部分割线 默认显示*/ 26 | 27 | @property (nonatomic,assign) NSInteger bottomLineHeight; /**< 线高*/ 28 | 29 | @property (nonatomic,strong) UIColor *normalTitleColor; /**< 正常的文字颜色*/ 30 | 31 | @property (nonatomic,strong) UIColor *selectedTitleColor; /**< 选中的文字颜色*/ 32 | 33 | @property (nonatomic,strong) UIColor *bottomViewColor; /**< 底部分割线颜色*/ 34 | 35 | @property (nonatomic,strong) UIColor *moveViewColor ; /**< 移动横线颜色*/ 36 | 37 | @property (nonatomic,assign) BOOL isSameTextWidth; /**< 移动横线是否和文字长度一样*/ 38 | 39 | @property (nonatomic,strong) UIFont *fontSize; // 文字大小 40 | 41 | 42 | @property (nonatomic,weak) id delegate; 43 | 44 | 45 | @end 46 | -------------------------------------------------------------------------------- /Pods/Masonry/Masonry/MASViewAttribute.m: -------------------------------------------------------------------------------- 1 | // 2 | // MASAttribute.m 3 | // Masonry 4 | // 5 | // Created by Jonas Budelmann on 21/07/13. 6 | // Copyright (c) 2013 cloudling. All rights reserved. 7 | // 8 | 9 | #import "MASViewAttribute.h" 10 | 11 | @implementation MASViewAttribute 12 | 13 | - (id)initWithView:(MAS_VIEW *)view layoutAttribute:(NSLayoutAttribute)layoutAttribute { 14 | self = [self initWithView:view item:view layoutAttribute:layoutAttribute]; 15 | return self; 16 | } 17 | 18 | - (id)initWithView:(MAS_VIEW *)view item:(id)item layoutAttribute:(NSLayoutAttribute)layoutAttribute { 19 | self = [super init]; 20 | if (!self) return nil; 21 | 22 | _view = view; 23 | _item = item; 24 | _layoutAttribute = layoutAttribute; 25 | 26 | return self; 27 | } 28 | 29 | - (BOOL)isSizeAttribute { 30 | return self.layoutAttribute == NSLayoutAttributeWidth 31 | || self.layoutAttribute == NSLayoutAttributeHeight; 32 | } 33 | 34 | - (BOOL)isEqual:(MASViewAttribute *)viewAttribute { 35 | if ([viewAttribute isKindOfClass:self.class]) { 36 | return self.view == viewAttribute.view 37 | && self.layoutAttribute == viewAttribute.layoutAttribute; 38 | } 39 | return [super isEqual:viewAttribute]; 40 | } 41 | 42 | - (NSUInteger)hash { 43 | return MAS_NSUINTROTATE([self.view hash], MAS_NSUINT_BIT / 2) ^ self.layoutAttribute; 44 | } 45 | 46 | @end 47 | -------------------------------------------------------------------------------- /Pods/Masonry/Masonry/MASViewAttribute.h: -------------------------------------------------------------------------------- 1 | // 2 | // MASAttribute.h 3 | // Masonry 4 | // 5 | // Created by Jonas Budelmann on 21/07/13. 6 | // Copyright (c) 2013 cloudling. All rights reserved. 7 | // 8 | 9 | #import "MASUtilities.h" 10 | 11 | /** 12 | * An immutable tuple which stores the view and the related NSLayoutAttribute. 13 | * Describes part of either the left or right hand side of a constraint equation 14 | */ 15 | @interface MASViewAttribute : NSObject 16 | 17 | /** 18 | * The view which the reciever relates to. Can be nil if item is not a view. 19 | */ 20 | @property (nonatomic, weak, readonly) MAS_VIEW *view; 21 | 22 | /** 23 | * The item which the reciever relates to. 24 | */ 25 | @property (nonatomic, weak, readonly) id item; 26 | 27 | /** 28 | * The attribute which the reciever relates to 29 | */ 30 | @property (nonatomic, assign, readonly) NSLayoutAttribute layoutAttribute; 31 | 32 | /** 33 | * Convenience initializer. 34 | */ 35 | - (id)initWithView:(MAS_VIEW *)view layoutAttribute:(NSLayoutAttribute)layoutAttribute; 36 | 37 | /** 38 | * The designated initializer. 39 | */ 40 | - (id)initWithView:(MAS_VIEW *)view item:(id)item layoutAttribute:(NSLayoutAttribute)layoutAttribute; 41 | 42 | /** 43 | * Determine whether the layoutAttribute is a size attribute 44 | * 45 | * @return YES if layoutAttribute is equal to NSLayoutAttributeWidth or NSLayoutAttributeHeight 46 | */ 47 | - (BOOL)isSizeAttribute; 48 | 49 | @end 50 | -------------------------------------------------------------------------------- /Pods/AFNetworking/UIKit+AFNetworking/UIImage+AFNetworking.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIImage+AFNetworking.h 3 | // 4 | // 5 | // Created by Paulo Ferreira on 08/07/15. 6 | // 7 | // Permission is hereby granted, free of charge, to any person obtaining a copy 8 | // of this software and associated documentation files (the "Software"), to deal 9 | // in the Software without restriction, including without limitation the rights 10 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | // copies of the Software, and to permit persons to whom the Software is 12 | // furnished to do so, subject to the following conditions: 13 | // 14 | // The above copyright notice and this permission notice shall be included in 15 | // all copies or substantial portions of the Software. 16 | // 17 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 23 | // THE SOFTWARE. 24 | 25 | #if TARGET_OS_IOS || TARGET_OS_TV 26 | 27 | #import 28 | 29 | @interface UIImage (AFNetworking) 30 | 31 | + (UIImage*) safeImageWithData:(NSData*)data; 32 | 33 | @end 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /Pods/Masonry/Masonry/ViewController+MASAdditions.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIViewController+MASAdditions.m 3 | // Masonry 4 | // 5 | // Created by Craig Siemens on 2015-06-23. 6 | // 7 | // 8 | 9 | #import "ViewController+MASAdditions.h" 10 | 11 | #ifdef MAS_VIEW_CONTROLLER 12 | 13 | @implementation MAS_VIEW_CONTROLLER (MASAdditions) 14 | 15 | - (MASViewAttribute *)mas_topLayoutGuide { 16 | return [[MASViewAttribute alloc] initWithView:self.view item:self.topLayoutGuide layoutAttribute:NSLayoutAttributeBottom]; 17 | } 18 | - (MASViewAttribute *)mas_topLayoutGuideTop { 19 | return [[MASViewAttribute alloc] initWithView:self.view item:self.topLayoutGuide layoutAttribute:NSLayoutAttributeTop]; 20 | } 21 | - (MASViewAttribute *)mas_topLayoutGuideBottom { 22 | return [[MASViewAttribute alloc] initWithView:self.view item:self.topLayoutGuide layoutAttribute:NSLayoutAttributeBottom]; 23 | } 24 | 25 | - (MASViewAttribute *)mas_bottomLayoutGuide { 26 | return [[MASViewAttribute alloc] initWithView:self.view item:self.bottomLayoutGuide layoutAttribute:NSLayoutAttributeTop]; 27 | } 28 | - (MASViewAttribute *)mas_bottomLayoutGuideTop { 29 | return [[MASViewAttribute alloc] initWithView:self.view item:self.bottomLayoutGuide layoutAttribute:NSLayoutAttributeTop]; 30 | } 31 | - (MASViewAttribute *)mas_bottomLayoutGuideBottom { 32 | return [[MASViewAttribute alloc] initWithView:self.view item:self.bottomLayoutGuide layoutAttribute:NSLayoutAttributeBottom]; 33 | } 34 | 35 | 36 | 37 | @end 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/MJRefreshConst.m: -------------------------------------------------------------------------------- 1 | // 代码地址: https://github.com/CoderMJLee/MJRefresh 2 | // 代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000 3 | #import 4 | 5 | const CGFloat MJRefreshHeaderHeight = 54.0; 6 | const CGFloat MJRefreshFooterHeight = 44.0; 7 | const CGFloat MJRefreshFastAnimationDuration = 0.25; 8 | const CGFloat MJRefreshSlowAnimationDuration = 0.4; 9 | 10 | NSString *const MJRefreshKeyPathContentOffset = @"contentOffset"; 11 | NSString *const MJRefreshKeyPathContentInset = @"contentInset"; 12 | NSString *const MJRefreshKeyPathContentSize = @"contentSize"; 13 | NSString *const MJRefreshKeyPathPanState = @"state"; 14 | 15 | NSString *const MJRefreshHeaderLastUpdatedTimeKey = @"MJRefreshHeaderLastUpdatedTimeKey"; 16 | 17 | NSString *const MJRefreshHeaderIdleText = @"下拉可以刷新"; 18 | NSString *const MJRefreshHeaderPullingText = @"松开立即刷新"; 19 | NSString *const MJRefreshHeaderRefreshingText = @"正在刷新数据中..."; 20 | 21 | NSString *const MJRefreshAutoFooterIdleText = @"点击或上拉加载更多"; 22 | NSString *const MJRefreshAutoFooterRefreshingText = @"正在加载更多的数据..."; 23 | NSString *const MJRefreshAutoFooterNoMoreDataText = @"已经全部加载完毕"; 24 | 25 | NSString *const MJRefreshBackFooterIdleText = @"上拉可以加载更多"; 26 | NSString *const MJRefreshBackFooterPullingText = @"松开立即加载更多"; 27 | NSString *const MJRefreshBackFooterRefreshingText = @"正在加载更多的数据..."; 28 | NSString *const MJRefreshBackFooterNoMoreDataText = @"已经全部加载完毕"; -------------------------------------------------------------------------------- /Pods/Masonry/Masonry/MASViewConstraint.h: -------------------------------------------------------------------------------- 1 | // 2 | // MASConstraint.h 3 | // Masonry 4 | // 5 | // Created by Jonas Budelmann on 20/07/13. 6 | // Copyright (c) 2013 cloudling. All rights reserved. 7 | // 8 | 9 | #import "MASViewAttribute.h" 10 | #import "MASConstraint.h" 11 | #import "MASLayoutConstraint.h" 12 | #import "MASUtilities.h" 13 | 14 | /** 15 | * A single constraint. 16 | * Contains the attributes neccessary for creating a NSLayoutConstraint and adding it to the appropriate view 17 | */ 18 | @interface MASViewConstraint : MASConstraint 19 | 20 | /** 21 | * First item/view and first attribute of the NSLayoutConstraint 22 | */ 23 | @property (nonatomic, strong, readonly) MASViewAttribute *firstViewAttribute; 24 | 25 | /** 26 | * Second item/view and second attribute of the NSLayoutConstraint 27 | */ 28 | @property (nonatomic, strong, readonly) MASViewAttribute *secondViewAttribute; 29 | 30 | /** 31 | * initialises the MASViewConstraint with the first part of the equation 32 | * 33 | * @param firstViewAttribute view.mas_left, view.mas_width etc. 34 | * 35 | * @return a new view constraint 36 | */ 37 | - (id)initWithFirstViewAttribute:(MASViewAttribute *)firstViewAttribute; 38 | 39 | /** 40 | * Returns all MASViewConstraints installed with this view as a first item. 41 | * 42 | * @param view A view to retrieve constraints for. 43 | * 44 | * @return An array of MASViewConstraints. 45 | */ 46 | + (NSArray *)installedConstraintsForView:(MAS_VIEW *)view; 47 | 48 | @end 49 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode 2 | # 3 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore 4 | 5 | ## Build generated 6 | build/ 7 | DerivedData/ 8 | 9 | ## Various settings 10 | *.pbxuser 11 | !default.pbxuser 12 | *.mode1v3 13 | !default.mode1v3 14 | *.mode2v3 15 | !default.mode2v3 16 | *.perspectivev3 17 | !default.perspectivev3 18 | xcuserdata/ 19 | 20 | ## Other 21 | *.moved-aside 22 | *.xcuserstate 23 | 24 | ## Obj-C/Swift specific 25 | *.hmap 26 | *.ipa 27 | *.dSYM.zip 28 | *.dSYM 29 | 30 | # CocoaPods 31 | # 32 | # We recommend against adding the Pods directory to your .gitignore. However 33 | # you should judge for yourself, the pros and cons are mentioned at: 34 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control 35 | # 36 | # Pods/ 37 | 38 | # Carthage 39 | # 40 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 41 | # Carthage/Checkouts 42 | 43 | Carthage/Build 44 | 45 | # fastlane 46 | # 47 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 48 | # screenshots whenever they are needed. 49 | # For more information about the recommended setup visit: 50 | # https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md 51 | 52 | fastlane/report.xml 53 | fastlane/Preview.html 54 | fastlane/screenshots 55 | fastlane/test_output 56 | 57 | # Code Injection 58 | # 59 | # After new code Injection tools there's a generated folder /iOSInjectionProject 60 | # https://github.com/johnno1962/injectionforxcode 61 | 62 | iOSInjectionProject/ 63 | -------------------------------------------------------------------------------- /ClothingMaster/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /Pods/RESideMenu/RESideMenu/UIViewController+RESideMenu.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIViewController+RESideMenu.h 3 | // RESideMenu 4 | // 5 | // Copyright (c) 2013-2014 Roman Efimov (https://github.com/romaonthego) 6 | // 7 | // Permission is hereby granted, free of charge, to any person obtaining a copy 8 | // of this software and associated documentation files (the "Software"), to deal 9 | // in the Software without restriction, including without limitation the rights 10 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | // copies of the Software, and to permit persons to whom the Software is 12 | // furnished to do so, subject to the following conditions: 13 | // 14 | // The above copyright notice and this permission notice shall be included in 15 | // all copies or substantial portions of the Software. 16 | // 17 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 23 | // THE SOFTWARE. 24 | // 25 | 26 | #import 27 | 28 | @class RESideMenu; 29 | 30 | @interface UIViewController (RESideMenu) 31 | 32 | @property (strong, readonly, nonatomic) RESideMenu *sideMenuViewController; 33 | 34 | // IB Action Helper methods 35 | 36 | - (IBAction)presentLeftMenuViewController:(id)sender; 37 | - (IBAction)presentRightMenuViewController:(id)sender; 38 | 39 | @end 40 | -------------------------------------------------------------------------------- /ClothingMaster/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Pods/AFNetworking/AFNetworking/AFNetworking.h: -------------------------------------------------------------------------------- 1 | // AFNetworking.h 2 | // 3 | // Copyright (c) 2013 AFNetworking (http://afnetworking.com/) 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining a copy 6 | // of this software and associated documentation files (the "Software"), to deal 7 | // in the Software without restriction, including without limitation the rights 8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | // copies of the Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall be included in 13 | // all copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | // THE SOFTWARE. 22 | 23 | #import 24 | #import 25 | #import 26 | 27 | #ifndef _AFNETWORKING_ 28 | #define _AFNETWORKING_ 29 | 30 | #import "AFURLRequestSerialization.h" 31 | #import "AFURLResponseSerialization.h" 32 | #import "AFSecurityPolicy.h" 33 | 34 | #if !TARGET_OS_WATCH 35 | #import "AFNetworkReachabilityManager.h" 36 | #endif 37 | 38 | #import "AFURLSessionManager.h" 39 | #import "AFHTTPSessionManager.h" 40 | 41 | #endif /* _AFNETWORKING_ */ 42 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/UIView+MJExtension.m: -------------------------------------------------------------------------------- 1 | // 代码地址: https://github.com/CoderMJLee/MJRefresh 2 | // 代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000 3 | // UIView+Extension.m 4 | // MJRefreshExample 5 | // 6 | // Created by MJ Lee on 14-5-28. 7 | // Copyright (c) 2014年 小码哥. All rights reserved. 8 | // 9 | 10 | #import "UIView+MJExtension.h" 11 | 12 | @implementation UIView (MJExtension) 13 | - (void)setMj_x:(CGFloat)mj_x 14 | { 15 | CGRect frame = self.frame; 16 | frame.origin.x = mj_x; 17 | self.frame = frame; 18 | } 19 | 20 | - (CGFloat)mj_x 21 | { 22 | return self.frame.origin.x; 23 | } 24 | 25 | - (void)setMj_y:(CGFloat)mj_y 26 | { 27 | CGRect frame = self.frame; 28 | frame.origin.y = mj_y; 29 | self.frame = frame; 30 | } 31 | 32 | - (CGFloat)mj_y 33 | { 34 | return self.frame.origin.y; 35 | } 36 | 37 | - (void)setMj_w:(CGFloat)mj_w 38 | { 39 | CGRect frame = self.frame; 40 | frame.size.width = mj_w; 41 | self.frame = frame; 42 | } 43 | 44 | - (CGFloat)mj_w 45 | { 46 | return self.frame.size.width; 47 | } 48 | 49 | - (void)setMj_h:(CGFloat)mj_h 50 | { 51 | CGRect frame = self.frame; 52 | frame.size.height = mj_h; 53 | self.frame = frame; 54 | } 55 | 56 | - (CGFloat)mj_h 57 | { 58 | return self.frame.size.height; 59 | } 60 | 61 | - (void)setMj_size:(CGSize)mj_size 62 | { 63 | CGRect frame = self.frame; 64 | frame.size = mj_size; 65 | self.frame = frame; 66 | } 67 | 68 | - (CGSize)mj_size 69 | { 70 | return self.frame.size; 71 | } 72 | 73 | - (void)setMj_origin:(CGPoint)mj_origin 74 | { 75 | CGRect frame = self.frame; 76 | frame.origin = mj_origin; 77 | self.frame = frame; 78 | } 79 | 80 | - (CGPoint)mj_origin 81 | { 82 | return self.frame.origin; 83 | } 84 | @end 85 | -------------------------------------------------------------------------------- /Pods/RESideMenu/RESideMenu/RECommonFunctions.h: -------------------------------------------------------------------------------- 1 | // 2 | // RECommonFunctions.h 3 | // RESideMenu 4 | // 5 | // Copyright (c) 2013-2014 Roman Efimov (https://github.com/romaonthego) 6 | // 7 | // Permission is hereby granted, free of charge, to any person obtaining a copy 8 | // of this software and associated documentation files (the "Software"), to deal 9 | // in the Software without restriction, including without limitation the rights 10 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | // copies of the Software, and to permit persons to whom the Software is 12 | // furnished to do so, subject to the following conditions: 13 | // 14 | // The above copyright notice and this permission notice shall be included in 15 | // all copies or substantial portions of the Software. 16 | // 17 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 23 | // THE SOFTWARE. 24 | // 25 | 26 | #import 27 | 28 | 29 | #ifndef REUIKitIsFlatMode 30 | #define REUIKitIsFlatMode() RESideMenuUIKitIsFlatMode() 31 | #endif 32 | 33 | #ifndef kCFCoreFoundationVersionNumber_iOS_6_1 34 | #define kCFCoreFoundationVersionNumber_iOS_6_1 793.00 35 | #endif 36 | 37 | #if __IPHONE_OS_VERSION_MAX_ALLOWED > __IPHONE_6_1 38 | #define IF_IOS7_OR_GREATER(...) \ 39 | if (kCFCoreFoundationVersionNumber > kCFCoreFoundationVersionNumber_iOS_6_1) \ 40 | { \ 41 | __VA_ARGS__ \ 42 | } 43 | #else 44 | #define IF_IOS7_OR_GREATER(...) 45 | #endif 46 | 47 | BOOL RESideMenuUIKitIsFlatMode(void); -------------------------------------------------------------------------------- /Pods/AFNetworking/UIKit+AFNetworking/UIKit+AFNetworking.h: -------------------------------------------------------------------------------- 1 | // UIKit+AFNetworking.h 2 | // 3 | // Copyright (c) 2013 AFNetworking (http://afnetworking.com/) 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining a copy 6 | // of this software and associated documentation files (the "Software"), to deal 7 | // in the Software without restriction, including without limitation the rights 8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | // copies of the Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall be included in 13 | // all copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | // THE SOFTWARE. 22 | 23 | #if TARGET_OS_IOS || TARGET_OS_TV 24 | #import 25 | 26 | #ifndef _UIKIT_AFNETWORKING_ 27 | #define _UIKIT_AFNETWORKING_ 28 | 29 | #if TARGET_OS_IOS 30 | #import "AFAutoPurgingImageCache.h" 31 | #import "AFImageDownloader.h" 32 | #import "AFNetworkActivityIndicatorManager.h" 33 | #import "UIRefreshControl+AFNetworking.h" 34 | #import "UIWebView+AFNetworking.h" 35 | #endif 36 | 37 | #import "UIActivityIndicatorView+AFNetworking.h" 38 | #import "UIButton+AFNetworking.h" 39 | #import "UIImageView+AFNetworking.h" 40 | #import "UIProgressView+AFNetworking.h" 41 | #endif /* _UIKIT_AFNETWORKING_ */ 42 | #endif 43 | -------------------------------------------------------------------------------- /Image/One/Cloths/SJMQ/四季美裙.rtf: -------------------------------------------------------------------------------- 1 | {\rtf1\ansi\ansicpg936\cocoartf1404\cocoasubrtf460 2 | {\fonttbl\f0\fswiss\fcharset0 Helvetica;} 3 | {\colortbl;\red255\green255\blue255;} 4 | \paperw11900\paperh16840\margl1440\margr1440\vieww10800\viewh8400\viewkind0 5 | \pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0 6 | 7 | \f0\fs24 \cf0 https://item.taobao.com/item.htm?spm=a217f.7278617.2170366-0.1.o4Kv2f&id=530317128180&scm=13003.1.6112009.03c2c681245ca7c533eb5c99edcd9ff6\ 8 | \ 9 | https://item.taobao.com/item.htm?spm=a217f.7278617.2170366-0.3.o4Kv2f&id=528987950770&scm=13003.1.6112009.03c2c681245ca7c533eb5c99edcd9ff6\ 10 | \ 11 | https://item.taobao.com/item.htm?spm=a217f.7278617.2170366-0.15.jM7b8y&id=528810801167&scm=13003.1.6112009.233a705baaa8f0f89894bf6bdd78c2b4\ 12 | \ 13 | https://item.taobao.com/item.htm?spm=a217f.7278617.2170366-0.7.o4Kv2f&id=527583824696&scm=13003.1.6112009.03c2c681245ca7c533eb5c99edcd9ff6\ 14 | \ 15 | https://item.taobao.com/item.htm?spm=a217f.7278617.2170366-0.1.jM7b8y&id=527110127600&scm=13003.1.6112009.233a705baaa8f0f89894bf6bdd78c2b4\ 16 | \ 17 | https://item.taobao.com/item.htm?spm=a217f.7278617.2170366-0.13.o4Kv2f&id=528991734548&scm=13003.1.6112009.03c2c681245ca7c533eb5c99edcd9ff6\ 18 | \ 19 | https://item.taobao.com/item.htm?spm=a217f.7278617.2170366-0.15.o4Kv2f&id=530286277697&scm=13003.1.6112009.03c2c681245ca7c533eb5c99edcd9ff6\ 20 | \ 21 | https://item.taobao.com/item.htm?spm=a217f.7278617.2170366-0.17.o4Kv2f&id=530330100903&scm=13003.1.6112009.03c2c681245ca7c533eb5c99edcd9ff6\ 22 | \ 23 | https://item.taobao.com/item.htm?spm=a217f.7278617.2170366-0.19.o4Kv2f&id=521540098239&scm=13003.1.6112009.03c2c681245ca7c533eb5c99edcd9ff6\ 24 | \ 25 | https://item.taobao.com/item.htm?spm=a217f.7278617.2170366-0.21.o4Kv2f&id=528790290450&scm=13003.1.6112009.03c2c681245ca7c533eb5c99edcd9ff6\ 26 | \ 27 | 188\ 28 | 168\ 29 | 199\ 30 | 299\ 31 | 413\ 32 | 288\ 33 | 348\ 34 | 368\ 35 | 468\ 36 | 279} -------------------------------------------------------------------------------- /Controller/Three/Sup/Segment/UIView+Extension.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIView+Extension.m 3 | // Segment 4 | // 5 | // Created by MyMac on 15/11/27. 6 | // Copyright © 2015年 MyMac. All rights reserved. 7 | // 8 | 9 | #import "UIView+Extension.h" 10 | 11 | @implementation UIView (Extension) 12 | 13 | - (void)setX:(CGFloat)x{ 14 | CGRect frame = self.frame; 15 | frame.origin.x = x; 16 | self.frame = frame; 17 | } 18 | 19 | - (CGFloat)x{ 20 | return self.frame.origin.x; 21 | } 22 | 23 | - (void)setY:(CGFloat)y{ 24 | CGRect frame = self.frame; 25 | frame.origin.y = y; 26 | self.frame = frame; 27 | } 28 | 29 | - (CGFloat)y{ 30 | return self.frame.origin.y; 31 | } 32 | 33 | - (void)setWidth:(CGFloat)width{ 34 | CGRect frame = self.frame; 35 | frame.size.width = width; 36 | self.frame = frame; 37 | } 38 | 39 | - (CGFloat)width{ 40 | return self.frame.size.width; 41 | } 42 | 43 | - (void)setHeight:(CGFloat)height{ 44 | CGRect frame = self.frame; 45 | frame.size.height = height; 46 | self.frame = frame; 47 | } 48 | 49 | - (CGFloat)height{ 50 | return self.frame.size.height; 51 | } 52 | 53 | - (void)setCenterX:(CGFloat)centerX{ 54 | CGPoint center = self.center; 55 | center.x= centerX; 56 | self.center = center; 57 | } 58 | 59 | - (CGFloat)centerX{ 60 | return self.center.x; 61 | } 62 | 63 | - (void)setCenterY:(CGFloat)centerY{ 64 | CGPoint center = self.center; 65 | center.y = centerY; 66 | self.center = center; 67 | } 68 | 69 | - (CGFloat)centerY{ 70 | return self.center.y; 71 | } 72 | 73 | - (void)setSize:(CGSize)size{ 74 | CGRect frame = self.frame; 75 | frame.size = size; 76 | self.frame = frame; 77 | } 78 | 79 | - (CGSize)size{ 80 | return self.frame.size; 81 | } 82 | 83 | - (void)setOrigin:(CGPoint)origin{ 84 | CGRect frame = self.frame; 85 | frame.origin = origin; 86 | self.frame = frame; 87 | } 88 | 89 | - (CGPoint)origin{ 90 | return self.frame.origin; 91 | } 92 | 93 | 94 | 95 | @end 96 | -------------------------------------------------------------------------------- /Pods/Masonry/Masonry/MASConstraint+Private.h: -------------------------------------------------------------------------------- 1 | // 2 | // MASConstraint+Private.h 3 | // Masonry 4 | // 5 | // Created by Nick Tymchenko on 29/04/14. 6 | // Copyright (c) 2014 cloudling. All rights reserved. 7 | // 8 | 9 | #import "MASConstraint.h" 10 | 11 | @protocol MASConstraintDelegate; 12 | 13 | 14 | @interface MASConstraint () 15 | 16 | /** 17 | * Whether or not to check for an existing constraint instead of adding constraint 18 | */ 19 | @property (nonatomic, assign) BOOL updateExisting; 20 | 21 | /** 22 | * Usually MASConstraintMaker but could be a parent MASConstraint 23 | */ 24 | @property (nonatomic, weak) id delegate; 25 | 26 | /** 27 | * Based on a provided value type, is equal to calling: 28 | * NSNumber - setOffset: 29 | * NSValue with CGPoint - setPointOffset: 30 | * NSValue with CGSize - setSizeOffset: 31 | * NSValue with MASEdgeInsets - setInsets: 32 | */ 33 | - (void)setLayoutConstantWithValue:(NSValue *)value; 34 | 35 | @end 36 | 37 | 38 | @interface MASConstraint (Abstract) 39 | 40 | /** 41 | * Sets the constraint relation to given NSLayoutRelation 42 | * returns a block which accepts one of the following: 43 | * MASViewAttribute, UIView, NSValue, NSArray 44 | * see readme for more details. 45 | */ 46 | - (MASConstraint * (^)(id, NSLayoutRelation))equalToWithRelation; 47 | 48 | /** 49 | * Override to set a custom chaining behaviour 50 | */ 51 | - (MASConstraint *)addConstraintWithLayoutAttribute:(NSLayoutAttribute)layoutAttribute; 52 | 53 | @end 54 | 55 | 56 | @protocol MASConstraintDelegate 57 | 58 | /** 59 | * Notifies the delegate when the constraint needs to be replaced with another constraint. For example 60 | * A MASViewConstraint may turn into a MASCompositeConstraint when an array is passed to one of the equality blocks 61 | */ 62 | - (void)constraint:(MASConstraint *)constraint shouldBeReplacedWithConstraint:(MASConstraint *)replacementConstraint; 63 | 64 | - (MASConstraint *)constraint:(MASConstraint *)constraint addConstraintWithLayoutAttribute:(NSLayoutAttribute)layoutAttribute; 65 | 66 | @end 67 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Custom/Footer/Auto/MJRefreshAutoNormalFooter.m: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshAutoNormalFooter.m 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshAutoNormalFooter.h" 10 | 11 | @interface MJRefreshAutoNormalFooter() 12 | @property (weak, nonatomic) UIActivityIndicatorView *loadingView; 13 | @end 14 | 15 | @implementation MJRefreshAutoNormalFooter 16 | #pragma mark - 懒加载子控件 17 | - (UIActivityIndicatorView *)loadingView 18 | { 19 | if (!_loadingView) { 20 | UIActivityIndicatorView *loadingView = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:self.activityIndicatorViewStyle]; 21 | loadingView.hidesWhenStopped = YES; 22 | [self addSubview:_loadingView = loadingView]; 23 | } 24 | return _loadingView; 25 | } 26 | 27 | - (void)setActivityIndicatorViewStyle:(UIActivityIndicatorViewStyle)activityIndicatorViewStyle 28 | { 29 | _activityIndicatorViewStyle = activityIndicatorViewStyle; 30 | 31 | self.loadingView = nil; 32 | [self setNeedsLayout]; 33 | } 34 | #pragma makr - 重写父类的方法 35 | - (void)prepare 36 | { 37 | [super prepare]; 38 | 39 | self.activityIndicatorViewStyle = UIActivityIndicatorViewStyleGray; 40 | } 41 | 42 | - (void)placeSubviews 43 | { 44 | [super placeSubviews]; 45 | 46 | if (self.loadingView.constraints.count) return; 47 | 48 | // 圈圈 49 | CGFloat loadingCenterX = self.mj_w * 0.5; 50 | if (!self.isRefreshingTitleHidden) { 51 | loadingCenterX -= 100; 52 | } 53 | CGFloat loadingCenterY = self.mj_h * 0.5; 54 | self.loadingView.center = CGPointMake(loadingCenterX, loadingCenterY); 55 | } 56 | 57 | - (void)setState:(MJRefreshState)state 58 | { 59 | MJRefreshCheckState 60 | 61 | // 根据状态做事情 62 | if (state == MJRefreshStateNoMoreData || state == MJRefreshStateIdle) { 63 | [self.loadingView stopAnimating]; 64 | } else if (state == MJRefreshStateRefreshing) { 65 | [self.loadingView startAnimating]; 66 | } 67 | } 68 | 69 | @end 70 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Base/MJRefreshFooter.m: -------------------------------------------------------------------------------- 1 | // 代码地址: https://github.com/CoderMJLee/MJRefresh 2 | // 代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000 3 | // MJRefreshFooter.m 4 | // MJRefreshExample 5 | // 6 | // Created by MJ Lee on 15/3/5. 7 | // Copyright (c) 2015年 小码哥. All rights reserved. 8 | // 9 | 10 | #import "MJRefreshFooter.h" 11 | 12 | @interface MJRefreshFooter() 13 | 14 | @end 15 | 16 | @implementation MJRefreshFooter 17 | #pragma mark - 构造方法 18 | + (instancetype)footerWithRefreshingBlock:(MJRefreshComponentRefreshingBlock)refreshingBlock 19 | { 20 | MJRefreshFooter *cmp = [[self alloc] init]; 21 | cmp.refreshingBlock = refreshingBlock; 22 | return cmp; 23 | } 24 | + (instancetype)footerWithRefreshingTarget:(id)target refreshingAction:(SEL)action 25 | { 26 | MJRefreshFooter *cmp = [[self alloc] init]; 27 | [cmp setRefreshingTarget:target refreshingAction:action]; 28 | return cmp; 29 | } 30 | 31 | #pragma mark - 重写父类的方法 32 | - (void)prepare 33 | { 34 | [super prepare]; 35 | 36 | // 设置自己的高度 37 | self.mj_h = MJRefreshFooterHeight; 38 | 39 | // 默认不会自动隐藏 40 | self.automaticallyHidden = NO; 41 | } 42 | 43 | - (void)willMoveToSuperview:(UIView *)newSuperview 44 | { 45 | [super willMoveToSuperview:newSuperview]; 46 | 47 | if (newSuperview) { 48 | // 监听scrollView数据的变化 49 | if ([self.scrollView isKindOfClass:[UITableView class]] || [self.scrollView isKindOfClass:[UICollectionView class]]) { 50 | [self.scrollView setMj_reloadDataBlock:^(NSInteger totalDataCount) { 51 | if (self.isAutomaticallyHidden) { 52 | self.hidden = (totalDataCount == 0); 53 | } 54 | }]; 55 | } 56 | } 57 | } 58 | 59 | #pragma mark - 公共方法 60 | - (void)endRefreshingWithNoMoreData 61 | { 62 | self.state = MJRefreshStateNoMoreData; 63 | } 64 | 65 | - (void)noticeNoMoreData 66 | { 67 | [self endRefreshingWithNoMoreData]; 68 | } 69 | 70 | - (void)resetNoMoreData 71 | { 72 | self.state = MJRefreshStateIdle; 73 | } 74 | @end 75 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Custom/Footer/Back/MJRefreshBackStateFooter.m: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshBackStateFooter.m 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/6/13. 6 | // Copyright © 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshBackStateFooter.h" 10 | 11 | @interface MJRefreshBackStateFooter() 12 | { 13 | /** 显示刷新状态的label */ 14 | __unsafe_unretained UILabel *_stateLabel; 15 | } 16 | /** 所有状态对应的文字 */ 17 | @property (strong, nonatomic) NSMutableDictionary *stateTitles; 18 | @end 19 | 20 | @implementation MJRefreshBackStateFooter 21 | #pragma mark - 懒加载 22 | - (NSMutableDictionary *)stateTitles 23 | { 24 | if (!_stateTitles) { 25 | self.stateTitles = [NSMutableDictionary dictionary]; 26 | } 27 | return _stateTitles; 28 | } 29 | 30 | - (UILabel *)stateLabel 31 | { 32 | if (!_stateLabel) { 33 | [self addSubview:_stateLabel = [UILabel label]]; 34 | } 35 | return _stateLabel; 36 | } 37 | 38 | #pragma mark - 公共方法 39 | - (void)setTitle:(NSString *)title forState:(MJRefreshState)state 40 | { 41 | if (title == nil) return; 42 | self.stateTitles[@(state)] = title; 43 | self.stateLabel.text = self.stateTitles[@(self.state)]; 44 | } 45 | 46 | - (NSString *)titleForState:(MJRefreshState)state { 47 | return self.stateTitles[@(state)]; 48 | } 49 | 50 | #pragma mark - 重写父类的方法 51 | - (void)prepare 52 | { 53 | [super prepare]; 54 | 55 | // 初始化文字 56 | [self setTitle:MJRefreshBackFooterIdleText forState:MJRefreshStateIdle]; 57 | [self setTitle:MJRefreshBackFooterPullingText forState:MJRefreshStatePulling]; 58 | [self setTitle:MJRefreshBackFooterRefreshingText forState:MJRefreshStateRefreshing]; 59 | [self setTitle:MJRefreshBackFooterNoMoreDataText forState:MJRefreshStateNoMoreData]; 60 | } 61 | 62 | - (void)placeSubviews 63 | { 64 | [super placeSubviews]; 65 | 66 | if (self.stateLabel.constraints.count) return; 67 | 68 | // 状态标签 69 | self.stateLabel.frame = self.bounds; 70 | } 71 | 72 | - (void)setState:(MJRefreshState)state 73 | { 74 | MJRefreshCheckState 75 | 76 | // 设置状态文字 77 | self.stateLabel.text = self.stateTitles[@(state)]; 78 | } 79 | @end 80 | -------------------------------------------------------------------------------- /Pods/RESideMenu/RESideMenu/RECommonFunctions.m: -------------------------------------------------------------------------------- 1 | // 2 | // RECommonFunctions.m 3 | // RESideMenu 4 | // 5 | // Copyright (c) 2013-2014 Roman Efimov (https://github.com/romaonthego) 6 | // 7 | // Permission is hereby granted, free of charge, to any person obtaining a copy 8 | // of this software and associated documentation files (the "Software"), to deal 9 | // in the Software without restriction, including without limitation the rights 10 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | // copies of the Software, and to permit persons to whom the Software is 12 | // furnished to do so, subject to the following conditions: 13 | // 14 | // The above copyright notice and this permission notice shall be included in 15 | // all copies or substantial portions of the Software. 16 | // 17 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 23 | // THE SOFTWARE. 24 | // 25 | 26 | #import "RECommonFunctions.h" 27 | 28 | BOOL RESideMenuUIKitIsFlatMode(void) 29 | { 30 | static BOOL isUIKitFlatMode = NO; 31 | static dispatch_once_t onceToken; 32 | dispatch_once(&onceToken, ^{ 33 | if (floor(NSFoundationVersionNumber) > 993.0) { 34 | // If your app is running in legacy mode, tintColor will be nil - else it must be set to some color. 35 | if (UIApplication.sharedApplication.keyWindow) { 36 | isUIKitFlatMode = [UIApplication.sharedApplication.delegate.window performSelector:@selector(tintColor)] != nil; 37 | } else { 38 | // Possible that we're called early on (e.g. when used in a Storyboard). Adapt and use a temporary window. 39 | isUIKitFlatMode = [[UIWindow new] performSelector:@selector(tintColor)] != nil; 40 | } 41 | } 42 | }); 43 | return isUIKitFlatMode; 44 | } -------------------------------------------------------------------------------- /Image/One/Cloths/CS/衬衫.rtf: -------------------------------------------------------------------------------- 1 | {\rtf1\ansi\ansicpg936\cocoartf1404\cocoasubrtf460 2 | {\fonttbl\f0\fswiss\fcharset0 Helvetica;} 3 | {\colortbl;\red255\green255\blue255;} 4 | \paperw11900\paperh16840\margl1440\margr1440\vieww10800\viewh8400\viewkind0 5 | \pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0 6 | 7 | \f0\fs24 \cf0 https://item.taobao.com/item.htm?spm=a217f.7278617.1998429081.1.o4Kv2f&scm=1007.10185.16153.100200300000000&pvid=925d7478-fed2-4e26-8819-9f5c10420a03&id=528757432130\ 8 | \ 9 | https://item.taobao.com/item.htm?spm=a217f.7278617.1998429081.3.o4Kv2f&scm=1007.10185.16153.100200300000000&pvid=925d7478-fed2-4e26-8819-9f5c10420a03&id=528755533143\ 10 | \ 11 | https://item.taobao.com/item.htm?spm=a217f.7278617.1998429081.5.o4Kv2f&scm=1007.10185.16153.100200300000000&pvid=925d7478-fed2-4e26-8819-9f5c10420a03&id=528552328718\ 12 | \ 13 | https://item.taobao.com/item.htm?spm=a217f.7278617.1998429081.8.o4Kv2f&scm=1007.10185.16153.100200300000000&pvid=925d7478-fed2-4e26-8819-9f5c10420a03&id=528477755810\ 14 | \ 15 | https://item.taobao.com/item.htm?spm=a217f.7278617.1998429081.10.o4Kv2f&scm=1007.10185.16153.100200300000000&pvid=925d7478-fed2-4e26-8819-9f5c10420a03&id=528893592143\ 16 | \ 17 | https://item.taobao.com/item.htm?spm=a217f.7278617.1998429081.12.o4Kv2f&scm=1007.10185.16153.100200300000000&pvid=925d7478-fed2-4e26-8819-9f5c10420a03&id=528805417970\ 18 | \ 19 | https://item.taobao.com/item.htm?spm=a217f.7278617.1998429081.14.o4Kv2f&scm=1007.10185.16153.100200300000000&pvid=925d7478-fed2-4e26-8819-9f5c10420a03&id=528794965488\ 20 | \ 21 | https://item.taobao.com/item.htm?spm=a217f.7278617.1998429081.22.o4Kv2f&scm=1007.10185.16153.100200300000000&pvid=925d7478-fed2-4e26-8819-9f5c10420a03&id=529355697396\ 22 | \ 23 | https://item.taobao.com/item.htm?spm=a217f.7278617.1998429081.24.o4Kv2f&scm=1007.10185.16153.100200300000000&pvid=925d7478-fed2-4e26-8819-9f5c10420a03&id=528850275395\ 24 | \ 25 | https://item.taobao.com/item.htm?spm=a217f.7278617.1998429081.26.o4Kv2f&scm=1007.10185.16153.100200300000000&pvid=925d7478-fed2-4e26-8819-9f5c10420a03&id=529426008879\ 26 | \ 27 | \ 28 | \ 29 | 79.9\ 30 | 49.9\ 31 | 59\ 32 | 69\ 33 | 108\ 34 | 65\ 35 | 79.9\ 36 | 99.33\ 37 | 129\ 38 | 62} -------------------------------------------------------------------------------- /Image/One/Cloths/TX/T恤.rtf: -------------------------------------------------------------------------------- 1 | {\rtf1\ansi\ansicpg936\cocoartf1404\cocoasubrtf460 2 | {\fonttbl\f0\fswiss\fcharset0 Helvetica;} 3 | {\colortbl;\red255\green255\blue255;} 4 | \paperw11900\paperh16840\margl1440\margr1440\vieww10800\viewh8400\viewkind0 5 | \pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0 6 | 7 | \f0\fs24 \cf0 https://item.taobao.com/item.htm?spm=a217f.7278617.1998429073.1.o4Kv2f&scm=1007.10186.18862.100200300000000&pvid=6c1e3c28-2a4a-4158-af4b-fc3c0fe8922b&id=528783459033\ 8 | \ 9 | https://item.taobao.com/item.htm?spm=a217f.7278617.1998429073.3.o4Kv2f&scm=1007.10186.18862.100200300000000&pvid=6c1e3c28-2a4a-4158-af4b-fc3c0fe8922b&id=528996379406\ 10 | \ 11 | https://item.taobao.com/item.htm?spm=a217f.7278617.1998429073.5.o4Kv2f&scm=1007.10186.18862.100200300000000&pvid=6c1e3c28-2a4a-4158-af4b-fc3c0fe8922b&id=528705650451\ 12 | \ 13 | https://item.taobao.com/item.htm?spm=a217f.7278617.1998429073.8.o4Kv2f&scm=1007.10186.18862.100200300000000&pvid=6c1e3c28-2a4a-4158-af4b-fc3c0fe8922b&id=529136759524\ 14 | \ 15 | https://item.taobao.com/item.htm?spm=a217f.7278617.1998429073.10.o4Kv2f&scm=1007.10186.18862.100200300000000&pvid=6c1e3c28-2a4a-4158-af4b-fc3c0fe8922b&id=529093156938\ 16 | \ 17 | https://item.taobao.com/item.htm?spm=a217f.7278617.1998429073.12.o4Kv2f&scm=1007.10186.18862.100200300000000&pvid=6c1e3c28-2a4a-4158-af4b-fc3c0fe8922b&id=528906770098\ 18 | \ 19 | https://item.taobao.com/item.htm?spm=a217f.7278617.1998429073.14.o4Kv2f&scm=1007.10186.18862.100200300000000&pvid=6c1e3c28-2a4a-4158-af4b-fc3c0fe8922b&id=528902469710\ 20 | \ 21 | https://item.taobao.com/item.htm?spm=a217f.7278617.1998429073.16.o4Kv2f&scm=1007.10186.18862.100200300000000&pvid=6c1e3c28-2a4a-4158-af4b-fc3c0fe8922b&id=528889579896\ 22 | \ 23 | https://item.taobao.com/item.htm?spm=a217f.7278617.1998429073.18.o4Kv2f&scm=1007.10186.18862.100200300000000&pvid=6c1e3c28-2a4a-4158-af4b-fc3c0fe8922b&id=529506014283\ 24 | \ 25 | https://item.taobao.com/item.htm?spm=a217f.7278617.1998429073.20.o4Kv2f&scm=1007.10186.18862.100200300000000&pvid=6c1e3c28-2a4a-4158-af4b-fc3c0fe8922b&id=528813500572\ 26 | \ 27 | \ 28 | \ 29 | 55\ 30 | 69\ 31 | 49.7\ 32 | 69.99\ 33 | 59\ 34 | 38.72\ 35 | 119\ 36 | 56\ 37 | 55\ 38 | 49.9} -------------------------------------------------------------------------------- /Pods/AFNetworking/UIKit+AFNetworking/UIActivityIndicatorView+AFNetworking.h: -------------------------------------------------------------------------------- 1 | // UIActivityIndicatorView+AFNetworking.h 2 | // Copyright (c) 2011–2015 Alamofire Software Foundation (http://alamofire.org/) 3 | // 4 | // Permission is hereby granted, free of charge, to any person obtaining a copy 5 | // of this software and associated documentation files (the "Software"), to deal 6 | // in the Software without restriction, including without limitation the rights 7 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 8 | // copies of the Software, and to permit persons to whom the Software is 9 | // furnished to do so, subject to the following conditions: 10 | // 11 | // The above copyright notice and this permission notice shall be included in 12 | // all copies or substantial portions of the Software. 13 | // 14 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 17 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 19 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 20 | // THE SOFTWARE. 21 | 22 | #import 23 | 24 | #import 25 | 26 | #if TARGET_OS_IOS || TARGET_OS_TV 27 | 28 | #import 29 | 30 | /** 31 | This category adds methods to the UIKit framework's `UIActivityIndicatorView` class. The methods in this category provide support for automatically starting and stopping animation depending on the loading state of a session task. 32 | */ 33 | @interface UIActivityIndicatorView (AFNetworking) 34 | 35 | ///---------------------------------- 36 | /// @name Animating for Session Tasks 37 | ///---------------------------------- 38 | 39 | /** 40 | Binds the animating state to the state of the specified task. 41 | 42 | @param task The task. If `nil`, automatic updating from any previously specified operation will be disabled. 43 | */ 44 | - (void)setAnimatingWithStateOfTask:(nullable NSURLSessionTask *)task; 45 | 46 | @end 47 | 48 | #endif 49 | -------------------------------------------------------------------------------- /Pods/AFNetworking/UIKit+AFNetworking/UIRefreshControl+AFNetworking.h: -------------------------------------------------------------------------------- 1 | // UIRefreshControl+AFNetworking.m 2 | // 3 | // Copyright (c) 2014 AFNetworking (http://afnetworking.com) 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining a copy 6 | // of this software and associated documentation files (the "Software"), to deal 7 | // in the Software without restriction, including without limitation the rights 8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | // copies of the Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall be included in 13 | // all copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | // THE SOFTWARE. 22 | 23 | #import 24 | 25 | #import 26 | 27 | #if TARGET_OS_IOS 28 | 29 | #import 30 | 31 | NS_ASSUME_NONNULL_BEGIN 32 | 33 | /** 34 | This category adds methods to the UIKit framework's `UIRefreshControl` class. The methods in this category provide support for automatically beginning and ending refreshing depending on the loading state of a session task. 35 | */ 36 | @interface UIRefreshControl (AFNetworking) 37 | 38 | ///----------------------------------- 39 | /// @name Refreshing for Session Tasks 40 | ///----------------------------------- 41 | 42 | /** 43 | Binds the refreshing state to the state of the specified task. 44 | 45 | @param task The task. If `nil`, automatic updating from any previously specified operation will be disabled. 46 | */ 47 | - (void)setRefreshingWithStateOfTask:(NSURLSessionTask *)task; 48 | 49 | @end 50 | 51 | NS_ASSUME_NONNULL_END 52 | 53 | #endif 54 | -------------------------------------------------------------------------------- /Pods/RESideMenu/RESideMenu/UIViewController+RESideMenu.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIViewController+RESideMenu.m 3 | // RESideMenu 4 | // 5 | // Copyright (c) 2013-2014 Roman Efimov (https://github.com/romaonthego) 6 | // 7 | // Permission is hereby granted, free of charge, to any person obtaining a copy 8 | // of this software and associated documentation files (the "Software"), to deal 9 | // in the Software without restriction, including without limitation the rights 10 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | // copies of the Software, and to permit persons to whom the Software is 12 | // furnished to do so, subject to the following conditions: 13 | // 14 | // The above copyright notice and this permission notice shall be included in 15 | // all copies or substantial portions of the Software. 16 | // 17 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 23 | // THE SOFTWARE. 24 | // 25 | 26 | #import "UIViewController+RESideMenu.h" 27 | #import "RESideMenu.h" 28 | 29 | @implementation UIViewController (RESideMenu) 30 | 31 | - (RESideMenu *)sideMenuViewController 32 | { 33 | UIViewController *iter = self.parentViewController; 34 | while (iter) { 35 | if ([iter isKindOfClass:[RESideMenu class]]) { 36 | return (RESideMenu *)iter; 37 | } else if (iter.parentViewController && iter.parentViewController != iter) { 38 | iter = iter.parentViewController; 39 | } else { 40 | iter = nil; 41 | } 42 | } 43 | return nil; 44 | } 45 | 46 | #pragma mark - 47 | #pragma mark IB Action Helper methods 48 | 49 | - (IBAction)presentLeftMenuViewController:(id)sender 50 | { 51 | [self.sideMenuViewController presentLeftMenuViewController]; 52 | } 53 | 54 | - (IBAction)presentRightMenuViewController:(id)sender 55 | { 56 | [self.sideMenuViewController presentRightMenuViewController]; 57 | } 58 | 59 | @end 60 | -------------------------------------------------------------------------------- /Controller/Five/FiveCell/FiveTableViewCell.m: -------------------------------------------------------------------------------- 1 | // 2 | // FiveTableViewCell.m 3 | // ClothingMaster 4 | // 5 | // Created by Lym on 16/4/12. 6 | // Copyright © 2016年 Lym. All rights reserved. 7 | // 8 | 9 | #import "FiveTableViewCell.h" 10 | #import "Masonry.h" 11 | 12 | #define ScreenWidth [UIScreen mainScreen].bounds.size.width 13 | #define ScreenHeight [UIScreen mainScreen].bounds.size.height 14 | 15 | 16 | @implementation FiveTableViewCell 17 | - (id)initWithMyOfReuseIdentifier:(NSString *)reuseIdentifier andSection:(NSInteger)section{ 18 | 19 | if (self = [super initWithStyle:UITableViewCellStyleDefault reuseIdentifier:reuseIdentifier]) { 20 | self.imgViewBored = [[UIImageView alloc]init]; 21 | [self.contentView addSubview:self.imgViewBored]; 22 | self.imgViewBored.backgroundColor = [UIColor colorWithRed:242/255.0 green:242/255.0 blue:242/255.0 alpha:1]; 23 | [self.imgViewBored mas_makeConstraints:^(MASConstraintMaker *make) { 24 | make.top.mas_equalTo(50); 25 | make.left.mas_equalTo(5); 26 | make.size.mas_equalTo(CGSizeMake(ScreenWidth-10, 0.9)); //每个Cell都有0.9的间隔 27 | }]; 28 | } 29 | return self; 30 | } 31 | 32 | - (id)initWithCollectionOfReuseIdentifier:(NSString *)reuseIdentifier{ 33 | if (self = [super initWithStyle:UITableViewCellStyleDefault reuseIdentifier:reuseIdentifier]) { 34 | 35 | self.imgViewBored = [[UIImageView alloc]init]; 36 | [self.contentView addSubview:self.imgViewBored]; 37 | [self.imgViewBored mas_makeConstraints:^(MASConstraintMaker *make) { 38 | make.top.mas_equalTo(5); 39 | make.left.mas_equalTo(10); 40 | make.size.mas_equalTo(CGSizeMake(100, 70)); 41 | }]; 42 | 43 | self.label = [[UILabel alloc]init]; 44 | [self.contentView addSubview:self.label]; 45 | [self.label mas_makeConstraints:^(MASConstraintMaker *make) { 46 | 47 | make.top.mas_equalTo(5); 48 | make.left.mas_equalTo(120); 49 | make.size.mas_equalTo(CGSizeMake(200, 30)); 50 | }]; 51 | } 52 | return self; 53 | } 54 | 55 | - (void)awakeFromNib { 56 | [super awakeFromNib]; 57 | // Initialization code 58 | } 59 | 60 | - (void)setSelected:(BOOL)selected animated:(BOOL)animated { 61 | [super setSelected:selected animated:animated]; 62 | 63 | // Configure the view for the selected state 64 | } 65 | @end 66 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Custom/Footer/Auto/MJRefreshAutoStateFooter.m: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshAutoStateFooter.m 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/6/13. 6 | // Copyright © 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshAutoStateFooter.h" 10 | 11 | @interface MJRefreshAutoStateFooter() 12 | { 13 | /** 显示刷新状态的label */ 14 | __unsafe_unretained UILabel *_stateLabel; 15 | } 16 | /** 所有状态对应的文字 */ 17 | @property (strong, nonatomic) NSMutableDictionary *stateTitles; 18 | @end 19 | 20 | @implementation MJRefreshAutoStateFooter 21 | #pragma mark - 懒加载 22 | - (NSMutableDictionary *)stateTitles 23 | { 24 | if (!_stateTitles) { 25 | self.stateTitles = [NSMutableDictionary dictionary]; 26 | } 27 | return _stateTitles; 28 | } 29 | 30 | - (UILabel *)stateLabel 31 | { 32 | if (!_stateLabel) { 33 | [self addSubview:_stateLabel = [UILabel label]]; 34 | } 35 | return _stateLabel; 36 | } 37 | 38 | #pragma mark - 公共方法 39 | - (void)setTitle:(NSString *)title forState:(MJRefreshState)state 40 | { 41 | if (title == nil) return; 42 | self.stateTitles[@(state)] = title; 43 | self.stateLabel.text = self.stateTitles[@(self.state)]; 44 | } 45 | 46 | #pragma mark - 私有方法 47 | - (void)stateLabelClick 48 | { 49 | if (self.state == MJRefreshStateIdle) { 50 | [self beginRefreshing]; 51 | } 52 | } 53 | 54 | #pragma mark - 重写父类的方法 55 | - (void)prepare 56 | { 57 | [super prepare]; 58 | 59 | // 初始化文字 60 | [self setTitle:MJRefreshAutoFooterIdleText forState:MJRefreshStateIdle]; 61 | [self setTitle:MJRefreshAutoFooterRefreshingText forState:MJRefreshStateRefreshing]; 62 | [self setTitle:MJRefreshAutoFooterNoMoreDataText forState:MJRefreshStateNoMoreData]; 63 | 64 | // 监听label 65 | self.stateLabel.userInteractionEnabled = YES; 66 | [self.stateLabel addGestureRecognizer:[[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(stateLabelClick)]]; 67 | } 68 | 69 | - (void)placeSubviews 70 | { 71 | [super placeSubviews]; 72 | 73 | if (self.stateLabel.constraints.count) return; 74 | 75 | // 状态标签 76 | self.stateLabel.frame = self.bounds; 77 | } 78 | 79 | - (void)setState:(MJRefreshState)state 80 | { 81 | MJRefreshCheckState 82 | 83 | if (self.isRefreshingTitleHidden && state == MJRefreshStateRefreshing) { 84 | self.stateLabel.text = nil; 85 | } else { 86 | self.stateLabel.text = self.stateTitles[@(state)]; 87 | } 88 | } 89 | @end -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/MJRefreshConst.h: -------------------------------------------------------------------------------- 1 | // 代码地址: https://github.com/CoderMJLee/MJRefresh 2 | // 代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000 3 | #import 4 | #import 5 | 6 | // 弱引用 7 | #define MJWeakSelf __weak typeof(self) weakSelf = self; 8 | 9 | // 日志输出 10 | #ifdef DEBUG 11 | #define MJRefreshLog(...) NSLog(__VA_ARGS__) 12 | #else 13 | #define MJRefreshLog(...) 14 | #endif 15 | 16 | // 过期提醒 17 | #define MJRefreshDeprecated(instead) NS_DEPRECATED(2_0, 2_0, 2_0, 2_0, instead) 18 | 19 | // 运行时objc_msgSend 20 | #define MJRefreshMsgSend(...) ((void (*)(void *, SEL, UIView *))objc_msgSend)(__VA_ARGS__) 21 | #define MJRefreshMsgTarget(target) (__bridge void *)(target) 22 | 23 | // RGB颜色 24 | #define MJRefreshColor(r, g, b) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:1.0] 25 | 26 | // 文字颜色 27 | #define MJRefreshLabelTextColor MJRefreshColor(90, 90, 90) 28 | 29 | // 字体大小 30 | #define MJRefreshLabelFont [UIFont boldSystemFontOfSize:14] 31 | 32 | // 图片路径 33 | #define MJRefreshSrcName(file) [@"MJRefresh.bundle" stringByAppendingPathComponent:file] 34 | #define MJRefreshFrameworkSrcName(file) [@"Frameworks/MJRefresh.framework/MJRefresh.bundle" stringByAppendingPathComponent:file] 35 | 36 | // 常量 37 | UIKIT_EXTERN const CGFloat MJRefreshHeaderHeight; 38 | UIKIT_EXTERN const CGFloat MJRefreshFooterHeight; 39 | UIKIT_EXTERN const CGFloat MJRefreshFastAnimationDuration; 40 | UIKIT_EXTERN const CGFloat MJRefreshSlowAnimationDuration; 41 | 42 | UIKIT_EXTERN NSString *const MJRefreshKeyPathContentOffset; 43 | UIKIT_EXTERN NSString *const MJRefreshKeyPathContentSize; 44 | UIKIT_EXTERN NSString *const MJRefreshKeyPathContentInset; 45 | UIKIT_EXTERN NSString *const MJRefreshKeyPathPanState; 46 | 47 | UIKIT_EXTERN NSString *const MJRefreshHeaderLastUpdatedTimeKey; 48 | 49 | UIKIT_EXTERN NSString *const MJRefreshHeaderIdleText; 50 | UIKIT_EXTERN NSString *const MJRefreshHeaderPullingText; 51 | UIKIT_EXTERN NSString *const MJRefreshHeaderRefreshingText; 52 | 53 | UIKIT_EXTERN NSString *const MJRefreshAutoFooterIdleText; 54 | UIKIT_EXTERN NSString *const MJRefreshAutoFooterRefreshingText; 55 | UIKIT_EXTERN NSString *const MJRefreshAutoFooterNoMoreDataText; 56 | 57 | UIKIT_EXTERN NSString *const MJRefreshBackFooterIdleText; 58 | UIKIT_EXTERN NSString *const MJRefreshBackFooterPullingText; 59 | UIKIT_EXTERN NSString *const MJRefreshBackFooterRefreshingText; 60 | UIKIT_EXTERN NSString *const MJRefreshBackFooterNoMoreDataText; 61 | 62 | // 状态检查 63 | #define MJRefreshCheckState \ 64 | MJRefreshState oldState = self.state; \ 65 | if (state == oldState) return; \ 66 | [super setState:state]; 67 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/UIScrollView+MJExtension.m: -------------------------------------------------------------------------------- 1 | // 代码地址: https://github.com/CoderMJLee/MJRefresh 2 | // 代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000 3 | // UIScrollView+Extension.m 4 | // MJRefreshExample 5 | // 6 | // Created by MJ Lee on 14-5-28. 7 | // Copyright (c) 2014年 小码哥. All rights reserved. 8 | // 9 | 10 | #import "UIScrollView+MJExtension.h" 11 | #import 12 | 13 | @implementation UIScrollView (MJExtension) 14 | 15 | - (void)setMj_insetT:(CGFloat)mj_insetT 16 | { 17 | UIEdgeInsets inset = self.contentInset; 18 | inset.top = mj_insetT; 19 | self.contentInset = inset; 20 | } 21 | 22 | - (CGFloat)mj_insetT 23 | { 24 | return self.contentInset.top; 25 | } 26 | 27 | - (void)setMj_insetB:(CGFloat)mj_insetB 28 | { 29 | UIEdgeInsets inset = self.contentInset; 30 | inset.bottom = mj_insetB; 31 | self.contentInset = inset; 32 | } 33 | 34 | - (CGFloat)mj_insetB 35 | { 36 | return self.contentInset.bottom; 37 | } 38 | 39 | - (void)setMj_insetL:(CGFloat)mj_insetL 40 | { 41 | UIEdgeInsets inset = self.contentInset; 42 | inset.left = mj_insetL; 43 | self.contentInset = inset; 44 | } 45 | 46 | - (CGFloat)mj_insetL 47 | { 48 | return self.contentInset.left; 49 | } 50 | 51 | - (void)setMj_insetR:(CGFloat)mj_insetR 52 | { 53 | UIEdgeInsets inset = self.contentInset; 54 | inset.right = mj_insetR; 55 | self.contentInset = inset; 56 | } 57 | 58 | - (CGFloat)mj_insetR 59 | { 60 | return self.contentInset.right; 61 | } 62 | 63 | - (void)setMj_offsetX:(CGFloat)mj_offsetX 64 | { 65 | CGPoint offset = self.contentOffset; 66 | offset.x = mj_offsetX; 67 | self.contentOffset = offset; 68 | } 69 | 70 | - (CGFloat)mj_offsetX 71 | { 72 | return self.contentOffset.x; 73 | } 74 | 75 | - (void)setMj_offsetY:(CGFloat)mj_offsetY 76 | { 77 | CGPoint offset = self.contentOffset; 78 | offset.y = mj_offsetY; 79 | self.contentOffset = offset; 80 | } 81 | 82 | - (CGFloat)mj_offsetY 83 | { 84 | return self.contentOffset.y; 85 | } 86 | 87 | - (void)setMj_contentW:(CGFloat)mj_contentW 88 | { 89 | CGSize size = self.contentSize; 90 | size.width = mj_contentW; 91 | self.contentSize = size; 92 | } 93 | 94 | - (CGFloat)mj_contentW 95 | { 96 | return self.contentSize.width; 97 | } 98 | 99 | - (void)setMj_contentH:(CGFloat)mj_contentH 100 | { 101 | CGSize size = self.contentSize; 102 | size.height = mj_contentH; 103 | self.contentSize = size; 104 | } 105 | 106 | - (CGFloat)mj_contentH 107 | { 108 | return self.contentSize.height; 109 | } 110 | @end 111 | -------------------------------------------------------------------------------- /Pods/AFNetworking/UIKit+AFNetworking/UIProgressView+AFNetworking.h: -------------------------------------------------------------------------------- 1 | // UIProgressView+AFNetworking.h 2 | // Copyright (c) 2011–2015 Alamofire Software Foundation (http://alamofire.org/) 3 | // 4 | // Permission is hereby granted, free of charge, to any person obtaining a copy 5 | // of this software and associated documentation files (the "Software"), to deal 6 | // in the Software without restriction, including without limitation the rights 7 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 8 | // copies of the Software, and to permit persons to whom the Software is 9 | // furnished to do so, subject to the following conditions: 10 | // 11 | // The above copyright notice and this permission notice shall be included in 12 | // all copies or substantial portions of the Software. 13 | // 14 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 17 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 19 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 20 | // THE SOFTWARE. 21 | 22 | #import 23 | 24 | #import 25 | 26 | #if TARGET_OS_IOS || TARGET_OS_TV 27 | 28 | #import 29 | 30 | NS_ASSUME_NONNULL_BEGIN 31 | 32 | 33 | /** 34 | This category adds methods to the UIKit framework's `UIProgressView` class. The methods in this category provide support for binding the progress to the upload and download progress of a session task. 35 | */ 36 | @interface UIProgressView (AFNetworking) 37 | 38 | ///------------------------------------ 39 | /// @name Setting Session Task Progress 40 | ///------------------------------------ 41 | 42 | /** 43 | Binds the progress to the upload progress of the specified session task. 44 | 45 | @param task The session task. 46 | @param animated `YES` if the change should be animated, `NO` if the change should happen immediately. 47 | */ 48 | - (void)setProgressWithUploadProgressOfTask:(NSURLSessionUploadTask *)task 49 | animated:(BOOL)animated; 50 | 51 | /** 52 | Binds the progress to the download progress of the specified session task. 53 | 54 | @param task The session task. 55 | @param animated `YES` if the change should be animated, `NO` if the change should happen immediately. 56 | */ 57 | - (void)setProgressWithDownloadProgressOfTask:(NSURLSessionDownloadTask *)task 58 | animated:(BOOL)animated; 59 | 60 | @end 61 | 62 | NS_ASSUME_NONNULL_END 63 | 64 | #endif 65 | -------------------------------------------------------------------------------- /Controller/Two/TestInfoVC.m: -------------------------------------------------------------------------------- 1 | // 2 | // TestInfoVC.m 3 | // ClothingMaster 4 | // 5 | // Created by Lym on 16/4/18. 6 | // Copyright © 2016年 Lym. All rights reserved. 7 | // 8 | 9 | #import "TestInfoVC.h" 10 | #import "Masonry.h" 11 | #import "TestData.h" 12 | #define ScreenWidth [UIScreen mainScreen].bounds.size.width 13 | #define ScreenHeight [UIScreen mainScreen].bounds.size.height 14 | @interface TestInfoVC () 15 | 16 | @end 17 | 18 | @implementation TestInfoVC 19 | @synthesize TestTitle; 20 | -(void)setInfo:(NSString *)Info 21 | { 22 | TestTitle=Info; 23 | } 24 | - (void)viewDidLoad { 25 | [super viewDidLoad]; 26 | self.view.backgroundColor = [UIColor whiteColor]; 27 | self.title=TestTitle; 28 | [self.navigationController.navigationBar setBackgroundImage:[UIImage imageNamed:@"TopBackground"] forBarMetrics:UIBarMetricsDefault]; 29 | [self.navigationController.navigationBar setTitleTextAttributes:[NSDictionary dictionaryWithObjectsAndKeys:[UIColor whiteColor],NSForegroundColorAttributeName,nil]]; //title字体颜色 30 | [self.navigationController.navigationBar setTintColor:[UIColor whiteColor]]; //返回按钮颜色 31 | 32 | TestData *__TestData=[[TestData alloc]init]; 33 | 34 | UIView *TestInfoView=[[UIView alloc]init]; 35 | TestInfoView.backgroundColor=[UIColor colorWithRed:20/255.0 green:200/255.0 blue:240/255.0 alpha:0.3]; 36 | [TestInfoView.layer setCornerRadius:12.0]; //边框变圆滑 37 | [self.view addSubview:TestInfoView]; 38 | [TestInfoView mas_makeConstraints:^(MASConstraintMaker *make) { 39 | make.top.mas_equalTo(self.view).offset(20); 40 | make.size.mas_equalTo(CGSizeMake(4*ScreenWidth/5, ScreenHeight-160)); 41 | make.centerX.mas_equalTo(self.view); 42 | }]; 43 | 44 | UILabel *TestInfo=[[UILabel alloc]init]; 45 | TestInfo.text=[__TestData getData:TestTitle]; 46 | TestInfo.textAlignment = NSTextAlignmentCenter; 47 | [TestInfo setFont:[UIFont systemFontOfSize:ScreenWidth/25]]; 48 | [TestInfo setTextColor:[UIColor grayColor]]; 49 | TestInfo.numberOfLines=0; 50 | [TestInfoView addSubview:TestInfo]; 51 | [TestInfo mas_makeConstraints:^(MASConstraintMaker *make) { 52 | make.top.mas_equalTo(TestInfoView); 53 | make.left.mas_equalTo(TestInfoView).offset(ScreenWidth/15); 54 | make.size.mas_equalTo(CGSizeMake(2*ScreenWidth/3, ScreenHeight-160)); 55 | 56 | }]; 57 | } 58 | 59 | - (void)didReceiveMemoryWarning { 60 | [super didReceiveMemoryWarning]; 61 | // Dispose of any resources that can be recreated. 62 | } 63 | 64 | /* 65 | #pragma mark - Navigation 66 | 67 | // In a storyboard-based application, you will often want to do a little preparation before navigation 68 | - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender { 69 | // Get the new view controller using [segue destinationViewController]. 70 | // Pass the selected object to the new view controller. 71 | } 72 | */ 73 | 74 | @end 75 | -------------------------------------------------------------------------------- /Pods/Masonry/Masonry/NSArray+MASAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSArray+MASAdditions.h 3 | // 4 | // 5 | // Created by Daniel Hammond on 11/26/13. 6 | // 7 | // 8 | 9 | #import "MASUtilities.h" 10 | #import "MASConstraintMaker.h" 11 | #import "MASViewAttribute.h" 12 | 13 | typedef NS_ENUM(NSUInteger, MASAxisType) { 14 | MASAxisTypeHorizontal, 15 | MASAxisTypeVertical 16 | }; 17 | 18 | @interface NSArray (MASAdditions) 19 | 20 | /** 21 | * Creates a MASConstraintMaker with each view in the callee. 22 | * Any constraints defined are added to the view or the appropriate superview once the block has finished executing on each view 23 | * 24 | * @param block scope within which you can build up the constraints which you wish to apply to each view. 25 | * 26 | * @return Array of created MASConstraints 27 | */ 28 | - (NSArray *)mas_makeConstraints:(void (^)(MASConstraintMaker *make))block; 29 | 30 | /** 31 | * Creates a MASConstraintMaker with each view in the callee. 32 | * Any constraints defined are added to each view or the appropriate superview once the block has finished executing on each view. 33 | * If an existing constraint exists then it will be updated instead. 34 | * 35 | * @param block scope within which you can build up the constraints which you wish to apply to each view. 36 | * 37 | * @return Array of created/updated MASConstraints 38 | */ 39 | - (NSArray *)mas_updateConstraints:(void (^)(MASConstraintMaker *make))block; 40 | 41 | /** 42 | * Creates a MASConstraintMaker with each view in the callee. 43 | * Any constraints defined are added to each view or the appropriate superview once the block has finished executing on each view. 44 | * All constraints previously installed for the views will be removed. 45 | * 46 | * @param block scope within which you can build up the constraints which you wish to apply to each view. 47 | * 48 | * @return Array of created/updated MASConstraints 49 | */ 50 | - (NSArray *)mas_remakeConstraints:(void (^)(MASConstraintMaker *make))block; 51 | 52 | /** 53 | * distribute with fixed spacing 54 | * 55 | * @param axisType which axis to distribute items along 56 | * @param fixedSpacing the spacing between each item 57 | * @param leadSpacing the spacing before the first item and the container 58 | * @param tailSpacing the spacing after the last item and the container 59 | */ 60 | - (void)mas_distributeViewsAlongAxis:(MASAxisType)axisType withFixedSpacing:(CGFloat)fixedSpacing leadSpacing:(CGFloat)leadSpacing tailSpacing:(CGFloat)tailSpacing; 61 | 62 | /** 63 | * distribute with fixed item size 64 | * 65 | * @param axisType which axis to distribute items along 66 | * @param fixedItemLength the fixed length of each item 67 | * @param leadSpacing the spacing before the first item and the container 68 | * @param tailSpacing the spacing after the last item and the container 69 | */ 70 | - (void)mas_distributeViewsAlongAxis:(MASAxisType)axisType withFixedItemLength:(CGFloat)fixedItemLength leadSpacing:(CGFloat)leadSpacing tailSpacing:(CGFloat)tailSpacing; 71 | 72 | @end 73 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Base/MJRefreshComponent.h: -------------------------------------------------------------------------------- 1 | // 代码地址: https://github.com/CoderMJLee/MJRefresh 2 | // 代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000 3 | // MJRefreshComponent.h 4 | // MJRefreshExample 5 | // 6 | // Created by MJ Lee on 15/3/4. 7 | // Copyright (c) 2015年 小码哥. All rights reserved. 8 | // 刷新控件的基类 9 | 10 | #import 11 | #import "MJRefreshConst.h" 12 | #import "UIView+MJExtension.h" 13 | #import "UIScrollView+MJExtension.h" 14 | #import "UIScrollView+MJRefresh.h" 15 | 16 | /** 刷新控件的状态 */ 17 | typedef NS_ENUM(NSInteger, MJRefreshState) { 18 | /** 普通闲置状态 */ 19 | MJRefreshStateIdle = 1, 20 | /** 松开就可以进行刷新的状态 */ 21 | MJRefreshStatePulling, 22 | /** 正在刷新中的状态 */ 23 | MJRefreshStateRefreshing, 24 | /** 即将刷新的状态 */ 25 | MJRefreshStateWillRefresh, 26 | /** 所有数据加载完毕,没有更多的数据了 */ 27 | MJRefreshStateNoMoreData 28 | }; 29 | 30 | /** 进入刷新状态的回调 */ 31 | typedef void (^MJRefreshComponentRefreshingBlock)(); 32 | 33 | /** 刷新控件的基类 */ 34 | @interface MJRefreshComponent : UIView 35 | { 36 | /** 记录scrollView刚开始的inset */ 37 | UIEdgeInsets _scrollViewOriginalInset; 38 | /** 父控件 */ 39 | __weak UIScrollView *_scrollView; 40 | } 41 | #pragma mark - 刷新回调 42 | /** 正在刷新的回调 */ 43 | @property (copy, nonatomic) MJRefreshComponentRefreshingBlock refreshingBlock; 44 | /** 设置回调对象和回调方法 */ 45 | - (void)setRefreshingTarget:(id)target refreshingAction:(SEL)action; 46 | /** 回调对象 */ 47 | @property (weak, nonatomic) id refreshingTarget; 48 | /** 回调方法 */ 49 | @property (assign, nonatomic) SEL refreshingAction; 50 | /** 触发回调(交给子类去调用) */ 51 | - (void)executeRefreshingCallback; 52 | 53 | #pragma mark - 刷新状态控制 54 | /** 进入刷新状态 */ 55 | - (void)beginRefreshing; 56 | /** 结束刷新状态 */ 57 | - (void)endRefreshing; 58 | /** 是否正在刷新 */ 59 | - (BOOL)isRefreshing; 60 | /** 刷新状态 一般交给子类内部实现 */ 61 | @property (assign, nonatomic) MJRefreshState state; 62 | 63 | #pragma mark - 交给子类去访问 64 | /** 记录scrollView刚开始的inset */ 65 | @property (assign, nonatomic, readonly) UIEdgeInsets scrollViewOriginalInset; 66 | /** 父控件 */ 67 | @property (weak, nonatomic, readonly) UIScrollView *scrollView; 68 | 69 | #pragma mark - 交给子类们去实现 70 | /** 初始化 */ 71 | - (void)prepare NS_REQUIRES_SUPER; 72 | /** 摆放子控件frame */ 73 | - (void)placeSubviews NS_REQUIRES_SUPER; 74 | /** 当scrollView的contentOffset发生改变的时候调用 */ 75 | - (void)scrollViewContentOffsetDidChange:(NSDictionary *)change NS_REQUIRES_SUPER; 76 | /** 当scrollView的contentSize发生改变的时候调用 */ 77 | - (void)scrollViewContentSizeDidChange:(NSDictionary *)change NS_REQUIRES_SUPER; 78 | /** 当scrollView的拖拽状态发生改变的时候调用 */ 79 | - (void)scrollViewPanStateDidChange:(NSDictionary *)change NS_REQUIRES_SUPER; 80 | 81 | 82 | #pragma mark - 其他 83 | /** 拉拽的百分比(交给子类重写) */ 84 | @property (assign, nonatomic) CGFloat pullingPercent; 85 | /** 根据拖拽比例自动切换透明度 */ 86 | @property (assign, nonatomic, getter=isAutoChangeAlpha) BOOL autoChangeAlpha MJRefreshDeprecated("请使用automaticallyChangeAlpha属性"); 87 | /** 根据拖拽比例自动切换透明度 */ 88 | @property (assign, nonatomic, getter=isAutomaticallyChangeAlpha) BOOL automaticallyChangeAlpha; 89 | @end 90 | 91 | @interface UILabel(MJRefresh) 92 | + (instancetype)label; 93 | @end 94 | -------------------------------------------------------------------------------- /Controller/Control/ControlTabbarController.m: -------------------------------------------------------------------------------- 1 | // 2 | // ControlTabbarController.m 3 | // ClothingMaster 4 | // 5 | // Created by Lym on 16/4/17. 6 | // Copyright © 2016年 Lym. All rights reserved. 7 | // 8 | 9 | #import "ControlTabbarController.h" 10 | #import "NewDayViewController.h" 11 | #import "AdviseViewController.h" 12 | #import "DesignViewController.h" 13 | #import "BrandViewController.h" 14 | #import "PrivateViewController.h" 15 | @interface ControlTabbarController () 16 | @property(nonatomic, strong) UIButton *openDrawerButton; 17 | @end 18 | 19 | @implementation ControlTabbarController 20 | 21 | - (void)viewDidLoad { 22 | [super viewDidLoad]; 23 | 24 | NewDayViewController *VC1=[[NewDayViewController alloc]init]; 25 | VC1.tabBarItem.image=[UIImage imageNamed:@"1"]; 26 | VC1.title=@"今日推荐"; 27 | UINavigationController *NC1=[[UINavigationController alloc]initWithRootViewController:VC1]; 28 | [self addChildViewController:NC1]; 29 | 30 | AdviseViewController *VC2=[[AdviseViewController alloc]init]; 31 | VC2.tabBarItem.image=[UIImage imageNamed:@"2"]; 32 | VC2.title=@"穿衣推荐"; 33 | UINavigationController *NC2=[[UINavigationController alloc]initWithRootViewController:VC2]; 34 | [self addChildViewController:NC2]; 35 | 36 | DesignViewController *VC3=[[DesignViewController alloc]init]; 37 | VC3.tabBarItem.image=[UIImage imageNamed:@"3"]; 38 | VC3.title=@"搭配技巧"; 39 | UINavigationController *NC3=[[UINavigationController alloc]initWithRootViewController:VC3]; 40 | [self addChildViewController:NC3]; 41 | 42 | BrandViewController *VC4=[[BrandViewController alloc]init]; 43 | VC4.tabBarItem.image=[UIImage imageNamed:@"4"]; 44 | VC4.title=@"知名品牌"; 45 | UINavigationController *NC4=[[UINavigationController alloc]initWithRootViewController:VC4]; 46 | [self addChildViewController:NC4]; 47 | 48 | PrivateViewController *VC5=[[PrivateViewController alloc]init]; 49 | VC5.tabBarItem.image=[UIImage imageNamed:@"5"]; 50 | VC5.title=@"个人设置"; 51 | UINavigationController *NC5=[[UINavigationController alloc]initWithRootViewController:VC5]; 52 | [self addChildViewController:NC5]; 53 | 54 | 55 | self.tabBar.layer.shadowColor = [UIColor colorWithRed:0.75 green:0.75 blue:0.75 alpha:1].CGColor; 56 | self.tabBar.layer.shadowOpacity = 1; 57 | self.tabBar.layer.shadowRadius = 10; 58 | self.tabBar.tintColor = [UIColor colorWithRed:1 green:157/255.0 blue:158/255.0 alpha:1]; 59 | self.tabBar.translucent = NO; 60 | 61 | 62 | } 63 | //在控制器上层controller调用viewwillappear 64 | -(void)viewDidAppear:(BOOL)animated{ 65 | [super viewDidAppear:animated]; 66 | self.selectedIndex=self.selectVCIndex; 67 | } 68 | //隐藏状态栏 69 | -(BOOL)prefersStatusBarHidden{ 70 | return NO; 71 | } 72 | //修改状态栏的外观,亮色 73 | -(UIStatusBarStyle)preferredStatusBarStyle{ 74 | return UIStatusBarStyleLightContent; 75 | } 76 | 77 | 78 | - (void)didReceiveMemoryWarning { 79 | [super didReceiveMemoryWarning]; 80 | // Dispose of any resources that can be recreated. 81 | } 82 | 83 | 84 | @end 85 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Custom/Footer/Auto/MJRefreshAutoGifFooter.m: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshAutoGifFooter.m 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshAutoGifFooter.h" 10 | 11 | @interface MJRefreshAutoGifFooter() 12 | { 13 | __unsafe_unretained UIImageView *_gifView; 14 | } 15 | /** 所有状态对应的动画图片 */ 16 | @property (strong, nonatomic) NSMutableDictionary *stateImages; 17 | /** 所有状态对应的动画时间 */ 18 | @property (strong, nonatomic) NSMutableDictionary *stateDurations; 19 | @end 20 | 21 | @implementation MJRefreshAutoGifFooter 22 | #pragma mark - 懒加载 23 | - (UIImageView *)gifView 24 | { 25 | if (!_gifView) { 26 | UIImageView *gifView = [[UIImageView alloc] init]; 27 | [self addSubview:_gifView = gifView]; 28 | } 29 | return _gifView; 30 | } 31 | 32 | - (NSMutableDictionary *)stateImages 33 | { 34 | if (!_stateImages) { 35 | self.stateImages = [NSMutableDictionary dictionary]; 36 | } 37 | return _stateImages; 38 | } 39 | 40 | - (NSMutableDictionary *)stateDurations 41 | { 42 | if (!_stateDurations) { 43 | self.stateDurations = [NSMutableDictionary dictionary]; 44 | } 45 | return _stateDurations; 46 | } 47 | 48 | #pragma mark - 公共方法 49 | - (void)setImages:(NSArray *)images duration:(NSTimeInterval)duration forState:(MJRefreshState)state 50 | { 51 | if (images == nil) return; 52 | 53 | self.stateImages[@(state)] = images; 54 | self.stateDurations[@(state)] = @(duration); 55 | 56 | /* 根据图片设置控件的高度 */ 57 | UIImage *image = [images firstObject]; 58 | if (image.size.height > self.mj_h) { 59 | self.mj_h = image.size.height; 60 | } 61 | } 62 | 63 | - (void)setImages:(NSArray *)images forState:(MJRefreshState)state 64 | { 65 | [self setImages:images duration:images.count * 0.1 forState:state]; 66 | } 67 | 68 | #pragma mark - 实现父类的方法 69 | - (void)placeSubviews 70 | { 71 | [super placeSubviews]; 72 | 73 | if (self.gifView.constraints.count) return; 74 | 75 | self.gifView.frame = self.bounds; 76 | if (self.isRefreshingTitleHidden) { 77 | self.gifView.contentMode = UIViewContentModeCenter; 78 | } else { 79 | self.gifView.contentMode = UIViewContentModeRight; 80 | self.gifView.mj_w = self.mj_w * 0.5 - 90; 81 | } 82 | } 83 | 84 | - (void)setState:(MJRefreshState)state 85 | { 86 | MJRefreshCheckState 87 | 88 | // 根据状态做事情 89 | if (state == MJRefreshStateRefreshing) { 90 | NSArray *images = self.stateImages[@(state)]; 91 | if (images.count == 0) return; 92 | [self.gifView stopAnimating]; 93 | 94 | self.gifView.hidden = NO; 95 | if (images.count == 1) { // 单张图片 96 | self.gifView.image = [images lastObject]; 97 | } else { // 多张图片 98 | self.gifView.animationImages = images; 99 | self.gifView.animationDuration = [self.stateDurations[@(state)] doubleValue]; 100 | [self.gifView startAnimating]; 101 | } 102 | } else if (state == MJRefreshStateNoMoreData || state == MJRefreshStateIdle) { 103 | [self.gifView stopAnimating]; 104 | self.gifView.hidden = YES; 105 | } 106 | } 107 | @end 108 | 109 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods/Pods-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | install_framework() 10 | { 11 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 12 | local source="${BUILT_PRODUCTS_DIR}/$1" 13 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 14 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 15 | elif [ -r "$1" ]; then 16 | local source="$1" 17 | fi 18 | 19 | local destination="${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 20 | 21 | if [ -L "${source}" ]; then 22 | echo "Symlinked..." 23 | source="$(readlink "${source}")" 24 | fi 25 | 26 | # use filter instead of exclude so missing patterns dont' throw errors 27 | echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 28 | rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 29 | 30 | local basename 31 | basename="$(basename -s .framework "$1")" 32 | binary="${destination}/${basename}.framework/${basename}" 33 | if ! [ -r "$binary" ]; then 34 | binary="${destination}/${basename}" 35 | fi 36 | 37 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 38 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 39 | strip_invalid_archs "$binary" 40 | fi 41 | 42 | # Resign the code if required by the build settings to avoid unstable apps 43 | code_sign_if_enabled "${destination}/$(basename "$1")" 44 | 45 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 46 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 47 | local swift_runtime_libs 48 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 49 | for lib in $swift_runtime_libs; do 50 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 51 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 52 | code_sign_if_enabled "${destination}/${lib}" 53 | done 54 | fi 55 | } 56 | 57 | # Signs a framework with the provided identity 58 | code_sign_if_enabled() { 59 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 60 | # Use the current code_sign_identitiy 61 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 62 | echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements \"$1\"" 63 | /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements "$1" 64 | fi 65 | } 66 | 67 | # Strip invalid architectures 68 | strip_invalid_archs() { 69 | binary="$1" 70 | # Get architectures for current file 71 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 72 | stripped="" 73 | for arch in $archs; do 74 | if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then 75 | # Strip non-valid architectures in-place 76 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 77 | stripped="$stripped $arch" 78 | fi 79 | done 80 | if [[ "$stripped" ]]; then 81 | echo "Stripped $binary of architectures:$stripped" 82 | fi 83 | } 84 | 85 | -------------------------------------------------------------------------------- /ClothingMaster/AppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.m 3 | // ClothingMaster 4 | // 5 | // Created by Lym on 16/4/6. 6 | // Copyright © 2016年 Lym. All rights reserved. 7 | // 8 | 9 | #import "AppDelegate.h" 10 | //#import "NewDayViewController.h" 11 | //#import "AdviseViewController.h" 12 | //#import "DesignViewController.h" 13 | //#import "BrandViewController.h" 14 | //#import "PrivateViewController.h" 15 | #import "ControlVC.h" 16 | #import "ControlTabbarController.h" 17 | @interface AppDelegate () 18 | { 19 | RESideMenu *sideMenuViewController; 20 | 21 | } 22 | @end 23 | 24 | @implementation AppDelegate 25 | 26 | 27 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { 28 | self.window=[[UIWindow alloc]initWithFrame:[UIScreen mainScreen].bounds]; 29 | ControlTabbarController *first=[[ControlTabbarController alloc]init]; 30 | ControlVC *leftMenuViewController=[[ControlVC alloc]init]; 31 | //创建滑动屏 32 | sideMenuViewController=[[RESideMenu alloc]initWithContentViewController:first leftMenuViewController:leftMenuViewController rightMenuViewController:nil]; 33 | //滑屏属性 34 | sideMenuViewController.mainController=first; 35 | sideMenuViewController.menuPreferredStatusBarStyle=1; 36 | sideMenuViewController.delegate=self; 37 | sideMenuViewController.contentViewShadowColor=[UIColor blackColor]; 38 | sideMenuViewController.contentViewShadowOffset=CGSizeMake(0, 0); 39 | sideMenuViewController.contentViewShadowOpacity=0.6; 40 | sideMenuViewController.contentViewShadowRadius=12; 41 | sideMenuViewController.contentViewShadowEnabled=YES; 42 | //是否缩小 43 | sideMenuViewController.scaleContentView=NO; 44 | self.window.rootViewController=sideMenuViewController; 45 | self.window.backgroundColor=[UIColor whiteColor]; 46 | [self.window makeKeyAndVisible]; 47 | return YES; 48 | } 49 | 50 | - (void)applicationWillResignActive:(UIApplication *)application { 51 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 52 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 53 | } 54 | 55 | - (void)applicationDidEnterBackground:(UIApplication *)application { 56 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 57 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 58 | } 59 | 60 | - (void)applicationWillEnterForeground:(UIApplication *)application { 61 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 62 | } 63 | 64 | - (void)applicationDidBecomeActive:(UIApplication *)application { 65 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 66 | } 67 | 68 | - (void)applicationWillTerminate:(UIApplication *)application { 69 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 70 | // Saves changes in the application's managed object context before the application terminates. 71 | } 72 | 73 | @end 74 | -------------------------------------------------------------------------------- /Pods/Masonry/Masonry/View+MASShorthandAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIView+MASShorthandAdditions.h 3 | // Masonry 4 | // 5 | // Created by Jonas Budelmann on 22/07/13. 6 | // Copyright (c) 2013 Jonas Budelmann. All rights reserved. 7 | // 8 | 9 | #import "View+MASAdditions.h" 10 | 11 | #ifdef MAS_SHORTHAND 12 | 13 | /** 14 | * Shorthand view additions without the 'mas_' prefixes, 15 | * only enabled if MAS_SHORTHAND is defined 16 | */ 17 | @interface MAS_VIEW (MASShorthandAdditions) 18 | 19 | @property (nonatomic, strong, readonly) MASViewAttribute *left; 20 | @property (nonatomic, strong, readonly) MASViewAttribute *top; 21 | @property (nonatomic, strong, readonly) MASViewAttribute *right; 22 | @property (nonatomic, strong, readonly) MASViewAttribute *bottom; 23 | @property (nonatomic, strong, readonly) MASViewAttribute *leading; 24 | @property (nonatomic, strong, readonly) MASViewAttribute *trailing; 25 | @property (nonatomic, strong, readonly) MASViewAttribute *width; 26 | @property (nonatomic, strong, readonly) MASViewAttribute *height; 27 | @property (nonatomic, strong, readonly) MASViewAttribute *centerX; 28 | @property (nonatomic, strong, readonly) MASViewAttribute *centerY; 29 | @property (nonatomic, strong, readonly) MASViewAttribute *baseline; 30 | @property (nonatomic, strong, readonly) MASViewAttribute *(^attribute)(NSLayoutAttribute attr); 31 | 32 | #if TARGET_OS_IPHONE || TARGET_OS_TV 33 | 34 | @property (nonatomic, strong, readonly) MASViewAttribute *leftMargin; 35 | @property (nonatomic, strong, readonly) MASViewAttribute *rightMargin; 36 | @property (nonatomic, strong, readonly) MASViewAttribute *topMargin; 37 | @property (nonatomic, strong, readonly) MASViewAttribute *bottomMargin; 38 | @property (nonatomic, strong, readonly) MASViewAttribute *leadingMargin; 39 | @property (nonatomic, strong, readonly) MASViewAttribute *trailingMargin; 40 | @property (nonatomic, strong, readonly) MASViewAttribute *centerXWithinMargins; 41 | @property (nonatomic, strong, readonly) MASViewAttribute *centerYWithinMargins; 42 | 43 | #endif 44 | 45 | - (NSArray *)makeConstraints:(void(^)(MASConstraintMaker *make))block; 46 | - (NSArray *)updateConstraints:(void(^)(MASConstraintMaker *make))block; 47 | - (NSArray *)remakeConstraints:(void(^)(MASConstraintMaker *make))block; 48 | 49 | @end 50 | 51 | #define MAS_ATTR_FORWARD(attr) \ 52 | - (MASViewAttribute *)attr { \ 53 | return [self mas_##attr]; \ 54 | } 55 | 56 | @implementation MAS_VIEW (MASShorthandAdditions) 57 | 58 | MAS_ATTR_FORWARD(top); 59 | MAS_ATTR_FORWARD(left); 60 | MAS_ATTR_FORWARD(bottom); 61 | MAS_ATTR_FORWARD(right); 62 | MAS_ATTR_FORWARD(leading); 63 | MAS_ATTR_FORWARD(trailing); 64 | MAS_ATTR_FORWARD(width); 65 | MAS_ATTR_FORWARD(height); 66 | MAS_ATTR_FORWARD(centerX); 67 | MAS_ATTR_FORWARD(centerY); 68 | MAS_ATTR_FORWARD(baseline); 69 | 70 | #if TARGET_OS_IPHONE || TARGET_OS_TV 71 | 72 | MAS_ATTR_FORWARD(leftMargin); 73 | MAS_ATTR_FORWARD(rightMargin); 74 | MAS_ATTR_FORWARD(topMargin); 75 | MAS_ATTR_FORWARD(bottomMargin); 76 | MAS_ATTR_FORWARD(leadingMargin); 77 | MAS_ATTR_FORWARD(trailingMargin); 78 | MAS_ATTR_FORWARD(centerXWithinMargins); 79 | MAS_ATTR_FORWARD(centerYWithinMargins); 80 | 81 | #endif 82 | 83 | - (MASViewAttribute *(^)(NSLayoutAttribute))attribute { 84 | return [self mas_attribute]; 85 | } 86 | 87 | - (NSArray *)makeConstraints:(void(^)(MASConstraintMaker *))block { 88 | return [self mas_makeConstraints:block]; 89 | } 90 | 91 | - (NSArray *)updateConstraints:(void(^)(MASConstraintMaker *))block { 92 | return [self mas_updateConstraints:block]; 93 | } 94 | 95 | - (NSArray *)remakeConstraints:(void(^)(MASConstraintMaker *))block { 96 | return [self mas_remakeConstraints:block]; 97 | } 98 | 99 | @end 100 | 101 | #endif 102 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Custom/Header/MJRefreshGifHeader.m: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshGifHeader.m 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshGifHeader.h" 10 | 11 | @interface MJRefreshGifHeader() 12 | { 13 | __unsafe_unretained UIImageView *_gifView; 14 | } 15 | /** 所有状态对应的动画图片 */ 16 | @property (strong, nonatomic) NSMutableDictionary *stateImages; 17 | /** 所有状态对应的动画时间 */ 18 | @property (strong, nonatomic) NSMutableDictionary *stateDurations; 19 | @end 20 | 21 | @implementation MJRefreshGifHeader 22 | #pragma mark - 懒加载 23 | - (UIImageView *)gifView 24 | { 25 | if (!_gifView) { 26 | UIImageView *gifView = [[UIImageView alloc] init]; 27 | [self addSubview:_gifView = gifView]; 28 | } 29 | return _gifView; 30 | } 31 | 32 | - (NSMutableDictionary *)stateImages 33 | { 34 | if (!_stateImages) { 35 | self.stateImages = [NSMutableDictionary dictionary]; 36 | } 37 | return _stateImages; 38 | } 39 | 40 | - (NSMutableDictionary *)stateDurations 41 | { 42 | if (!_stateDurations) { 43 | self.stateDurations = [NSMutableDictionary dictionary]; 44 | } 45 | return _stateDurations; 46 | } 47 | 48 | #pragma mark - 公共方法 49 | - (void)setImages:(NSArray *)images duration:(NSTimeInterval)duration forState:(MJRefreshState)state 50 | { 51 | if (images == nil) return; 52 | 53 | self.stateImages[@(state)] = images; 54 | self.stateDurations[@(state)] = @(duration); 55 | 56 | /* 根据图片设置控件的高度 */ 57 | UIImage *image = [images firstObject]; 58 | if (image.size.height > self.mj_h) { 59 | self.mj_h = image.size.height; 60 | } 61 | } 62 | 63 | - (void)setImages:(NSArray *)images forState:(MJRefreshState)state 64 | { 65 | [self setImages:images duration:images.count * 0.1 forState:state]; 66 | } 67 | 68 | #pragma mark - 实现父类的方法 69 | - (void)setPullingPercent:(CGFloat)pullingPercent 70 | { 71 | [super setPullingPercent:pullingPercent]; 72 | NSArray *images = self.stateImages[@(MJRefreshStateIdle)]; 73 | if (self.state != MJRefreshStateIdle || images.count == 0) return; 74 | // 停止动画 75 | [self.gifView stopAnimating]; 76 | // 设置当前需要显示的图片 77 | NSUInteger index = images.count * pullingPercent; 78 | if (index >= images.count) index = images.count - 1; 79 | self.gifView.image = images[index]; 80 | } 81 | 82 | - (void)placeSubviews 83 | { 84 | [super placeSubviews]; 85 | 86 | if (self.gifView.constraints.count) return; 87 | 88 | self.gifView.frame = self.bounds; 89 | if (self.stateLabel.hidden && self.lastUpdatedTimeLabel.hidden) { 90 | self.gifView.contentMode = UIViewContentModeCenter; 91 | } else { 92 | self.gifView.contentMode = UIViewContentModeRight; 93 | self.gifView.mj_w = self.mj_w * 0.5 - 90; 94 | } 95 | } 96 | 97 | - (void)setState:(MJRefreshState)state 98 | { 99 | MJRefreshCheckState 100 | 101 | // 根据状态做事情 102 | if (state == MJRefreshStatePulling || state == MJRefreshStateRefreshing) { 103 | NSArray *images = self.stateImages[@(state)]; 104 | if (images.count == 0) return; 105 | 106 | [self.gifView stopAnimating]; 107 | if (images.count == 1) { // 单张图片 108 | self.gifView.image = [images lastObject]; 109 | } else { // 多张图片 110 | self.gifView.animationImages = images; 111 | self.gifView.animationDuration = [self.stateDurations[@(state)] doubleValue]; 112 | [self.gifView startAnimating]; 113 | } 114 | } else if (state == MJRefreshStateIdle) { 115 | [self.gifView stopAnimating]; 116 | } 117 | } 118 | @end 119 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Custom/Footer/Back/MJRefreshBackGifFooter.m: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshBackGifFooter.m 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshBackGifFooter.h" 10 | 11 | @interface MJRefreshBackGifFooter() 12 | { 13 | __unsafe_unretained UIImageView *_gifView; 14 | } 15 | /** 所有状态对应的动画图片 */ 16 | @property (strong, nonatomic) NSMutableDictionary *stateImages; 17 | /** 所有状态对应的动画时间 */ 18 | @property (strong, nonatomic) NSMutableDictionary *stateDurations; 19 | @end 20 | 21 | @implementation MJRefreshBackGifFooter 22 | #pragma mark - 懒加载 23 | - (UIImageView *)gifView 24 | { 25 | if (!_gifView) { 26 | UIImageView *gifView = [[UIImageView alloc] init]; 27 | [self addSubview:_gifView = gifView]; 28 | } 29 | return _gifView; 30 | } 31 | 32 | - (NSMutableDictionary *)stateImages 33 | { 34 | if (!_stateImages) { 35 | self.stateImages = [NSMutableDictionary dictionary]; 36 | } 37 | return _stateImages; 38 | } 39 | 40 | - (NSMutableDictionary *)stateDurations 41 | { 42 | if (!_stateDurations) { 43 | self.stateDurations = [NSMutableDictionary dictionary]; 44 | } 45 | return _stateDurations; 46 | } 47 | 48 | #pragma mark - 公共方法 49 | - (void)setImages:(NSArray *)images duration:(NSTimeInterval)duration forState:(MJRefreshState)state 50 | { 51 | if (images == nil) return; 52 | 53 | self.stateImages[@(state)] = images; 54 | self.stateDurations[@(state)] = @(duration); 55 | 56 | /* 根据图片设置控件的高度 */ 57 | UIImage *image = [images firstObject]; 58 | if (image.size.height > self.mj_h) { 59 | self.mj_h = image.size.height; 60 | } 61 | } 62 | 63 | - (void)setImages:(NSArray *)images forState:(MJRefreshState)state 64 | { 65 | [self setImages:images duration:images.count * 0.1 forState:state]; 66 | } 67 | 68 | #pragma mark - 实现父类的方法 69 | - (void)setPullingPercent:(CGFloat)pullingPercent 70 | { 71 | [super setPullingPercent:pullingPercent]; 72 | NSArray *images = self.stateImages[@(MJRefreshStateIdle)]; 73 | if (self.state != MJRefreshStateIdle || images.count == 0) return; 74 | [self.gifView stopAnimating]; 75 | NSUInteger index = images.count * pullingPercent; 76 | if (index >= images.count) index = images.count - 1; 77 | self.gifView.image = images[index]; 78 | } 79 | 80 | - (void)placeSubviews 81 | { 82 | [super placeSubviews]; 83 | 84 | if (self.gifView.constraints.count) return; 85 | 86 | self.gifView.frame = self.bounds; 87 | if (self.stateLabel.hidden) { 88 | self.gifView.contentMode = UIViewContentModeCenter; 89 | } else { 90 | self.gifView.contentMode = UIViewContentModeRight; 91 | self.gifView.mj_w = self.mj_w * 0.5 - 90; 92 | } 93 | } 94 | 95 | - (void)setState:(MJRefreshState)state 96 | { 97 | MJRefreshCheckState 98 | 99 | // 根据状态做事情 100 | if (state == MJRefreshStatePulling || state == MJRefreshStateRefreshing) { 101 | NSArray *images = self.stateImages[@(state)]; 102 | if (images.count == 0) return; 103 | 104 | self.gifView.hidden = NO; 105 | [self.gifView stopAnimating]; 106 | if (images.count == 1) { // 单张图片 107 | self.gifView.image = [images lastObject]; 108 | } else { // 多张图片 109 | self.gifView.animationImages = images; 110 | self.gifView.animationDuration = [self.stateDurations[@(state)] doubleValue]; 111 | [self.gifView startAnimating]; 112 | } 113 | } else if (state == MJRefreshStateIdle) { 114 | self.gifView.hidden = NO; 115 | } else if (state == MJRefreshStateNoMoreData) { 116 | self.gifView.hidden = YES; 117 | } 118 | } 119 | @end 120 | -------------------------------------------------------------------------------- /Pods/Masonry/Masonry/View+MASAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIView+MASAdditions.h 3 | // Masonry 4 | // 5 | // Created by Jonas Budelmann on 20/07/13. 6 | // Copyright (c) 2013 cloudling. All rights reserved. 7 | // 8 | 9 | #import "MASUtilities.h" 10 | #import "MASConstraintMaker.h" 11 | #import "MASViewAttribute.h" 12 | 13 | /** 14 | * Provides constraint maker block 15 | * and convience methods for creating MASViewAttribute which are view + NSLayoutAttribute pairs 16 | */ 17 | @interface MAS_VIEW (MASAdditions) 18 | 19 | /** 20 | * following properties return a new MASViewAttribute with current view and appropriate NSLayoutAttribute 21 | */ 22 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_left; 23 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_top; 24 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_right; 25 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_bottom; 26 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_leading; 27 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_trailing; 28 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_width; 29 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_height; 30 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_centerX; 31 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_centerY; 32 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_baseline; 33 | @property (nonatomic, strong, readonly) MASViewAttribute *(^mas_attribute)(NSLayoutAttribute attr); 34 | 35 | #if TARGET_OS_IPHONE || TARGET_OS_TV 36 | 37 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_leftMargin; 38 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_rightMargin; 39 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_topMargin; 40 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_bottomMargin; 41 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_leadingMargin; 42 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_trailingMargin; 43 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_centerXWithinMargins; 44 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_centerYWithinMargins; 45 | 46 | #endif 47 | 48 | /** 49 | * a key to associate with this view 50 | */ 51 | @property (nonatomic, strong) id mas_key; 52 | 53 | /** 54 | * Finds the closest common superview between this view and another view 55 | * 56 | * @param view other view 57 | * 58 | * @return returns nil if common superview could not be found 59 | */ 60 | - (instancetype)mas_closestCommonSuperview:(MAS_VIEW *)view; 61 | 62 | /** 63 | * Creates a MASConstraintMaker with the callee view. 64 | * Any constraints defined are added to the view or the appropriate superview once the block has finished executing 65 | * 66 | * @param block scope within which you can build up the constraints which you wish to apply to the view. 67 | * 68 | * @return Array of created MASConstraints 69 | */ 70 | - (NSArray *)mas_makeConstraints:(void(^)(MASConstraintMaker *make))block; 71 | 72 | /** 73 | * Creates a MASConstraintMaker with the callee view. 74 | * Any constraints defined are added to the view or the appropriate superview once the block has finished executing. 75 | * If an existing constraint exists then it will be updated instead. 76 | * 77 | * @param block scope within which you can build up the constraints which you wish to apply to the view. 78 | * 79 | * @return Array of created/updated MASConstraints 80 | */ 81 | - (NSArray *)mas_updateConstraints:(void(^)(MASConstraintMaker *make))block; 82 | 83 | /** 84 | * Creates a MASConstraintMaker with the callee view. 85 | * Any constraints defined are added to the view or the appropriate superview once the block has finished executing. 86 | * All constraints previously installed for the view will be removed. 87 | * 88 | * @param block scope within which you can build up the constraints which you wish to apply to the view. 89 | * 90 | * @return Array of created/updated MASConstraints 91 | */ 92 | - (NSArray *)mas_remakeConstraints:(void(^)(MASConstraintMaker *make))block; 93 | 94 | @end 95 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Custom/Footer/Back/MJRefreshBackNormalFooter.m: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshBackNormalFooter.m 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshBackNormalFooter.h" 10 | 11 | @interface MJRefreshBackNormalFooter() 12 | { 13 | __unsafe_unretained UIImageView *_arrowView; 14 | } 15 | @property (weak, nonatomic) UIActivityIndicatorView *loadingView; 16 | @end 17 | 18 | @implementation MJRefreshBackNormalFooter 19 | #pragma mark - 懒加载子控件 20 | - (UIImageView *)arrowView 21 | { 22 | if (!_arrowView) { 23 | UIImage *image = [UIImage imageNamed:MJRefreshSrcName(@"arrow.png")] ?: [UIImage imageNamed:MJRefreshFrameworkSrcName(@"arrow.png")]; 24 | UIImageView *arrowView = [[UIImageView alloc] initWithImage:image]; 25 | [self addSubview:_arrowView = arrowView]; 26 | } 27 | return _arrowView; 28 | } 29 | 30 | 31 | - (UIActivityIndicatorView *)loadingView 32 | { 33 | if (!_loadingView) { 34 | UIActivityIndicatorView *loadingView = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:self.activityIndicatorViewStyle]; 35 | loadingView.hidesWhenStopped = YES; 36 | [self addSubview:_loadingView = loadingView]; 37 | } 38 | return _loadingView; 39 | } 40 | 41 | - (void)setActivityIndicatorViewStyle:(UIActivityIndicatorViewStyle)activityIndicatorViewStyle 42 | { 43 | _activityIndicatorViewStyle = activityIndicatorViewStyle; 44 | 45 | self.loadingView = nil; 46 | [self setNeedsLayout]; 47 | } 48 | #pragma makr - 重写父类的方法 49 | - (void)prepare 50 | { 51 | [super prepare]; 52 | 53 | self.activityIndicatorViewStyle = UIActivityIndicatorViewStyleGray; 54 | } 55 | 56 | - (void)placeSubviews 57 | { 58 | [super placeSubviews]; 59 | 60 | // 箭头的中心点 61 | CGFloat arrowCenterX = self.mj_w * 0.5; 62 | if (!self.stateLabel.hidden) { 63 | arrowCenterX -= 100; 64 | } 65 | CGFloat arrowCenterY = self.mj_h * 0.5; 66 | CGPoint arrowCenter = CGPointMake(arrowCenterX, arrowCenterY); 67 | 68 | // 箭头 69 | if (self.arrowView.constraints.count == 0) { 70 | self.arrowView.mj_size = self.arrowView.image.size; 71 | self.arrowView.center = arrowCenter; 72 | } 73 | 74 | // 圈圈 75 | if (self.loadingView.constraints.count == 0) { 76 | self.loadingView.center = arrowCenter; 77 | } 78 | } 79 | 80 | - (void)setState:(MJRefreshState)state 81 | { 82 | MJRefreshCheckState 83 | 84 | // 根据状态做事情 85 | if (state == MJRefreshStateIdle) { 86 | if (oldState == MJRefreshStateRefreshing) { 87 | self.arrowView.transform = CGAffineTransformMakeRotation(0.000001 - M_PI); 88 | [UIView animateWithDuration:MJRefreshSlowAnimationDuration animations:^{ 89 | self.loadingView.alpha = 0.0; 90 | } completion:^(BOOL finished) { 91 | self.loadingView.alpha = 1.0; 92 | [self.loadingView stopAnimating]; 93 | 94 | self.arrowView.hidden = NO; 95 | }]; 96 | } else { 97 | self.arrowView.hidden = NO; 98 | [self.loadingView stopAnimating]; 99 | [UIView animateWithDuration:MJRefreshFastAnimationDuration animations:^{ 100 | self.arrowView.transform = CGAffineTransformMakeRotation(0.000001 - M_PI); 101 | }]; 102 | } 103 | } else if (state == MJRefreshStatePulling) { 104 | self.arrowView.hidden = NO; 105 | [self.loadingView stopAnimating]; 106 | [UIView animateWithDuration:MJRefreshFastAnimationDuration animations:^{ 107 | self.arrowView.transform = CGAffineTransformIdentity; 108 | }]; 109 | } else if (state == MJRefreshStateRefreshing) { 110 | self.arrowView.hidden = YES; 111 | [self.loadingView startAnimating]; 112 | } else if (state == MJRefreshStateNoMoreData) { 113 | self.arrowView.hidden = YES; 114 | [self.loadingView stopAnimating]; 115 | } 116 | } 117 | 118 | @end 119 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Custom/Header/MJRefreshNormalHeader.m: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshNormalHeader.m 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshNormalHeader.h" 10 | 11 | @interface MJRefreshNormalHeader() 12 | { 13 | __unsafe_unretained UIImageView *_arrowView; 14 | } 15 | @property (weak, nonatomic) UIActivityIndicatorView *loadingView; 16 | @end 17 | 18 | @implementation MJRefreshNormalHeader 19 | #pragma mark - 懒加载子控件 20 | - (UIImageView *)arrowView 21 | { 22 | if (!_arrowView) { 23 | UIImage *image = [UIImage imageNamed:MJRefreshSrcName(@"arrow.png")] ?: [UIImage imageNamed:MJRefreshFrameworkSrcName(@"arrow.png")]; 24 | UIImageView *arrowView = [[UIImageView alloc] initWithImage:image]; 25 | [self addSubview:_arrowView = arrowView]; 26 | } 27 | return _arrowView; 28 | } 29 | 30 | - (UIActivityIndicatorView *)loadingView 31 | { 32 | if (!_loadingView) { 33 | UIActivityIndicatorView *loadingView = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:self.activityIndicatorViewStyle]; 34 | loadingView.hidesWhenStopped = YES; 35 | [self addSubview:_loadingView = loadingView]; 36 | } 37 | return _loadingView; 38 | } 39 | 40 | #pragma mark - 公共方法 41 | - (void)setActivityIndicatorViewStyle:(UIActivityIndicatorViewStyle)activityIndicatorViewStyle 42 | { 43 | _activityIndicatorViewStyle = activityIndicatorViewStyle; 44 | 45 | self.loadingView = nil; 46 | [self setNeedsLayout]; 47 | } 48 | 49 | #pragma makr - 重写父类的方法 50 | - (void)prepare 51 | { 52 | [super prepare]; 53 | 54 | self.activityIndicatorViewStyle = UIActivityIndicatorViewStyleGray; 55 | } 56 | 57 | - (void)placeSubviews 58 | { 59 | [super placeSubviews]; 60 | 61 | // 箭头的中心点 62 | CGFloat arrowCenterX = self.mj_w * 0.5; 63 | if (!self.stateLabel.hidden) { 64 | arrowCenterX -= 100; 65 | } 66 | CGFloat arrowCenterY = self.mj_h * 0.5; 67 | CGPoint arrowCenter = CGPointMake(arrowCenterX, arrowCenterY); 68 | 69 | // 箭头 70 | if (self.arrowView.constraints.count == 0) { 71 | self.arrowView.mj_size = self.arrowView.image.size; 72 | self.arrowView.center = arrowCenter; 73 | } 74 | 75 | // 圈圈 76 | if (self.loadingView.constraints.count == 0) { 77 | self.loadingView.center = arrowCenter; 78 | } 79 | } 80 | 81 | - (void)setState:(MJRefreshState)state 82 | { 83 | MJRefreshCheckState 84 | 85 | // 根据状态做事情 86 | if (state == MJRefreshStateIdle) { 87 | if (oldState == MJRefreshStateRefreshing) { 88 | self.arrowView.transform = CGAffineTransformIdentity; 89 | 90 | [UIView animateWithDuration:MJRefreshSlowAnimationDuration animations:^{ 91 | self.loadingView.alpha = 0.0; 92 | } completion:^(BOOL finished) { 93 | // 如果执行完动画发现不是idle状态,就直接返回,进入其他状态 94 | if (self.state != MJRefreshStateIdle) return; 95 | 96 | self.loadingView.alpha = 1.0; 97 | [self.loadingView stopAnimating]; 98 | self.arrowView.hidden = NO; 99 | }]; 100 | } else { 101 | [self.loadingView stopAnimating]; 102 | self.arrowView.hidden = NO; 103 | [UIView animateWithDuration:MJRefreshFastAnimationDuration animations:^{ 104 | self.arrowView.transform = CGAffineTransformIdentity; 105 | }]; 106 | } 107 | } else if (state == MJRefreshStatePulling) { 108 | [self.loadingView stopAnimating]; 109 | self.arrowView.hidden = NO; 110 | [UIView animateWithDuration:MJRefreshFastAnimationDuration animations:^{ 111 | self.arrowView.transform = CGAffineTransformMakeRotation(0.000001 - M_PI); 112 | }]; 113 | } else if (state == MJRefreshStateRefreshing) { 114 | self.loadingView.alpha = 1.0; // 防止refreshing -> idle的动画完毕动作没有被执行 115 | [self.loadingView startAnimating]; 116 | self.arrowView.hidden = YES; 117 | } 118 | } 119 | @end 120 | --------------------------------------------------------------------------------