Commit c8043a7c by lee

Merge branch 'master' of git.oschina.net:kollway-kollway/newcemarose

parents a1b63a16 036617e2
......@@ -12,8 +12,6 @@
801230F61DD32B39008C7904 /* KWMInformationView.m in Sources */ = {isa = PBXBuildFile; fileRef = 801230F51DD32B39008C7904 /* KWMInformationView.m */; };
801230F81DD32B49008C7904 /* KWMInformationView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 801230F71DD32B49008C7904 /* KWMInformationView.xib */; };
8019E9541DC89CF300CAD7BF /* KWMNewGoodsModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 8019E9531DC89CF300CAD7BF /* KWMNewGoodsModel.m */; };
801E71CE1D9504D50040C76C /* KWMCarCountView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 801E71CD1D9504D50040C76C /* KWMCarCountView.xib */; };
801E71D11D9504EC0040C76C /* KWMCarCountView.m in Sources */ = {isa = PBXBuildFile; fileRef = 801E71D01D9504EC0040C76C /* KWMCarCountView.m */; };
801F87BC1DD1A9B90038FA4C /* KWMNewProducts.m in Sources */ = {isa = PBXBuildFile; fileRef = 801F87BB1DD1A9B90038FA4C /* KWMNewProducts.m */; };
801F87BF1DD1D6850038FA4C /* KWMLoadStatus.m in Sources */ = {isa = PBXBuildFile; fileRef = 801F87BE1DD1D6850038FA4C /* KWMLoadStatus.m */; };
8031DA991D8268CD00349869 /* KWMForgetPasswordVC.m in Sources */ = {isa = PBXBuildFile; fileRef = 8031DA981D8268CD00349869 /* KWMForgetPasswordVC.m */; };
......@@ -24,24 +22,14 @@
804771851D6D585B0086B4DC /* KWMValidationVC.m in Sources */ = {isa = PBXBuildFile; fileRef = 804771841D6D585B0086B4DC /* KWMValidationVC.m */; };
804771881D6D769C0086B4DC /* KWMEmailVC.m in Sources */ = {isa = PBXBuildFile; fileRef = 804771871D6D769C0086B4DC /* KWMEmailVC.m */; };
80537ADB1D86A7E100AB5122 /* KWMUserModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 80537ADA1D86A7E100AB5122 /* KWMUserModel.m */; };
8054B3221D743F69003A95D3 /* KWMBarandSelectView.m in Sources */ = {isa = PBXBuildFile; fileRef = 8054B3211D743F69003A95D3 /* KWMBarandSelectView.m */; };
8054B3241D743F81003A95D3 /* KWMBarandSelectView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 8054B3231D743F80003A95D3 /* KWMBarandSelectView.xib */; };
80598D471D99193400BF0F97 /* KWMInformationVC.m in Sources */ = {isa = PBXBuildFile; fileRef = 80598D461D99193400BF0F97 /* KWMInformationVC.m */; };
805C04351DD1FA4900ACC071 /* KWMBrandsTypeModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 805C04341DD1FA4900ACC071 /* KWMBrandsTypeModel.m */; };
805C04381DD1FA7100ACC071 /* KWMBrandsTypeResult.m in Sources */ = {isa = PBXBuildFile; fileRef = 805C04371DD1FA7100ACC071 /* KWMBrandsTypeResult.m */; };
806029301DDD4CF40029DF4A /* KWMLoadingView.m in Sources */ = {isa = PBXBuildFile; fileRef = 8060292F1DDD4CF40029DF4A /* KWMLoadingView.m */; };
806029321DDD4DE40029DF4A /* KWMLoadingView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 806029311DDD4DE40029DF4A /* KWMLoadingView.xib */; };
8077F7961D73D2D700A2E2E2 /* KWMBrandCaramelVC.m in Sources */ = {isa = PBXBuildFile; fileRef = 8077F7951D73D2D700A2E2E2 /* KWMBrandCaramelVC.m */; };
8077F79A1D73E39000A2E2E2 /* KWMBrandCaramelCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 8077F7981D73E39000A2E2E2 /* KWMBrandCaramelCell.m */; };
8077F79B1D73E39000A2E2E2 /* KWMBrandCaramelCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = 8077F7991D73E39000A2E2E2 /* KWMBrandCaramelCell.xib */; };
807806871D7566DD00FD2841 /* NSString+PinYin.m in Sources */ = {isa = PBXBuildFile; fileRef = 807806861D7566DD00FD2841 /* NSString+PinYin.m */; };
8078068A1D75680600FD2841 /* KWMSearchBrandVC.m in Sources */ = {isa = PBXBuildFile; fileRef = 807806891D75680600FD2841 /* KWMSearchBrandVC.m */; };
8078068D1D75805700FD2841 /* KWMSearchBrandView.m in Sources */ = {isa = PBXBuildFile; fileRef = 8078068C1D75805700FD2841 /* KWMSearchBrandView.m */; };
8078068F1D75807100FD2841 /* KWMSearchBrandView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 8078068E1D75807100FD2841 /* KWMSearchBrandView.xib */; };
8079FF601D791C780037A71F /* KWMGoodsDetailsView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 8079FF5F1D791C780037A71F /* KWMGoodsDetailsView.xib */; };
8079FF631D791C8E0037A71F /* KWMGoodsDetailsView.m in Sources */ = {isa = PBXBuildFile; fileRef = 8079FF621D791C8E0037A71F /* KWMGoodsDetailsView.m */; };
8079FF701D797DDC0037A71F /* KWMPointView.m in Sources */ = {isa = PBXBuildFile; fileRef = 8079FF6F1D797DDC0037A71F /* KWMPointView.m */; };
8079FF721D797DF10037A71F /* KWMPointView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 8079FF711D797DF10037A71F /* KWMPointView.xib */; };
807AF4A21DC984950000A326 /* KWMArticlesResult.m in Sources */ = {isa = PBXBuildFile; fileRef = 807AF4951DC984950000A326 /* KWMArticlesResult.m */; };
807AF4A31DC984950000A326 /* KWMBlogResult.m in Sources */ = {isa = PBXBuildFile; fileRef = 807AF4971DC984950000A326 /* KWMBlogResult.m */; };
807AF4A41DC984950000A326 /* KWMBrandsResult.m in Sources */ = {isa = PBXBuildFile; fileRef = 807AF4991DC984950000A326 /* KWMBrandsResult.m */; };
......@@ -63,14 +51,10 @@
80A611B21D6DB0EC00709E09 /* KWMShopCartVC.m in Sources */ = {isa = PBXBuildFile; fileRef = 80A611B11D6DB0EC00709E09 /* KWMShopCartVC.m */; };
80C8014F1D78134800002306 /* KWMTBVSectionHeardView.m in Sources */ = {isa = PBXBuildFile; fileRef = 80C8014E1D78134800002306 /* KWMTBVSectionHeardView.m */; };
80C801511D78136400002306 /* KWMTBVSectionHeardView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 80C801501D78136400002306 /* KWMTBVSectionHeardView.xib */; };
80C801571D783B4100002306 /* KWMSearchFeedBackView.m in Sources */ = {isa = PBXBuildFile; fileRef = 80C801561D783B4100002306 /* KWMSearchFeedBackView.m */; };
80C801591D783B5100002306 /* KWMSearchFeedBackView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 80C801581D783B5100002306 /* KWMSearchFeedBackView.xib */; };
80DD275B1DC2FE6800CDC5B5 /* Home.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 80DD275A1DC2FE6800CDC5B5 /* Home.storyboard */; };
80DD275E1DC2FF2200CDC5B5 /* KWMBlogDetailVC.m in Sources */ = {isa = PBXBuildFile; fileRef = 80DD275D1DC2FF2200CDC5B5 /* KWMBlogDetailVC.m */; };
80E65A7E1D95383E0084610B /* Contacts.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 80E65A7C1D95383E0084610B /* Contacts.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
80E65A7F1D95383E0084610B /* ContactsUI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 80E65A7D1D95383E0084610B /* ContactsUI.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
80E81E691D87F96E00FCC0B1 /* KWMMineTitleView.m in Sources */ = {isa = PBXBuildFile; fileRef = 80E81E681D87F96E00FCC0B1 /* KWMMineTitleView.m */; };
80E81E6B1D87F98D00FCC0B1 /* KWMMineTitleView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 80E81E6A1D87F98D00FCC0B1 /* KWMMineTitleView.xib */; };
80E844271D7FB0FF0042AED2 /* KWMRuleView.m in Sources */ = {isa = PBXBuildFile; fileRef = 80E844261D7FB0FF0042AED2 /* KWMRuleView.m */; };
80E844291D7FB1130042AED2 /* KWMRuleView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 80E844281D7FB1130042AED2 /* KWMRuleView.xib */; };
80ED0A371D93840A00B28DF2 /* DB_shopCart.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 80ED0A351D93840A00B28DF2 /* DB_shopCart.xcdatamodeld */; };
......@@ -130,8 +114,6 @@
C034E6F51D6AF197006EE129 /* KWMPickView.m in Sources */ = {isa = PBXBuildFile; fileRef = C034E6F31D6AF197006EE129 /* KWMPickView.m */; };
C034E6F61D6AF197006EE129 /* KWMPickView.xib in Resources */ = {isa = PBXBuildFile; fileRef = C034E6F41D6AF197006EE129 /* KWMPickView.xib */; };
C034E7001D6AF205006EE129 /* KWMButton.m in Sources */ = {isa = PBXBuildFile; fileRef = C034E6F81D6AF205006EE129 /* KWMButton.m */; };
C034E7011D6AF205006EE129 /* KWMEmptyViewList.m in Sources */ = {isa = PBXBuildFile; fileRef = C034E6FA1D6AF205006EE129 /* KWMEmptyViewList.m */; };
C034E7021D6AF205006EE129 /* KWMEmptyViewList.xib in Resources */ = {isa = PBXBuildFile; fileRef = C034E6FB1D6AF205006EE129 /* KWMEmptyViewList.xib */; };
C034E7031D6AF205006EE129 /* KWMLineView.m in Sources */ = {isa = PBXBuildFile; fileRef = C034E6FD1D6AF205006EE129 /* KWMLineView.m */; };
C034E7041D6AF205006EE129 /* RTSpinKitView.m in Sources */ = {isa = PBXBuildFile; fileRef = C034E6FF1D6AF205006EE129 /* RTSpinKitView.m */; };
C034E7B01D6AFBDA006EE129 /* KWMWebViewVC.m in Sources */ = {isa = PBXBuildFile; fileRef = C034E7AF1D6AFBDA006EE129 /* KWMWebViewVC.m */; };
......@@ -192,10 +174,6 @@
C03943C01DD1FCE900141475 /* KWMProductType.m in Sources */ = {isa = PBXBuildFile; fileRef = C03943BF1DD1FCE900141475 /* KWMProductType.m */; };
C03943C31DD1FD3F00141475 /* KWMProductTypeResult.m in Sources */ = {isa = PBXBuildFile; fileRef = C03943C21DD1FD3F00141475 /* KWMProductTypeResult.m */; };
C03A05061E35DC5800BAA889 /* KWMNewGiftCardVC.m in Sources */ = {isa = PBXBuildFile; fileRef = C03A05051E35DC5800BAA889 /* KWMNewGiftCardVC.m */; };
C03A05131E36042900BAA889 /* MMJRefreshNormalHeader.m in Sources */ = {isa = PBXBuildFile; fileRef = C03A05121E36042900BAA889 /* MMJRefreshNormalHeader.m */; };
C03B81EA1E37079F00CAD39E /* KWMSuperLoadingView.m in Sources */ = {isa = PBXBuildFile; fileRef = C03B81E91E37079F00CAD39E /* KWMSuperLoadingView.m */; };
C03B81ED1E372B3800CAD39E /* ArcToCircleLayer.m in Sources */ = {isa = PBXBuildFile; fileRef = C03B81EC1E372B3800CAD39E /* ArcToCircleLayer.m */; };
C03B81F01E3758D200CAD39E /* KWMLoadingHeader.m in Sources */ = {isa = PBXBuildFile; fileRef = C03B81EF1E3758D200CAD39E /* KWMLoadingHeader.m */; };
C05910941E34A729002990B3 /* KWMNewGiftCardCell.m in Sources */ = {isa = PBXBuildFile; fileRef = C05910921E34A729002990B3 /* KWMNewGiftCardCell.m */; };
C05910951E34A729002990B3 /* KWMNewGiftCardCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = C05910931E34A729002990B3 /* KWMNewGiftCardCell.xib */; };
C06665091D75A2E500F02EF4 /* KWMOrderCell.m in Sources */ = {isa = PBXBuildFile; fileRef = C06665041D75A2E500F02EF4 /* KWMOrderCell.m */; };
......@@ -231,11 +209,27 @@
C0D7CA9E1EA7384E005AE3A3 /* KWMPageControl.m in Sources */ = {isa = PBXBuildFile; fileRef = C08827A51E28B4AF006A8B91 /* KWMPageControl.m */; };
C0D7CAA11EA843AD005AE3A3 /* KWMOrder.m in Sources */ = {isa = PBXBuildFile; fileRef = C0D7CAA01EA843AD005AE3A3 /* KWMOrder.m */; };
C0D7CAA41EA846AA005AE3A3 /* KWMOrdersResult.m in Sources */ = {isa = PBXBuildFile; fileRef = C0D7CAA31EA846AA005AE3A3 /* KWMOrdersResult.m */; };
C0DD530F1EE54A9E002D1E0C /* KWMBarandSelectView.m in Sources */ = {isa = PBXBuildFile; fileRef = C0DD530D1EE54A9E002D1E0C /* KWMBarandSelectView.m */; };
C0DD53101EE54A9E002D1E0C /* KWMBarandSelectView.xib in Resources */ = {isa = PBXBuildFile; fileRef = C0DD530E1EE54A9E002D1E0C /* KWMBarandSelectView.xib */; };
C0DD53141EE54B96002D1E0C /* KWMSearchBrandView.m in Sources */ = {isa = PBXBuildFile; fileRef = C0DD53121EE54B96002D1E0C /* KWMSearchBrandView.m */; };
C0DD53151EE54B96002D1E0C /* KWMSearchBrandView.xib in Resources */ = {isa = PBXBuildFile; fileRef = C0DD53131EE54B96002D1E0C /* KWMSearchBrandView.xib */; };
C0DD53191EE54C5F002D1E0C /* KWMSearchFeedBackView.m in Sources */ = {isa = PBXBuildFile; fileRef = C0DD53171EE54C5F002D1E0C /* KWMSearchFeedBackView.m */; };
C0DD531A1EE54C5F002D1E0C /* KWMSearchFeedBackView.xib in Resources */ = {isa = PBXBuildFile; fileRef = C0DD53181EE54C5F002D1E0C /* KWMSearchFeedBackView.xib */; };
C0DD531E1EE54F5D002D1E0C /* KWMMineTitleView.m in Sources */ = {isa = PBXBuildFile; fileRef = C0DD531C1EE54F5D002D1E0C /* KWMMineTitleView.m */; };
C0DD531F1EE54F5D002D1E0C /* KWMMineTitleView.xib in Resources */ = {isa = PBXBuildFile; fileRef = C0DD531D1EE54F5D002D1E0C /* KWMMineTitleView.xib */; };
C0DD53231EE55062002D1E0C /* KWMCarCountView.m in Sources */ = {isa = PBXBuildFile; fileRef = C0DD53211EE55062002D1E0C /* KWMCarCountView.m */; };
C0DD53241EE55062002D1E0C /* KWMCarCountView.xib in Resources */ = {isa = PBXBuildFile; fileRef = C0DD53221EE55062002D1E0C /* KWMCarCountView.xib */; };
C0DD53351EE55190002D1E0C /* ArcToCircleLayer.m in Sources */ = {isa = PBXBuildFile; fileRef = C0DD53281EE55190002D1E0C /* ArcToCircleLayer.m */; };
C0DD53361EE55190002D1E0C /* KWMLoadingHeader.m in Sources */ = {isa = PBXBuildFile; fileRef = C0DD532A1EE55190002D1E0C /* KWMLoadingHeader.m */; };
C0DD53371EE55190002D1E0C /* KWMLoadingView.m in Sources */ = {isa = PBXBuildFile; fileRef = C0DD532C1EE55190002D1E0C /* KWMLoadingView.m */; };
C0DD53381EE55190002D1E0C /* KWMLoadingView.xib in Resources */ = {isa = PBXBuildFile; fileRef = C0DD532D1EE55190002D1E0C /* KWMLoadingView.xib */; };
C0DD53391EE55190002D1E0C /* KWMSplashView.m in Sources */ = {isa = PBXBuildFile; fileRef = C0DD532F1EE55190002D1E0C /* KWMSplashView.m */; };
C0DD533A1EE55190002D1E0C /* KWMSplashView.xib in Resources */ = {isa = PBXBuildFile; fileRef = C0DD53301EE55190002D1E0C /* KWMSplashView.xib */; };
C0DD533B1EE55190002D1E0C /* KWMSuperLoadingView.m in Sources */ = {isa = PBXBuildFile; fileRef = C0DD53321EE55190002D1E0C /* KWMSuperLoadingView.m */; };
C0DD533C1EE55190002D1E0C /* MMJRefreshNormalHeader.m in Sources */ = {isa = PBXBuildFile; fileRef = C0DD53341EE55190002D1E0C /* MMJRefreshNormalHeader.m */; };
C0E8AE091D7D030B00C193DC /* KWMEditAddressVC.m in Sources */ = {isa = PBXBuildFile; fileRef = C0E8AE081D7D030B00C193DC /* KWMEditAddressVC.m */; };
C0E8AE0C1D7D503600C193DC /* KWMPaySuccessVC.m in Sources */ = {isa = PBXBuildFile; fileRef = C0E8AE0B1D7D503600C193DC /* KWMPaySuccessVC.m */; };
C0E8AE121D7D52B200C193DC /* KWMPayTypeVC.m in Sources */ = {isa = PBXBuildFile; fileRef = C0E8AE111D7D52B200C193DC /* KWMPayTypeVC.m */; };
C0E8AE151D7D7C0000C193DC /* KWMSplashView.m in Sources */ = {isa = PBXBuildFile; fileRef = C0E8AE141D7D7C0000C193DC /* KWMSplashView.m */; };
C0E8AE171D7D7C8200C193DC /* KWMSplashView.xib in Resources */ = {isa = PBXBuildFile; fileRef = C0E8AE161D7D7C8200C193DC /* KWMSplashView.xib */; };
C0EA5E981D9A0AED0029157E /* KWMCheckoutWebViewVC.m in Sources */ = {isa = PBXBuildFile; fileRef = C0EA5E971D9A0AED0029157E /* KWMCheckoutWebViewVC.m */; };
C0F4AF481DF110F000BDA719 /* KWMProductResult.m in Sources */ = {isa = PBXBuildFile; fileRef = C0F4AF471DF110F000BDA719 /* KWMProductResult.m */; };
C0F4AF4B1DF1149500BDA719 /* KWMProduct.m in Sources */ = {isa = PBXBuildFile; fileRef = C0F4AF4A1DF1149500BDA719 /* KWMProduct.m */; };
......@@ -252,10 +246,6 @@
C0F5867F1E24F820001248E2 /* KWMNewGoodsCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = C0F586541E24F820001248E2 /* KWMNewGoodsCell.xib */; };
C0F586801E24F820001248E2 /* KWMNewTypeView.m in Sources */ = {isa = PBXBuildFile; fileRef = C0F586561E24F820001248E2 /* KWMNewTypeView.m */; };
C0F586811E24F820001248E2 /* KWMNewTypeView.xib in Resources */ = {isa = PBXBuildFile; fileRef = C0F586571E24F820001248E2 /* KWMNewTypeView.xib */; };
C0F586821E24F820001248E2 /* KWMTopView.m in Sources */ = {isa = PBXBuildFile; fileRef = C0F586591E24F820001248E2 /* KWMTopView.m */; };
C0F586831E24F820001248E2 /* KWMTopView.xib in Resources */ = {isa = PBXBuildFile; fileRef = C0F5865A1E24F820001248E2 /* KWMTopView.xib */; };
C0F586841E24F820001248E2 /* KWMWatchView.m in Sources */ = {isa = PBXBuildFile; fileRef = C0F5865C1E24F820001248E2 /* KWMWatchView.m */; };
C0F586851E24F820001248E2 /* KWMWatchView.xib in Resources */ = {isa = PBXBuildFile; fileRef = C0F5865D1E24F820001248E2 /* KWMWatchView.xib */; };
C0F586871E24F820001248E2 /* KWMNewTypeSelectedVC.m in Sources */ = {isa = PBXBuildFile; fileRef = C0F586611E24F820001248E2 /* KWMNewTypeSelectedVC.m */; };
C0F586881E24F820001248E2 /* KWMNewVC.m in Sources */ = {isa = PBXBuildFile; fileRef = C0F586631E24F820001248E2 /* KWMNewVC.m */; };
C0F586891E24F820001248E2 /* KWMSearchFeedbackVC.m in Sources */ = {isa = PBXBuildFile; fileRef = C0F586651E24F820001248E2 /* KWMSearchFeedbackVC.m */; };
......@@ -268,8 +258,6 @@
C0F586951E25C17A001248E2 /* KWMProductDetailVC.m in Sources */ = {isa = PBXBuildFile; fileRef = C0F586941E25C17A001248E2 /* KWMProductDetailVC.m */; };
C0F5869B1E25D05F001248E2 /* KWMProductDetailView.m in Sources */ = {isa = PBXBuildFile; fileRef = C0F5869A1E25D05F001248E2 /* KWMProductDetailView.m */; };
C0F5869D1E25D3B6001248E2 /* KWMProductDetailView.xib in Resources */ = {isa = PBXBuildFile; fileRef = C0F5869C1E25D3B6001248E2 /* KWMProductDetailView.xib */; };
C0F586A11E276E56001248E2 /* KWMRecommendView.xib in Resources */ = {isa = PBXBuildFile; fileRef = C0F586A01E276E56001248E2 /* KWMRecommendView.xib */; };
C0F586A61E276EB7001248E2 /* KWMRecommendView.m in Sources */ = {isa = PBXBuildFile; fileRef = C0F586A51E276EB7001248E2 /* KWMRecommendView.m */; };
C0F586AE1E279574001248E2 /* KWMBottomView.xib in Resources */ = {isa = PBXBuildFile; fileRef = C0F586AD1E279574001248E2 /* KWMBottomView.xib */; };
C0FC278E1D9B73B000C5CFFE /* KWMGiftCardCell.m in Sources */ = {isa = PBXBuildFile; fileRef = C0FC278D1D9B73B000C5CFFE /* KWMGiftCardCell.m */; };
/* End PBXBuildFile section */
......@@ -301,9 +289,6 @@
801230F71DD32B49008C7904 /* KWMInformationView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = KWMInformationView.xib; sourceTree = "<group>"; };
8019E9521DC89CF300CAD7BF /* KWMNewGoodsModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = KWMNewGoodsModel.h; path = ../Api/Cemarose/KWMNewGoodsModel.h; sourceTree = "<group>"; };
8019E9531DC89CF300CAD7BF /* KWMNewGoodsModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = KWMNewGoodsModel.m; path = ../Api/Cemarose/KWMNewGoodsModel.m; sourceTree = "<group>"; };
801E71CD1D9504D50040C76C /* KWMCarCountView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = KWMCarCountView.xib; sourceTree = "<group>"; };
801E71CF1D9504EC0040C76C /* KWMCarCountView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMCarCountView.h; sourceTree = "<group>"; };
801E71D01D9504EC0040C76C /* KWMCarCountView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KWMCarCountView.m; sourceTree = "<group>"; };
801F87BA1DD1A9B90038FA4C /* KWMNewProducts.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMNewProducts.h; sourceTree = "<group>"; };
801F87BB1DD1A9B90038FA4C /* KWMNewProducts.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KWMNewProducts.m; sourceTree = "<group>"; };
801F87BD1DD1D6850038FA4C /* KWMLoadStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMLoadStatus.h; sourceTree = "<group>"; };
......@@ -325,18 +310,12 @@
804771871D6D769C0086B4DC /* KWMEmailVC.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KWMEmailVC.m; sourceTree = "<group>"; };
80537AD91D86A7E100AB5122 /* KWMUserModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMUserModel.h; sourceTree = "<group>"; };
80537ADA1D86A7E100AB5122 /* KWMUserModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KWMUserModel.m; sourceTree = "<group>"; };
8054B3201D743F69003A95D3 /* KWMBarandSelectView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMBarandSelectView.h; sourceTree = "<group>"; };
8054B3211D743F69003A95D3 /* KWMBarandSelectView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KWMBarandSelectView.m; sourceTree = "<group>"; };
8054B3231D743F80003A95D3 /* KWMBarandSelectView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = KWMBarandSelectView.xib; sourceTree = "<group>"; };
80598D451D99193400BF0F97 /* KWMInformationVC.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMInformationVC.h; sourceTree = "<group>"; };
80598D461D99193400BF0F97 /* KWMInformationVC.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KWMInformationVC.m; sourceTree = "<group>"; };
805C04331DD1FA4900ACC071 /* KWMBrandsTypeModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMBrandsTypeModel.h; sourceTree = "<group>"; };
805C04341DD1FA4900ACC071 /* KWMBrandsTypeModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KWMBrandsTypeModel.m; sourceTree = "<group>"; };
805C04361DD1FA7100ACC071 /* KWMBrandsTypeResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMBrandsTypeResult.h; sourceTree = "<group>"; };
805C04371DD1FA7100ACC071 /* KWMBrandsTypeResult.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KWMBrandsTypeResult.m; sourceTree = "<group>"; };
8060292E1DDD4CF40029DF4A /* KWMLoadingView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMLoadingView.h; sourceTree = "<group>"; };
8060292F1DDD4CF40029DF4A /* KWMLoadingView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KWMLoadingView.m; sourceTree = "<group>"; };
806029311DDD4DE40029DF4A /* KWMLoadingView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = KWMLoadingView.xib; sourceTree = "<group>"; };
8077F7941D73D2D700A2E2E2 /* KWMBrandCaramelVC.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMBrandCaramelVC.h; sourceTree = "<group>"; };
8077F7951D73D2D700A2E2E2 /* KWMBrandCaramelVC.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KWMBrandCaramelVC.m; sourceTree = "<group>"; };
8077F7971D73E39000A2E2E2 /* KWMBrandCaramelCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMBrandCaramelCell.h; sourceTree = "<group>"; };
......@@ -346,15 +325,6 @@
807806861D7566DD00FD2841 /* NSString+PinYin.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSString+PinYin.m"; sourceTree = "<group>"; };
807806881D75680600FD2841 /* KWMSearchBrandVC.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMSearchBrandVC.h; sourceTree = "<group>"; };
807806891D75680600FD2841 /* KWMSearchBrandVC.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KWMSearchBrandVC.m; sourceTree = "<group>"; };
8078068B1D75805700FD2841 /* KWMSearchBrandView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMSearchBrandView.h; sourceTree = "<group>"; };
8078068C1D75805700FD2841 /* KWMSearchBrandView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KWMSearchBrandView.m; sourceTree = "<group>"; };
8078068E1D75807100FD2841 /* KWMSearchBrandView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = KWMSearchBrandView.xib; sourceTree = "<group>"; };
8079FF5F1D791C780037A71F /* KWMGoodsDetailsView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = " KWMGoodsDetailsView.xib"; sourceTree = "<group>"; };
8079FF611D791C8E0037A71F /* KWMGoodsDetailsView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMGoodsDetailsView.h; sourceTree = "<group>"; };
8079FF621D791C8E0037A71F /* KWMGoodsDetailsView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KWMGoodsDetailsView.m; sourceTree = "<group>"; };
8079FF6E1D797DDC0037A71F /* KWMPointView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMPointView.h; sourceTree = "<group>"; };
8079FF6F1D797DDC0037A71F /* KWMPointView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KWMPointView.m; sourceTree = "<group>"; };
8079FF711D797DF10037A71F /* KWMPointView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = KWMPointView.xib; sourceTree = "<group>"; };
807AF4941DC984950000A326 /* KWMArticlesResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMArticlesResult.h; sourceTree = "<group>"; };
807AF4951DC984950000A326 /* KWMArticlesResult.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KWMArticlesResult.m; sourceTree = "<group>"; };
807AF4961DC984950000A326 /* KWMBlogResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMBlogResult.h; sourceTree = "<group>"; };
......@@ -390,18 +360,12 @@
80C8014D1D78134800002306 /* KWMTBVSectionHeardView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMTBVSectionHeardView.h; sourceTree = "<group>"; };
80C8014E1D78134800002306 /* KWMTBVSectionHeardView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KWMTBVSectionHeardView.m; sourceTree = "<group>"; };
80C801501D78136400002306 /* KWMTBVSectionHeardView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = KWMTBVSectionHeardView.xib; sourceTree = "<group>"; };
80C801551D783B4100002306 /* KWMSearchFeedBackView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMSearchFeedBackView.h; sourceTree = "<group>"; };
80C801561D783B4100002306 /* KWMSearchFeedBackView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KWMSearchFeedBackView.m; sourceTree = "<group>"; };
80C801581D783B5100002306 /* KWMSearchFeedBackView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = KWMSearchFeedBackView.xib; sourceTree = "<group>"; };
80DD275A1DC2FE6800CDC5B5 /* Home.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = Home.storyboard; sourceTree = "<group>"; };
80DD275C1DC2FF2200CDC5B5 /* KWMBlogDetailVC.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMBlogDetailVC.h; sourceTree = "<group>"; tabWidth = 4; };
80DD275D1DC2FF2200CDC5B5 /* KWMBlogDetailVC.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KWMBlogDetailVC.m; sourceTree = "<group>"; };
80E65A7C1D95383E0084610B /* Contacts.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Contacts.framework; path = System/Library/Frameworks/Contacts.framework; sourceTree = SDKROOT; };
80E65A7D1D95383E0084610B /* ContactsUI.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ContactsUI.framework; path = System/Library/Frameworks/ContactsUI.framework; sourceTree = SDKROOT; };
80E65A801D953AE20084610B /* PassKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = PassKit.framework; path = System/Library/Frameworks/PassKit.framework; sourceTree = SDKROOT; };
80E81E671D87F96E00FCC0B1 /* KWMMineTitleView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMMineTitleView.h; sourceTree = "<group>"; };
80E81E681D87F96E00FCC0B1 /* KWMMineTitleView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KWMMineTitleView.m; sourceTree = "<group>"; };
80E81E6A1D87F98D00FCC0B1 /* KWMMineTitleView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = KWMMineTitleView.xib; sourceTree = "<group>"; };
80E844251D7FB0FF0042AED2 /* KWMRuleView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMRuleView.h; sourceTree = "<group>"; };
80E844261D7FB0FF0042AED2 /* KWMRuleView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KWMRuleView.m; sourceTree = "<group>"; };
80E844281D7FB1130042AED2 /* KWMRuleView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = KWMRuleView.xib; sourceTree = "<group>"; };
......@@ -509,9 +473,6 @@
C034E6F41D6AF197006EE129 /* KWMPickView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = KWMPickView.xib; sourceTree = "<group>"; };
C034E6F71D6AF205006EE129 /* KWMButton.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMButton.h; sourceTree = "<group>"; };
C034E6F81D6AF205006EE129 /* KWMButton.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KWMButton.m; sourceTree = "<group>"; };
C034E6F91D6AF205006EE129 /* KWMEmptyViewList.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMEmptyViewList.h; sourceTree = "<group>"; };
C034E6FA1D6AF205006EE129 /* KWMEmptyViewList.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KWMEmptyViewList.m; sourceTree = "<group>"; };
C034E6FB1D6AF205006EE129 /* KWMEmptyViewList.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = KWMEmptyViewList.xib; sourceTree = "<group>"; };
C034E6FC1D6AF205006EE129 /* KWMLineView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMLineView.h; sourceTree = "<group>"; };
C034E6FD1D6AF205006EE129 /* KWMLineView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KWMLineView.m; sourceTree = "<group>"; };
C034E6FE1D6AF205006EE129 /* RTSpinKitView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RTSpinKitView.h; sourceTree = "<group>"; };
......@@ -629,14 +590,6 @@
C03943C21DD1FD3F00141475 /* KWMProductTypeResult.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KWMProductTypeResult.m; sourceTree = "<group>"; };
C03A05041E35DC5800BAA889 /* KWMNewGiftCardVC.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMNewGiftCardVC.h; sourceTree = "<group>"; };
C03A05051E35DC5800BAA889 /* KWMNewGiftCardVC.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KWMNewGiftCardVC.m; sourceTree = "<group>"; };
C03A05111E36042900BAA889 /* MMJRefreshNormalHeader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MMJRefreshNormalHeader.h; sourceTree = "<group>"; };
C03A05121E36042900BAA889 /* MMJRefreshNormalHeader.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MMJRefreshNormalHeader.m; sourceTree = "<group>"; };
C03B81E81E37079F00CAD39E /* KWMSuperLoadingView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMSuperLoadingView.h; sourceTree = "<group>"; };
C03B81E91E37079F00CAD39E /* KWMSuperLoadingView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KWMSuperLoadingView.m; sourceTree = "<group>"; };
C03B81EB1E372B3800CAD39E /* ArcToCircleLayer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ArcToCircleLayer.h; sourceTree = "<group>"; };
C03B81EC1E372B3800CAD39E /* ArcToCircleLayer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ArcToCircleLayer.m; sourceTree = "<group>"; };
C03B81EE1E3758D200CAD39E /* KWMLoadingHeader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMLoadingHeader.h; sourceTree = "<group>"; };
C03B81EF1E3758D200CAD39E /* KWMLoadingHeader.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KWMLoadingHeader.m; sourceTree = "<group>"; };
C05910911E34A729002990B3 /* KWMNewGiftCardCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = KWMNewGiftCardCell.h; path = ../../ShopCart/Cell/KWMNewGiftCardCell.h; sourceTree = "<group>"; };
C05910921E34A729002990B3 /* KWMNewGiftCardCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = KWMNewGiftCardCell.m; path = ../../ShopCart/Cell/KWMNewGiftCardCell.m; sourceTree = "<group>"; };
C05910931E34A729002990B3 /* KWMNewGiftCardCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; name = KWMNewGiftCardCell.xib; path = ../../ShopCart/Cell/KWMNewGiftCardCell.xib; sourceTree = "<group>"; };
......@@ -695,15 +648,41 @@
C0D7CAA01EA843AD005AE3A3 /* KWMOrder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KWMOrder.m; sourceTree = "<group>"; };
C0D7CAA21EA846AA005AE3A3 /* KWMOrdersResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMOrdersResult.h; sourceTree = "<group>"; };
C0D7CAA31EA846AA005AE3A3 /* KWMOrdersResult.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KWMOrdersResult.m; sourceTree = "<group>"; };
C0DD530C1EE54A9E002D1E0C /* KWMBarandSelectView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMBarandSelectView.h; sourceTree = "<group>"; };
C0DD530D1EE54A9E002D1E0C /* KWMBarandSelectView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KWMBarandSelectView.m; sourceTree = "<group>"; };
C0DD530E1EE54A9E002D1E0C /* KWMBarandSelectView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = KWMBarandSelectView.xib; sourceTree = "<group>"; };
C0DD53111EE54B96002D1E0C /* KWMSearchBrandView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMSearchBrandView.h; sourceTree = "<group>"; };
C0DD53121EE54B96002D1E0C /* KWMSearchBrandView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KWMSearchBrandView.m; sourceTree = "<group>"; };
C0DD53131EE54B96002D1E0C /* KWMSearchBrandView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = KWMSearchBrandView.xib; sourceTree = "<group>"; };
C0DD53161EE54C5F002D1E0C /* KWMSearchFeedBackView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMSearchFeedBackView.h; sourceTree = "<group>"; };
C0DD53171EE54C5F002D1E0C /* KWMSearchFeedBackView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KWMSearchFeedBackView.m; sourceTree = "<group>"; };
C0DD53181EE54C5F002D1E0C /* KWMSearchFeedBackView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = KWMSearchFeedBackView.xib; sourceTree = "<group>"; };
C0DD531B1EE54F5D002D1E0C /* KWMMineTitleView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMMineTitleView.h; sourceTree = "<group>"; };
C0DD531C1EE54F5D002D1E0C /* KWMMineTitleView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KWMMineTitleView.m; sourceTree = "<group>"; };
C0DD531D1EE54F5D002D1E0C /* KWMMineTitleView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = KWMMineTitleView.xib; sourceTree = "<group>"; };
C0DD53201EE55062002D1E0C /* KWMCarCountView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMCarCountView.h; sourceTree = "<group>"; };
C0DD53211EE55062002D1E0C /* KWMCarCountView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KWMCarCountView.m; sourceTree = "<group>"; };
C0DD53221EE55062002D1E0C /* KWMCarCountView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = KWMCarCountView.xib; sourceTree = "<group>"; };
C0DD53271EE55190002D1E0C /* ArcToCircleLayer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ArcToCircleLayer.h; sourceTree = "<group>"; };
C0DD53281EE55190002D1E0C /* ArcToCircleLayer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ArcToCircleLayer.m; sourceTree = "<group>"; };
C0DD53291EE55190002D1E0C /* KWMLoadingHeader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMLoadingHeader.h; sourceTree = "<group>"; };
C0DD532A1EE55190002D1E0C /* KWMLoadingHeader.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KWMLoadingHeader.m; sourceTree = "<group>"; };
C0DD532B1EE55190002D1E0C /* KWMLoadingView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMLoadingView.h; sourceTree = "<group>"; };
C0DD532C1EE55190002D1E0C /* KWMLoadingView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KWMLoadingView.m; sourceTree = "<group>"; };
C0DD532D1EE55190002D1E0C /* KWMLoadingView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = KWMLoadingView.xib; sourceTree = "<group>"; };
C0DD532E1EE55190002D1E0C /* KWMSplashView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMSplashView.h; sourceTree = "<group>"; };
C0DD532F1EE55190002D1E0C /* KWMSplashView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KWMSplashView.m; sourceTree = "<group>"; };
C0DD53301EE55190002D1E0C /* KWMSplashView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = KWMSplashView.xib; sourceTree = "<group>"; };
C0DD53311EE55190002D1E0C /* KWMSuperLoadingView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMSuperLoadingView.h; sourceTree = "<group>"; };
C0DD53321EE55190002D1E0C /* KWMSuperLoadingView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KWMSuperLoadingView.m; sourceTree = "<group>"; };
C0DD53331EE55190002D1E0C /* MMJRefreshNormalHeader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MMJRefreshNormalHeader.h; sourceTree = "<group>"; };
C0DD53341EE55190002D1E0C /* MMJRefreshNormalHeader.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MMJRefreshNormalHeader.m; sourceTree = "<group>"; };
C0E8AE071D7D030B00C193DC /* KWMEditAddressVC.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMEditAddressVC.h; sourceTree = "<group>"; };
C0E8AE081D7D030B00C193DC /* KWMEditAddressVC.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KWMEditAddressVC.m; sourceTree = "<group>"; };
C0E8AE0A1D7D503600C193DC /* KWMPaySuccessVC.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMPaySuccessVC.h; sourceTree = "<group>"; };
C0E8AE0B1D7D503600C193DC /* KWMPaySuccessVC.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KWMPaySuccessVC.m; sourceTree = "<group>"; };
C0E8AE101D7D52B200C193DC /* KWMPayTypeVC.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMPayTypeVC.h; sourceTree = "<group>"; };
C0E8AE111D7D52B200C193DC /* KWMPayTypeVC.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KWMPayTypeVC.m; sourceTree = "<group>"; };
C0E8AE131D7D7C0000C193DC /* KWMSplashView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMSplashView.h; sourceTree = "<group>"; };
C0E8AE141D7D7C0000C193DC /* KWMSplashView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KWMSplashView.m; sourceTree = "<group>"; };
C0E8AE161D7D7C8200C193DC /* KWMSplashView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = KWMSplashView.xib; sourceTree = "<group>"; };
C0EA5E961D9A0AED0029157E /* KWMCheckoutWebViewVC.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMCheckoutWebViewVC.h; sourceTree = "<group>"; };
C0EA5E971D9A0AED0029157E /* KWMCheckoutWebViewVC.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KWMCheckoutWebViewVC.m; sourceTree = "<group>"; };
C0F4AF461DF110EF00BDA719 /* KWMProductResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMProductResult.h; sourceTree = "<group>"; };
......@@ -730,12 +709,6 @@
C0F586551E24F820001248E2 /* KWMNewTypeView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMNewTypeView.h; sourceTree = "<group>"; };
C0F586561E24F820001248E2 /* KWMNewTypeView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KWMNewTypeView.m; sourceTree = "<group>"; };
C0F586571E24F820001248E2 /* KWMNewTypeView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = KWMNewTypeView.xib; sourceTree = "<group>"; };
C0F586581E24F820001248E2 /* KWMTopView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMTopView.h; sourceTree = "<group>"; };
C0F586591E24F820001248E2 /* KWMTopView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KWMTopView.m; sourceTree = "<group>"; };
C0F5865A1E24F820001248E2 /* KWMTopView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = KWMTopView.xib; sourceTree = "<group>"; };
C0F5865B1E24F820001248E2 /* KWMWatchView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMWatchView.h; sourceTree = "<group>"; };
C0F5865C1E24F820001248E2 /* KWMWatchView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KWMWatchView.m; sourceTree = "<group>"; };
C0F5865D1E24F820001248E2 /* KWMWatchView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = KWMWatchView.xib; sourceTree = "<group>"; };
C0F586601E24F820001248E2 /* KWMNewTypeSelectedVC.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMNewTypeSelectedVC.h; sourceTree = "<group>"; };
C0F586611E24F820001248E2 /* KWMNewTypeSelectedVC.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KWMNewTypeSelectedVC.m; sourceTree = "<group>"; };
C0F586621E24F820001248E2 /* KWMNewVC.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMNewVC.h; sourceTree = "<group>"; };
......@@ -758,9 +731,6 @@
C0F586991E25D05F001248E2 /* KWMProductDetailView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMProductDetailView.h; sourceTree = "<group>"; };
C0F5869A1E25D05F001248E2 /* KWMProductDetailView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KWMProductDetailView.m; sourceTree = "<group>"; };
C0F5869C1E25D3B6001248E2 /* KWMProductDetailView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = KWMProductDetailView.xib; sourceTree = "<group>"; };
C0F586A01E276E56001248E2 /* KWMRecommendView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = KWMRecommendView.xib; sourceTree = "<group>"; };
C0F586A41E276EB7001248E2 /* KWMRecommendView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMRecommendView.h; sourceTree = "<group>"; };
C0F586A51E276EB7001248E2 /* KWMRecommendView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KWMRecommendView.m; sourceTree = "<group>"; };
C0F586AD1E279574001248E2 /* KWMBottomView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = KWMBottomView.xib; sourceTree = "<group>"; };
C0FC278C1D9B73B000C5CFFE /* KWMGiftCardCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KWMGiftCardCell.h; sourceTree = "<group>"; };
C0FC278D1D9B73B000C5CFFE /* KWMGiftCardCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KWMGiftCardCell.m; sourceTree = "<group>"; };
......@@ -933,6 +903,15 @@
80F82E501D702C0A008B470B /* Cell */ = {
isa = PBXGroup;
children = (
C0DD53201EE55062002D1E0C /* KWMCarCountView.h */,
C0DD53211EE55062002D1E0C /* KWMCarCountView.m */,
C0DD53221EE55062002D1E0C /* KWMCarCountView.xib */,
C0DD53111EE54B96002D1E0C /* KWMSearchBrandView.h */,
C0DD53121EE54B96002D1E0C /* KWMSearchBrandView.m */,
C0DD53131EE54B96002D1E0C /* KWMSearchBrandView.xib */,
C0DD530C1EE54A9E002D1E0C /* KWMBarandSelectView.h */,
C0DD530D1EE54A9E002D1E0C /* KWMBarandSelectView.m */,
C0DD530E1EE54A9E002D1E0C /* KWMBarandSelectView.xib */,
80F82E5E1D704E34008B470B /* KWMBrandCell.h */,
80F82E5F1D704E34008B470B /* KWMBrandCell.m */,
80F82E601D704E34008B470B /* KWMBrandCell.xib */,
......@@ -1147,11 +1126,10 @@
C034E6C51D6AECF9006EE129 /* View */ = {
isa = PBXGroup;
children = (
C0DD53251EE55190002D1E0C /* Cell */,
C0DD53261EE55190002D1E0C /* Loading */,
C034E7C31D6B10A0006EE129 /* CorePhotoBroswer */,
C034E8381D6B10A0006EE129 /* EGO */,
8060292E1DDD4CF40029DF4A /* KWMLoadingView.h */,
8060292F1DDD4CF40029DF4A /* KWMLoadingView.m */,
806029311DDD4DE40029DF4A /* KWMLoadingView.xib */,
C0AF03981DD5BFB20060623F /* UIViewController+BackButtonHandler.h */,
C0AF03991DD5BFB20060623F /* UIViewController+BackButtonHandler.m */,
C034E6F21D6AF197006EE129 /* KWMPickView.h */,
......@@ -1159,9 +1137,6 @@
C034E6F41D6AF197006EE129 /* KWMPickView.xib */,
C034E6F71D6AF205006EE129 /* KWMButton.h */,
C034E6F81D6AF205006EE129 /* KWMButton.m */,
C034E6F91D6AF205006EE129 /* KWMEmptyViewList.h */,
C034E6FA1D6AF205006EE129 /* KWMEmptyViewList.m */,
C034E6FB1D6AF205006EE129 /* KWMEmptyViewList.xib */,
C034E6FC1D6AF205006EE129 /* KWMLineView.h */,
C034E6FD1D6AF205006EE129 /* KWMLineView.m */,
C034E6FE1D6AF205006EE129 /* RTSpinKitView.h */,
......@@ -1169,47 +1144,15 @@
C084F4551D6D975400A0625D /* KWMSearchBar.h */,
C084F4561D6D975400A0625D /* KWMSearchBar.m */,
C084F4581D6D976F00A0625D /* KWMSearchBar.xib */,
8054B3201D743F69003A95D3 /* KWMBarandSelectView.h */,
8054B3211D743F69003A95D3 /* KWMBarandSelectView.m */,
8054B3231D743F80003A95D3 /* KWMBarandSelectView.xib */,
8078068B1D75805700FD2841 /* KWMSearchBrandView.h */,
8078068C1D75805700FD2841 /* KWMSearchBrandView.m */,
8078068E1D75807100FD2841 /* KWMSearchBrandView.xib */,
80C8014D1D78134800002306 /* KWMTBVSectionHeardView.h */,
80C8014E1D78134800002306 /* KWMTBVSectionHeardView.m */,
80C801501D78136400002306 /* KWMTBVSectionHeardView.xib */,
80C801551D783B4100002306 /* KWMSearchFeedBackView.h */,
80C801561D783B4100002306 /* KWMSearchFeedBackView.m */,
80C801581D783B5100002306 /* KWMSearchFeedBackView.xib */,
8079FF611D791C8E0037A71F /* KWMGoodsDetailsView.h */,
8079FF621D791C8E0037A71F /* KWMGoodsDetailsView.m */,
8079FF5F1D791C780037A71F /* KWMGoodsDetailsView.xib */,
8079FF6E1D797DDC0037A71F /* KWMPointView.h */,
8079FF6F1D797DDC0037A71F /* KWMPointView.m */,
8079FF711D797DF10037A71F /* KWMPointView.xib */,
C0E8AE131D7D7C0000C193DC /* KWMSplashView.h */,
C0E8AE141D7D7C0000C193DC /* KWMSplashView.m */,
C0E8AE161D7D7C8200C193DC /* KWMSplashView.xib */,
80E844251D7FB0FF0042AED2 /* KWMRuleView.h */,
80E844261D7FB0FF0042AED2 /* KWMRuleView.m */,
80E844281D7FB1130042AED2 /* KWMRuleView.xib */,
80E81E671D87F96E00FCC0B1 /* KWMMineTitleView.h */,
80E81E681D87F96E00FCC0B1 /* KWMMineTitleView.m */,
80E81E6A1D87F98D00FCC0B1 /* KWMMineTitleView.xib */,
801E71CF1D9504EC0040C76C /* KWMCarCountView.h */,
801E71D01D9504EC0040C76C /* KWMCarCountView.m */,
801E71CD1D9504D50040C76C /* KWMCarCountView.xib */,
801230F41DD32B39008C7904 /* KWMInformationView.h */,
801230F51DD32B39008C7904 /* KWMInformationView.m */,
801230F71DD32B49008C7904 /* KWMInformationView.xib */,
C03A05111E36042900BAA889 /* MMJRefreshNormalHeader.h */,
C03A05121E36042900BAA889 /* MMJRefreshNormalHeader.m */,
C03B81E81E37079F00CAD39E /* KWMSuperLoadingView.h */,
C03B81E91E37079F00CAD39E /* KWMSuperLoadingView.m */,
C03B81EB1E372B3800CAD39E /* ArcToCircleLayer.h */,
C03B81EC1E372B3800CAD39E /* ArcToCircleLayer.m */,
C03B81EE1E3758D200CAD39E /* KWMLoadingHeader.h */,
C03B81EF1E3758D200CAD39E /* KWMLoadingHeader.m */,
);
path = View;
sourceTree = "<group>";
......@@ -1645,6 +1588,9 @@
C06665021D75A2E500F02EF4 /* Cell */ = {
isa = PBXGroup;
children = (
C0DD531B1EE54F5D002D1E0C /* KWMMineTitleView.h */,
C0DD531C1EE54F5D002D1E0C /* KWMMineTitleView.m */,
C0DD531D1EE54F5D002D1E0C /* KWMMineTitleView.xib */,
C06665031D75A2E500F02EF4 /* KWMOrderCell.h */,
C06665041D75A2E500F02EF4 /* KWMOrderCell.m */,
C06665051D75A2E500F02EF4 /* KWMOrderCell.xib */,
......@@ -1692,6 +1638,34 @@
path = Cell;
sourceTree = "<group>";
};
C0DD53251EE55190002D1E0C /* Cell */ = {
isa = PBXGroup;
children = (
);
path = Cell;
sourceTree = "<group>";
};
C0DD53261EE55190002D1E0C /* Loading */ = {
isa = PBXGroup;
children = (
C0DD53271EE55190002D1E0C /* ArcToCircleLayer.h */,
C0DD53281EE55190002D1E0C /* ArcToCircleLayer.m */,
C0DD53291EE55190002D1E0C /* KWMLoadingHeader.h */,
C0DD532A1EE55190002D1E0C /* KWMLoadingHeader.m */,
C0DD532B1EE55190002D1E0C /* KWMLoadingView.h */,
C0DD532C1EE55190002D1E0C /* KWMLoadingView.m */,
C0DD532D1EE55190002D1E0C /* KWMLoadingView.xib */,
C0DD532E1EE55190002D1E0C /* KWMSplashView.h */,
C0DD532F1EE55190002D1E0C /* KWMSplashView.m */,
C0DD53301EE55190002D1E0C /* KWMSplashView.xib */,
C0DD53311EE55190002D1E0C /* KWMSuperLoadingView.h */,
C0DD53321EE55190002D1E0C /* KWMSuperLoadingView.m */,
C0DD53331EE55190002D1E0C /* MMJRefreshNormalHeader.h */,
C0DD53341EE55190002D1E0C /* MMJRefreshNormalHeader.m */,
);
path = Loading;
sourceTree = "<group>";
};
C0F586411E24F820001248E2 /* Product */ = {
isa = PBXGroup;
children = (
......@@ -1720,6 +1694,9 @@
C0F586421E24F820001248E2 /* Cell */ = {
isa = PBXGroup;
children = (
C0DD53161EE54C5F002D1E0C /* KWMSearchFeedBackView.h */,
C0DD53171EE54C5F002D1E0C /* KWMSearchFeedBackView.m */,
C0DD53181EE54C5F002D1E0C /* KWMSearchFeedBackView.xib */,
C0F586431E24F820001248E2 /* KWMBottomView.h */,
C0F586441E24F820001248E2 /* KWMBottomView.m */,
C0F586AD1E279574001248E2 /* KWMBottomView.xib */,
......@@ -1741,18 +1718,9 @@
C0F586551E24F820001248E2 /* KWMNewTypeView.h */,
C0F586561E24F820001248E2 /* KWMNewTypeView.m */,
C0F586571E24F820001248E2 /* KWMNewTypeView.xib */,
C0F586581E24F820001248E2 /* KWMTopView.h */,
C0F586591E24F820001248E2 /* KWMTopView.m */,
C0F5865A1E24F820001248E2 /* KWMTopView.xib */,
C0F5865B1E24F820001248E2 /* KWMWatchView.h */,
C0F5865C1E24F820001248E2 /* KWMWatchView.m */,
C0F5865D1E24F820001248E2 /* KWMWatchView.xib */,
C0F586991E25D05F001248E2 /* KWMProductDetailView.h */,
C0F5869A1E25D05F001248E2 /* KWMProductDetailView.m */,
C0F5869C1E25D3B6001248E2 /* KWMProductDetailView.xib */,
C0F586A41E276EB7001248E2 /* KWMRecommendView.h */,
C0F586A51E276EB7001248E2 /* KWMRecommendView.m */,
C0F586A01E276E56001248E2 /* KWMRecommendView.xib */,
C08827A41E28B4AF006A8B91 /* KWMPageControl.h */,
C08827A51E28B4AF006A8B91 /* KWMPageControl.m */,
C02C7DA41E66B2AE008DC29C /* KWMFilterCell.h */,
......@@ -1932,18 +1900,17 @@
C034E8591D6B10A0006EE129 /* SVProgressHUD.bundle in Resources */,
801230F31DD30704008C7904 /* KWMSearchBrandsCell.xib in Resources */,
C084F4591D6D976F00A0625D /* KWMSearchBar.xib in Resources */,
806029321DDD4DE40029DF4A /* KWMLoadingView.xib in Resources */,
C034E7021D6AF205006EE129 /* KWMEmptyViewList.xib in Resources */,
C0DD53381EE55190002D1E0C /* KWMLoadingView.xib in Resources */,
C0F5867D1E24F820001248E2 /* KWMFilterView.xib in Resources */,
C0F586811E24F820001248E2 /* KWMNewTypeView.xib in Resources */,
C0AF039F1DD5C8EE0060623F /* KWMNeedAddressView.xib in Resources */,
C0F586831E24F820001248E2 /* KWMTopView.xib in Resources */,
C084F4541D6D8CA700A0625D /* KWMBlogCell.xib in Resources */,
C05910951E34A729002990B3 /* KWMNewGiftCardCell.xib in Resources */,
C0CC14091D7823B0007B5986 /* KWMSizeCell.xib in Resources */,
8091DFAE1D6EA6DC0020519C /* KWMFirstView.xib in Resources */,
C02C7DB51E67B56D008DC29C /* KWMFilterHeaderView.xib in Resources */,
C034E8671D6B10A0006EE129 /* PhotoItemView.xib in Resources */,
C0DD533A1EE55190002D1E0C /* KWMSplashView.xib in Resources */,
8091DFA31D6E8CCA0020519C /* Guide.storyboard in Resources */,
80F82E4F1D701F82008B470B /* Brand.storyboard in Resources */,
C0F5869D1E25D3B6001248E2 /* KWMProductDetailView.xib in Resources */,
......@@ -1953,29 +1920,24 @@
C0F586771E24F820001248E2 /* KWMCollectionCell.xib in Resources */,
C0F586791E24F820001248E2 /* KWMDetailCell.xib in Resources */,
C0F5867F1E24F820001248E2 /* KWMNewGoodsCell.xib in Resources */,
8079FF721D797DF10037A71F /* KWMPointView.xib in Resources */,
C0DD53101EE54A9E002D1E0C /* KWMBarandSelectView.xib in Resources */,
C066650C1D75A2E500F02EF4 /* Mine.storyboard in Resources */,
8077F79B1D73E39000A2E2E2 /* KWMBrandCaramelCell.xib in Resources */,
C0E8AE171D7D7C8200C193DC /* KWMSplashView.xib in Resources */,
C034E6EB1D6AF0A0006EE129 /* Localizable.strings in Resources */,
C0F586AE1E279574001248E2 /* KWMBottomView.xib in Resources */,
C0392DBA1DCC38450051AC8E /* KWMShippingCell.xib in Resources */,
80DD275B1DC2FE6800CDC5B5 /* Home.storyboard in Resources */,
80A611AF1D6DB0CD00709E09 /* ShopCart.storyboard in Resources */,
C02C7D811E640D82008DC29C /* README.txt in Resources */,
C0DD531F1EE54F5D002D1E0C /* KWMMineTitleView.xib in Resources */,
C034E8531D6B10A0006EE129 /* CoreSDWebImage.bundle in Resources */,
C066650A1D75A2E500F02EF4 /* KWMOrderCell.xib in Resources */,
8091DFB81D6EC1C60020519C /* KWMThreeView.xib in Resources */,
C0F586A11E276E56001248E2 /* KWMRecommendView.xib in Resources */,
8091DFB01D6EAD6F0020519C /* KWMSecondView.xib in Resources */,
80C801591D783B5100002306 /* KWMSearchFeedBackView.xib in Resources */,
8091DFA61D6EA0840020519C /* KWMLastView.xib in Resources */,
C0F586851E24F820001248E2 /* KWMWatchView.xib in Resources */,
8054B3241D743F81003A95D3 /* KWMBarandSelectView.xib in Resources */,
8079FF601D791C780037A71F /* KWMGoodsDetailsView.xib in Resources */,
C034E8601D6B10A0006EE129 /* PB.bundle in Resources */,
8078068F1D75807100FD2841 /* KWMSearchBrandView.xib in Resources */,
80E81E6B1D87F98D00FCC0B1 /* KWMMineTitleView.xib in Resources */,
C0DD531A1EE54C5F002D1E0C /* KWMSearchFeedBackView.xib in Resources */,
C0DD53151EE54B96002D1E0C /* KWMSearchBrandView.xib in Resources */,
80C801511D78136400002306 /* KWMTBVSectionHeardView.xib in Resources */,
80F82E621D704E34008B470B /* KWMBrandCell.xib in Resources */,
801230F81DD32B49008C7904 /* KWMInformationView.xib in Resources */,
......@@ -1984,9 +1946,9 @@
C0CC14051D7823B0007B5986 /* KWMDeleteView.xib in Resources */,
C034E6981D6AEB12006EE129 /* Main.storyboard in Resources */,
C0CC14071D7823B0007B5986 /* KWMShopCarCell.xib in Resources */,
801E71CE1D9504D50040C76C /* KWMCarCountView.xib in Resources */,
C0CC14171D79826F007B5986 /* KWMAddressCell.xib in Resources */,
804771821D6D32A70086B4DC /* Login.storyboard in Resources */,
C0DD53241EE55062002D1E0C /* KWMCarCountView.xib in Resources */,
C0F5868B1E24F820001248E2 /* New.storyboard in Resources */,
C02C7DA81E66B2AE008DC29C /* KWMFilterCell.xib in Resources */,
);
......@@ -2061,19 +2023,18 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
801E71D11D9504EC0040C76C /* KWMCarCountView.m in Sources */,
C084F4531D6D8CA700A0625D /* KWMBlogCell.m in Sources */,
C0DD53361EE55190002D1E0C /* KWMLoadingHeader.m in Sources */,
807AF4A21DC984950000A326 /* KWMArticlesResult.m in Sources */,
C034E6E41D6AEF73006EE129 /* KWMRequestResult.m in Sources */,
8019E9541DC89CF300CAD7BF /* KWMNewGoodsModel.m in Sources */,
8078068D1D75805700FD2841 /* KWMSearchBrandView.m in Sources */,
C034E7B01D6AFBDA006EE129 /* KWMWebViewVC.m in Sources */,
C034E84C1D6B10A0006EE129 /* UIImage+Extend.m in Sources */,
C03B81F01E3758D200CAD39E /* KWMLoadingHeader.m in Sources */,
C0CC141A1D79847A007B5986 /* KWMSelectAddressVC.m in Sources */,
C034E7001D6AF205006EE129 /* KWMButton.m in Sources */,
C0F5867A1E24F820001248E2 /* KWMDoubleTitleView.m in Sources */,
8091DFBB1D6EC1DD0020519C /* KWMThreeView.m in Sources */,
C0DD53371EE55190002D1E0C /* KWMLoadingView.m in Sources */,
9BE61CFB1ECD56E70031D21E /* KWMDictioaryResult.m in Sources */,
C034E6D81D6AEF1B006EE129 /* KWMImageUtil.m in Sources */,
C03846941DB89EEB008C3BAB /* KWMCemaroseResult.m in Sources */,
......@@ -2085,10 +2046,9 @@
801F87BC1DD1A9B90038FA4C /* KWMNewProducts.m in Sources */,
C0CC14061D7823B0007B5986 /* KWMShopCarCell.m in Sources */,
C034E6951D6AEB12006EE129 /* ViewController.m in Sources */,
8054B3221D743F69003A95D3 /* KWMBarandSelectView.m in Sources */,
C0DD53231EE55062002D1E0C /* KWMCarCountView.m in Sources */,
C03943C01DD1FCE900141475 /* KWMProductType.m in Sources */,
C0CC140C1D7829FC007B5986 /* KWMSelectSizeVC.m in Sources */,
C03A05131E36042900BAA889 /* MMJRefreshNormalHeader.m in Sources */,
C034E7B31D6AFC3B006EE129 /* KWMMainVC.m in Sources */,
C08FDA2A1D9B583400EBDB0D /* KWMGiftCardVC.m in Sources */,
804771801D6D326D0086B4DC /* KWMLoginVC.m in Sources */,
......@@ -2098,8 +2058,8 @@
C034E8541D6B10A0006EE129 /* UIButton+SD.m in Sources */,
C0F5868C1E24F821001248E2 /* ATPagingView.m in Sources */,
C034E6921D6AEB12006EE129 /* AppDelegate.m in Sources */,
80C801571D783B4100002306 /* KWMSearchFeedBackView.m in Sources */,
8091DFB61D6EADFB0020519C /* KWMFirstView.m in Sources */,
C0DD533C1EE55190002D1E0C /* MMJRefreshNormalHeader.m in Sources */,
8078068A1D75680600FD2841 /* KWMSearchBrandVC.m in Sources */,
C0F4AF4B1DF1149500BDA719 /* KWMProduct.m in Sources */,
C0F586741E24F820001248E2 /* KWMBottomView.m in Sources */,
......@@ -2117,9 +2077,7 @@
C034E8421D6B10A0006EE129 /* NSArray+Extend.m in Sources */,
C034E85B1D6B10A0006EE129 /* LFRoundProgressView.m in Sources */,
80F82E611D704E34008B470B /* KWMBrandCell.m in Sources */,
C0F586A61E276EB7001248E2 /* KWMRecommendView.m in Sources */,
C034E6F51D6AF197006EE129 /* KWMPickView.m in Sources */,
C0F586821E24F820001248E2 /* KWMTopView.m in Sources */,
C034E8651D6B10A0006EE129 /* PhotoImageView.m in Sources */,
C034E6C81D6AED1F006EE129 /* KWMUser.m in Sources */,
C034E6F01D6AF13A006EE129 /* KWMBaseVC.m in Sources */,
......@@ -2138,7 +2096,6 @@
C034E6E11D6AEF62006EE129 /* KWMRequestListResult.m in Sources */,
C02C7DA71E66B2AE008DC29C /* KWMFilterCell.m in Sources */,
80F82E581D7033D0008B470B /* KWMBrandModel.m in Sources */,
8079FF631D791C8E0037A71F /* KWMGoodsDetailsView.m in Sources */,
8077F7961D73D2D700A2E2E2 /* KWMBrandCaramelVC.m in Sources */,
C034E84D1D6B10A0006EE129 /* UIImage+FixOrientation.m in Sources */,
C0F5868E1E24F821001248E2 /* SSView.m in Sources */,
......@@ -2147,29 +2104,29 @@
C034E8571D6B10A0006EE129 /* CoreSVP.m in Sources */,
C0F5869B1E25D05F001248E2 /* KWMProductDetailView.m in Sources */,
C06665091D75A2E500F02EF4 /* KWMOrderCell.m in Sources */,
C0DD53141EE54B96002D1E0C /* KWMSearchBrandView.m in Sources */,
C034E8621D6B10A0006EE129 /* PBPGView.m in Sources */,
C02C7DB41E67B56D008DC29C /* KWMFilterHeaderView.m in Sources */,
80ED0A371D93840A00B28DF2 /* DB_shopCart.xcdatamodeld in Sources */,
C0DD53391EE55190002D1E0C /* KWMSplashView.m in Sources */,
80E844271D7FB0FF0042AED2 /* KWMRuleView.m in Sources */,
8031DA991D8268CD00349869 /* KWMForgetPasswordVC.m in Sources */,
C0F586801E24F820001248E2 /* KWMNewTypeView.m in Sources */,
80ED0A481D93B82F00B28DF2 /* KWMShopCartItem+CoreDataClass.m in Sources */,
C034E84F1D6B10A0006EE129 /* UITableViewCell+Extend.m in Sources */,
806029301DDD4CF40029DF4A /* KWMLoadingView.m in Sources */,
C034E8401D6B10A0006EE129 /* CALayer+Anim.m in Sources */,
C0FC278E1D9B73B000C5CFFE /* KWMGiftCardCell.m in Sources */,
8077F79A1D73E39000A2E2E2 /* KWMBrandCaramelCell.m in Sources */,
9BE61D011ECD71610031D21E /* KWMCartResult.m in Sources */,
C084F4571D6D975400A0625D /* KWMSearchBar.m in Sources */,
C0F586841E24F820001248E2 /* KWMWatchView.m in Sources */,
C0E8AE091D7D030B00C193DC /* KWMEditAddressVC.m in Sources */,
807AF4A51DC984950000A326 /* KWMCustomerResult.m in Sources */,
C066650F1D7675FC00F02EF4 /* KWMAboutUsVC.m in Sources */,
807AF4A31DC984950000A326 /* KWMBlogResult.m in Sources */,
C0CC14081D7823B0007B5986 /* KWMSizeCell.m in Sources */,
C06665121D767A0A00F02EF4 /* KWMContactUsVC.m in Sources */,
C034E7011D6AF205006EE129 /* KWMEmptyViewList.m in Sources */,
C034E6CF1D6AEE39006EE129 /* KWMUserDao.m in Sources */,
C0DD530F1EE54A9E002D1E0C /* KWMBarandSelectView.m in Sources */,
C034E8551D6B10A0006EE129 /* UIImageView+SD.m in Sources */,
C034E85E1D6B10A0006EE129 /* PhotoBroswerLayout.m in Sources */,
C034E6CB1D6AED31006EE129 /* KWMBaseModel.m in Sources */,
......@@ -2184,6 +2141,7 @@
8091DFA11D6E878C0020519C /* KWMGuideVC.m in Sources */,
C034E84A1D6B10A0006EE129 /* UIImage+Color.m in Sources */,
801230F21DD30704008C7904 /* KWMSearchBrandsCell.m in Sources */,
C0DD531E1EE54F5D002D1E0C /* KWMMineTitleView.m in Sources */,
805C04351DD1FA4900ACC071 /* KWMBrandsTypeModel.m in Sources */,
C08827A61E28B4AF006A8B91 /* KWMPageControl.m in Sources */,
C034E83E1D6B10A0006EE129 /* NSString+File.m in Sources */,
......@@ -2194,16 +2152,17 @@
C034E84E1D6B10A0006EE129 /* UIImage+Water.m in Sources */,
C0F5867C1E24F820001248E2 /* KWMFilterView.m in Sources */,
C034E86B1D6B10A0006EE129 /* EGORefreshTableHeaderView.m in Sources */,
C0DD53191EE54C5F002D1E0C /* KWMSearchFeedBackView.m in Sources */,
C03A05061E35DC5800BAA889 /* KWMNewGiftCardVC.m in Sources */,
C034E86A1D6B10A0006EE129 /* EGORefreshTableFooterView.m in Sources */,
C034E84B1D6B10A0006EE129 /* UIImage+Cut.m in Sources */,
C0219A951DF53EB200711099 /* KWMExchangeRateResult.m in Sources */,
C034E85A1D6B10A0006EE129 /* SVProgressHUD.m in Sources */,
807AF4A81DC984950000A326 /* KWMSearchResult.m in Sources */,
C0DD533B1EE55190002D1E0C /* KWMSuperLoadingView.m in Sources */,
C034E85D1D6B10A0006EE129 /* PBConst.m in Sources */,
C0CC140F1D7926DF007B5986 /* KWMBeforePayVC.m in Sources */,
C034E8441D6B10A0006EE129 /* NSObject+Extend.m in Sources */,
8079FF701D797DDC0037A71F /* KWMPointView.m in Sources */,
80A611B21D6DB0EC00709E09 /* KWMShopCartVC.m in Sources */,
9B0F56B81ECD3424009FC5FE /* UIViewController+AppearLog.m in Sources */,
C034E8451D6B10A0006EE129 /* NSString+Extend.m in Sources */,
......@@ -2215,18 +2174,16 @@
C034E8411D6B10A0006EE129 /* CALayer+Transition.m in Sources */,
C034E8631D6B10A0006EE129 /* PBSaveBtn.m in Sources */,
807AF4A71DC984950000A326 /* KWMProducts.m in Sources */,
80E81E691D87F96E00FCC0B1 /* KWMMineTitleView.m in Sources */,
C0F5868A1E24F820001248E2 /* KWMSelectedGoodsVC.m in Sources */,
C034E8661D6B10A0006EE129 /* PhotoItemView.m in Sources */,
9B166F511ED6DBCF003E9F03 /* KWMHttpUtil.m in Sources */,
C034E6D91D6AEF1B006EE129 /* KWMStringUtil.m in Sources */,
C02C7D9B1E642DED008DC29C /* KWMWeChatUtil.m in Sources */,
C034E6F11D6AF13A006EE129 /* KWMBasePageVC.m in Sources */,
C03B81EA1E37079F00CAD39E /* KWMSuperLoadingView.m in Sources */,
C0E8AE151D7D7C0000C193DC /* KWMSplashView.m in Sources */,
C034E7031D6AF205006EE129 /* KWMLineView.m in Sources */,
807AF4A41DC984950000A326 /* KWMBrandsResult.m in Sources */,
C034E8471D6B10A0006EE129 /* UIColor+Extend.m in Sources */,
C0DD53351EE55190002D1E0C /* ArcToCircleLayer.m in Sources */,
C091EE361DDEEA9400A382B9 /* KWMVariants.m in Sources */,
C0E8AE121D7D52B200C193DC /* KWMPayTypeVC.m in Sources */,
C034E85F1D6B10A0006EE129 /* PhotoModel.m in Sources */,
......@@ -2238,7 +2195,6 @@
80C8014F1D78134800002306 /* KWMTBVSectionHeardView.m in Sources */,
C034E7C21D6B0B62006EE129 /* KWMMineVC.m in Sources */,
C08FDA271D9A5F3400EBDB0D /* KWMAddGiftCardVC.m in Sources */,
C03B81ED1E372B3800CAD39E /* ArcToCircleLayer.m in Sources */,
C02C7D9E1E643323008DC29C /* KWMShareVC.m in Sources */,
C034E68F1D6AEB12006EE129 /* main.m in Sources */,
C0AF039E1DD5C8EE0060623F /* KWMNeedAddressView.m in Sources */,
......
......@@ -9,7 +9,6 @@
#import <UIKit/UIKit.h>
#import "KWMNewGoodsCell.h"
#import "KWMPointView.h"
@class KWMBottomView;
@protocol KWMBottomViewDelegate <NSObject>
......@@ -40,7 +39,6 @@
@property (nonatomic) NSInteger count;
@property (nonatomic) KWMPointView *vPoint;
//isSameBrand 是否同一品牌商品
-(void)setData:(NSArray *)products isSameBrand:(BOOL)isSameBrand;
......
//
// KWMRecommendView.h
// iCemarose
//
// Created by HouWeiBin on 2017/1/12.
// Copyright © 2017年 kollway. All rights reserved.
//
@interface KWMRecommendView : UIView
@end
//
// KWMRecommendView.m
// iCemarose
//
// Created by HouWeiBin on 2017/1/12.
// Copyright © 2017年 kollway. All rights reserved.
//
#import "KWMRecommendView.h"
@interface KWMRecommendView ()
@property(nonatomic,weak) IBOutlet UIView *vView;
@end
@implementation KWMRecommendView
- (id)init{
if (self=[super init]){
[self addView];
}
return self;
}
- (id)initWithCoder:(NSCoder *)aDecoder {
self = [super initWithCoder:aDecoder];
if (self) {
[self addView];
}
return self;
}
-(instancetype)initWithFrame:(CGRect)frame{
if (self =[super initWithFrame:frame]) {
[self addView];
}
return self;
}
-(void)awakeFromNib{
[super awakeFromNib];
}
-(void) addView{
[[NSBundle mainBundle] loadNibNamed:NSStringFromClass([self class])
owner:self
options:nil];
self.vView.frame = CGRectMake(0, 0, self.frame.size.width, self.frame.size.height);
[self addSubview:self.vView];
}
@end
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11762" systemVersion="16A323" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<device id="retina4_7" orientation="portrait">
<adaptation id="fullscreen"/>
</device>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11757"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="KWMRecommendView">
<connections>
<outlet property="vView" destination="iN0-l3-epB" id="CGk-dt-HWg"/>
</connections>
</placeholder>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view alpha="0.5" contentMode="scaleToFill" id="iN0-l3-epB">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="wA7-ND-9g5" userLabel="vContent">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="其他商品" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="toe-XT-qob">
<rect key="frame" x="164" y="40" width="48" height="17"/>
<fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="12"/>
<color key="textColor" red="0.31764705882352939" green="0.31764705882352939" blue="0.31764705882352939" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="9un-c8-kAy" userLabel="vLine">
<rect key="frame" x="222" y="48" width="48" height="1"/>
<color key="backgroundColor" red="0.84705882352941175" green="0.85882352941176465" blue="0.87058823529411766" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstAttribute="height" constant="1" id="Ni4-cJ-xbS"/>
<constraint firstAttribute="width" constant="48" id="gEm-Fx-sLc"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="CtM-w6-mDU" userLabel="vLine">
<rect key="frame" x="106" y="48" width="48" height="1"/>
<color key="backgroundColor" red="0.84705882352941175" green="0.85882352941176465" blue="0.87058823529411766" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstAttribute="width" constant="48" id="KI2-lh-bb9"/>
<constraint firstAttribute="height" constant="1" id="hLE-7K-VpC"/>
</constraints>
</view>
<view userInteractionEnabled="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="dR5-aW-c7F" userLabel="vOther">
<rect key="frame" x="0.0" y="87" width="375" height="168"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstAttribute="height" constant="168" id="Vwk-5E-JPD"/>
</constraints>
</view>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="同类商品" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Kq4-Hb-gFn">
<rect key="frame" x="164" y="285" width="48" height="17"/>
<fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="12"/>
<color key="textColor" red="0.31764705882352939" green="0.31764705882352939" blue="0.31764705882352939" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="9Hp-N2-1ZZ" userLabel="vLine">
<rect key="frame" x="222" y="292.5" width="50" height="1"/>
<color key="backgroundColor" red="0.84705882352941175" green="0.85882352941176465" blue="0.87058823529411766" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstAttribute="width" constant="50" id="DgO-va-K5M"/>
<constraint firstAttribute="height" constant="1" id="gLa-Kj-QLQ"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="fhc-3o-nM5" userLabel="vLine">
<rect key="frame" x="106" y="293" width="48" height="1"/>
<color key="backgroundColor" red="0.84705882352941175" green="0.85882352941176465" blue="0.87058823529411766" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstAttribute="height" constant="1" id="RNu-zb-ylR"/>
<constraint firstAttribute="width" constant="48" id="oK8-NQ-EfS"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="qi5-GI-f2v" userLabel="vSame">
<rect key="frame" x="0.0" y="332" width="375" height="168"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstAttribute="height" constant="168" id="oGg-i4-uyu"/>
</constraints>
</view>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstItem="fhc-3o-nM5" firstAttribute="centerY" secondItem="Kq4-Hb-gFn" secondAttribute="centerY" id="57D-4y-y4I"/>
<constraint firstItem="Kq4-Hb-gFn" firstAttribute="leading" secondItem="fhc-3o-nM5" secondAttribute="trailing" constant="10" id="9it-pa-N3K"/>
<constraint firstItem="CtM-w6-mDU" firstAttribute="centerY" secondItem="toe-XT-qob" secondAttribute="centerY" id="9sW-27-Gtf"/>
<constraint firstItem="dR5-aW-c7F" firstAttribute="leading" secondItem="wA7-ND-9g5" secondAttribute="leading" id="AZp-OL-Kgs"/>
<constraint firstItem="9Hp-N2-1ZZ" firstAttribute="leading" secondItem="Kq4-Hb-gFn" secondAttribute="trailing" constant="10" id="LIY-6m-4rd"/>
<constraint firstItem="toe-XT-qob" firstAttribute="centerX" secondItem="wA7-ND-9g5" secondAttribute="centerX" id="Ms5-9s-mfl"/>
<constraint firstItem="qi5-GI-f2v" firstAttribute="top" secondItem="Kq4-Hb-gFn" secondAttribute="bottom" constant="30" id="TaS-qt-KOu"/>
<constraint firstItem="toe-XT-qob" firstAttribute="leading" secondItem="CtM-w6-mDU" secondAttribute="trailing" constant="10" id="TcH-P5-XuB"/>
<constraint firstItem="9un-c8-kAy" firstAttribute="leading" secondItem="toe-XT-qob" secondAttribute="trailing" constant="10" id="W8e-SA-hhD"/>
<constraint firstItem="qi5-GI-f2v" firstAttribute="leading" secondItem="wA7-ND-9g5" secondAttribute="leading" id="Zer-mj-zRX"/>
<constraint firstItem="Kq4-Hb-gFn" firstAttribute="centerX" secondItem="wA7-ND-9g5" secondAttribute="centerX" id="bj0-Wj-AM8"/>
<constraint firstItem="9Hp-N2-1ZZ" firstAttribute="centerY" secondItem="Kq4-Hb-gFn" secondAttribute="centerY" id="eL7-ua-xFd"/>
<constraint firstItem="toe-XT-qob" firstAttribute="top" secondItem="wA7-ND-9g5" secondAttribute="top" constant="40" id="fBc-kv-O2a"/>
<constraint firstItem="dR5-aW-c7F" firstAttribute="top" secondItem="toe-XT-qob" secondAttribute="bottom" constant="30" id="hXg-No-M8O"/>
<constraint firstAttribute="trailing" secondItem="qi5-GI-f2v" secondAttribute="trailing" id="tPo-yl-ifG"/>
<constraint firstItem="Kq4-Hb-gFn" firstAttribute="top" secondItem="dR5-aW-c7F" secondAttribute="bottom" constant="30" id="trb-vq-Aei"/>
<constraint firstAttribute="trailing" secondItem="dR5-aW-c7F" secondAttribute="trailing" id="z4Q-pY-jLe"/>
<constraint firstItem="9un-c8-kAy" firstAttribute="centerY" secondItem="toe-XT-qob" secondAttribute="centerY" id="zcz-Nc-oc1"/>
</constraints>
</view>
</subviews>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstItem="wA7-ND-9g5" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="301-K2-z5n"/>
<constraint firstAttribute="bottom" secondItem="wA7-ND-9g5" secondAttribute="bottom" id="K9x-dh-hP0"/>
<constraint firstAttribute="trailing" secondItem="wA7-ND-9g5" secondAttribute="trailing" id="TDa-t8-8Oj"/>
<constraint firstItem="wA7-ND-9g5" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="Yzg-9V-dQ8"/>
</constraints>
<point key="canvasLocation" x="67.5" y="74.5"/>
</view>
</objects>
</document>
//
// KWMTopView.h
// iCemarose
//
// Created by 陈荣科 on 16/9/6.
// Copyright © 2016年 kollway. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "KWMPointView.h"
#import "KWMWatchView.h"
#import "Buy/Buy.h"
@class KWMTopView;
@protocol KWMTopViewDelegate <NSObject>
- (void)kwm_wacthLargeImage:(NSMutableArray *)imageArr;
- (void)kwm_onClickInformationBtn;
- (void)kwm_onClickSizeBtn;
- (void)kwm_goToBrandVC:(NSString *)brand;
@end
@interface KWMTopView : UIView<UIScrollViewDelegate,UITableViewDelegate,UITableViewDataSource,UIGestureRecognizerDelegate,KWMWatchViewDelegate>
@property (weak, nonatomic) IBOutlet UIView *vContent;
@property (weak, nonatomic) IBOutlet UIScrollView *sclDetail;
@property (weak, nonatomic) IBOutlet UIButton *btnBrand;
@property (weak, nonatomic) IBOutlet UILabel *lbGoodName;
@property (weak, nonatomic) IBOutlet UILabel *lbPrice;
@property (weak, nonatomic) IBOutlet UILabel *lbDiscount;
@property (weak, nonatomic) IBOutlet UIButton *btnInformation;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *discountLeft;//左边间距
@property (nonatomic) NSMutableArray *imageArr;
@property (weak, nonatomic) id<KWMTopViewDelegate>delegate;
@property (nonatomic) KWMPointView *vPoint;
@property (nonatomic) BUYProduct *product;
- (void)setImage:(NSString *)imageurl;
-(void)setData:(BUYProduct *)product;
- (IBAction)onClickSizeBtn:(id)sender;
- (IBAction)onClickInformationBtn:(id)sender;
- (IBAction)onClickBlandBtn:(id)sender;
@end
//
// KWMTopView.m
// iCemarose
//
// Created by 陈荣科 on 16/9/6.
// Copyright © 2016年 kollway. All rights reserved.
//
#import "KWMTopView.h"
#import "KWMSelectSizeVC.h"
#import "KWMStringUtil.h"
#import "KWMDetailCell.h"
#import "KWMImageUtil.h"
#import "Buy/Buy.h"
#import "KWMStringUtil.h"
@implementation KWMTopView{
NSInteger index;
BOOL isShowCNY;
}
static NSString * idStr = @"KWMDetailCell";
#define sclHeight (UI_SCREEN_HEITHT-20-20-40-90-64)
- (instancetype)init{
if (self = [super init]) {
[self initContentView];
}
return self;
}
- (instancetype)initWithCoder:(NSCoder *)aDecoder{
if (self = [super initWithCoder:aDecoder]) {
[self initContentView];
}
return self;
}
- (instancetype)initWithFrame:(CGRect)frame{
if (self = [super initWithFrame:frame]) {
[self initContentView];
}
return self;
}
- (void)awakeFromNib{
[super awakeFromNib];
[self initContentView];
}
- (void)initContentView{
[[NSBundle mainBundle] loadNibNamed:@"KWMTopView" owner:self options:nil];
[self addSubview:self.vContent];
self.vContent.frame = CGRectMake(0, 0, self.frame.size.width, self.frame.size.height);
[self initScrollView];
UITapGestureRecognizer *tapGesture = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(onClickPrice:)];
UITapGestureRecognizer *tapGesture2 = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(onClickPrice:)];
[self.lbDiscount addGestureRecognizer:tapGesture];
[self.lbPrice addGestureRecognizer:tapGesture2];
// UITapGestureRecognizer *tapGesture2 = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(onClickPrice:)];
// [self.lbPrice addGestureRecognizer:tapGesture2];
isShowCNY = YES;
_imageArr = [NSMutableArray array];
}
- (void)initScrollView{
self.sclDetail.contentSize = CGSizeMake(UI_SCREEN_WIDTH, sclHeight*4);
self.sclDetail.pagingEnabled = YES;
self.sclDetail.delegate = self;
// for (int i = 0; i < 4; i++) {
//
// CGRect frame = CGRectMake(0, sclHeight*i, UI_SCREEN_WIDTH, sclHeight);
// KWMWatchView *vWatch = [[KWMWatchView alloc] initWithFrame:frame];
// vWatch.tagId = i;
// [self.sclDetail addSubview:vWatch];
// }
// _vPoint = [[KWMPointView alloc] initWithFrame:CGRectMake(10, 64, 8, sclHeight)];
// _vPoint.imageNum = 4;
// [self addSubview:_vPoint];
}
- (void)setData:(BUYProduct *)product{
if(product == nil){
return;
}
self.product = product;
//先显示空白的view
// [self initBlankScrollView];
[self initImage:product.identifier];
// NSArray<BUYImageLink*> *imageArray = product.imagesArray;
// if(imageArray == nil || imageArray.count == 0){
// return;
// }
// self.sclDetail.contentSize = CGSizeMake(UI_SCREEN_WIDTH, sclHeight*imageArray.count);
// for ( int i = 0; i < imageArray.count;i++){
// CGRect frame = CGRectMake(0, sclHeight*i, UI_SCREEN_WIDTH, sclHeight);
// KWMWatchView *vWatch = [[KWMWatchView alloc] initWithFrame:frame];
// vWatch.tagId = i;
// [self.sclDetail addSubview:vWatch];
// BUYImageLink *imageLink = [imageArray objectAtIndex:i];
// [vWatch setData:imageLink];
// }
// _vPoint = [[KWMPointView alloc] initWithFrame:CGRectMake(10, 64, 8, sclHeight)];
// _vPoint.imageNum = imageArray.count;
// [self addSubview:_vPoint];
self.lbPrice.hidden = NO;
self.discountLeft.constant = 5;
self.lbPrice.textAlignment = NSTextAlignmentLeft;
self.lbDiscount.textAlignment = NSTextAlignmentLeft;
[self.btnBrand setTitle:product.vendor forState:UIControlStateNormal];
// self.lbBrand.text = product.vendor;
self.lbGoodName.text = product.title;
BUYProductVariant *productVariant= product.variants.firstObject;
if (productVariant.compareAtPrice) {
NSString *priceString = [NSString stringWithFormat:@"¥%@",[KWMStringUtil getEUR2CNYstring:productVariant.compareAtPrice]];
NSDictionary *attribtDic = @{NSStrikethroughStyleAttributeName: [NSNumber numberWithInteger:NSUnderlineStyleSingle]};
NSMutableAttributedString *attribtStr = [[NSMutableAttributedString alloc]initWithString:priceString attributes:attribtDic];
self.lbPrice.attributedText = attribtStr;
}else{
self.lbPrice.hidden = YES;
self.discountLeft.constant = -self.lbPrice.frame.size.width;
}
self.lbDiscount.text = [NSString stringWithFormat: @"¥%@", [KWMStringUtil getEUR2CNYstring:productVariant.price]];
}
//初始化空白数据
-(void)initBlankScrollView{
self.sclDetail.contentSize = CGSizeMake(UI_SCREEN_WIDTH, sclHeight*1);
CGRect frame = CGRectMake(0, sclHeight*0, UI_SCREEN_WIDTH, sclHeight);
KWMWatchView *vWatch = [[KWMWatchView alloc] initWithFrame:frame];
vWatch.tagId = 0;
if(self.product!=nil){
NSString *imageUrl = [KWMImageUtil getProductImageUrl:self.product.identifier ImageSize:BigImage];
[self.sclDetail addSubview:vWatch];
[vWatch setImage:imageUrl];
}
if(_vPoint!=nil){
[_vPoint removeFromSuperview];
_vPoint = nil;
}
}
-(void)onClickPrice:(UITapGestureRecognizer *)tap{
if(!self.product || !self.product.variants || self.product.variants.count == 0){
return;
}
isShowCNY = !isShowCNY;
BUYProductVariant *productVariant= self.product.variants.firstObject;
if (productVariant.compareAtPrice) {
NSString *priceString = @"";
if(isShowCNY){
priceString = [NSString stringWithFormat:@"¥%@",[KWMStringUtil getEUR2CNYstring:productVariant.compareAtPrice]];
}else{
priceString = [NSString stringWithFormat:@"€%@",productVariant.compareAtPrice.stringValue];
}
NSDictionary *attribtDic = @{NSStrikethroughStyleAttributeName: [NSNumber numberWithInteger:NSUnderlineStyleSingle]};
NSMutableAttributedString *attribtStr = [[NSMutableAttributedString alloc]initWithString:priceString attributes:attribtDic];
self.lbPrice.attributedText = attribtStr;
}
if(isShowCNY){
self.lbDiscount.text = [NSString stringWithFormat: @"¥%@", [KWMStringUtil getEUR2CNYstring:productVariant.price]];
}else{
self.lbDiscount.text = [NSString stringWithFormat: @"€%@", productVariant.price.stringValue];
}
}
#pragma mark -- KWMWatchViewDelegate
- (void)kwm_showLargeImage{
if (_imageArr.count == 0) {
return;
}
if ([self.delegate respondsToSelector:@selector(kwm_wacthLargeImage:)]) {
[self.delegate kwm_wacthLargeImage:_imageArr];
}
}
#pragma mark -- UIScrollViewDelegate
- (void)scrollViewDidEndDecelerating:(UIScrollView *)scrollView{
index = scrollView.contentOffset.y/sclHeight;
_vPoint.mark = index;
}
#pragma mark -- UITableViewDataSource
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView{
return 2;
}
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{
if (section == 0) {
return 1;
}
return 0;
}
- (CGFloat)getSizeOfTextHeigth{
if(self.product == nil){
return 0;
}else{
NSString *detail = self.product.htmlDescription;
CGSize size = CGSizeMake(UI_SCREEN_WIDTH-40, 0);
CGSize reSize = [KWMStringUtil boundingRectWithSize:size text:detail testSize:12];
return reSize.height;
}
}
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
KWMDetailCell *deltailCell = [tableView dequeueReusableCellWithIdentifier:idStr forIndexPath:indexPath];
if (indexPath.section == 0 && self.product!=nil) {
deltailCell.lbText.text = self.product.htmlDescription;
}
deltailCell.selectionStyle = UITableViewCellSelectionStyleNone;
return deltailCell;
}
- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section{
UIView *vHeard = [[UIView alloc] initWithFrame:CGRectMake(0, 0, UI_SCREEN_WIDTH, 30)];
UIButton *btnTitle = [[UIButton alloc] initWithFrame:CGRectMake(0, 4, UI_SCREEN_WIDTH, 21)];
[btnTitle setTitleColor:[UIColor blackColor] forState:UIControlStateNormal];
btnTitle.titleLabel.font = [UIFont fontWithName:@"PingFang SC" size:15];
btnTitle.contentHorizontalAlignment = UIControlContentHorizontalAlignmentLeft;
UIView *vLine = [[UIView alloc] initWithFrame:CGRectMake(0, 29, UI_SCREEN_WIDTH, 1)];
vLine.backgroundColor = [UIColor lightGrayColor];
[vHeard addSubview:btnTitle];
[vHeard addSubview:vLine];
if (section == 0) {
[btnTitle setTitle:@"详细说明" forState:UIControlStateNormal];
}else{
[btnTitle setTitle:@"发货与退货" forState:UIControlStateNormal];
[btnTitle addTarget:self action:@selector(onClickTitleBtn:) forControlEvents:UIControlEventTouchUpInside];
UIImageView *vImage = [[UIImageView alloc] initWithFrame:CGRectMake(UI_SCREEN_WIDTH-10-10-40, 7, 10, 16)];
vImage.image = [UIImage imageNamed:@"button_mine_more"];
[vHeard addSubview:vImage];
}
return vHeard;
}
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{
return [self getSizeOfTextHeigth] + 30;
}
- (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section{
return 30;
}
- (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section{
return 0.01;
}
- (void)onClickTitleBtn:(UIButton *)sender{
}
//点击size按钮
- (IBAction)onClickSizeBtn:(id)sender {
if ([self.delegate respondsToSelector:@selector(kwm_onClickSizeBtn)]) {
[self.delegate kwm_onClickSizeBtn];
}
}
//点击信息按钮
- (IBAction)onClickInformationBtn:(id)sender {
if ([self.delegate respondsToSelector:@selector(kwm_onClickInformationBtn)]) {
[self.delegate kwm_onClickInformationBtn];
}
}
//点击品牌按钮
- (IBAction)onClickBlandBtn:(id)sender{
if ([self.delegate respondsToSelector:@selector(kwm_goToBrandVC:)]) {
[self.delegate kwm_goToBrandVC:_product.vendor];
}
}
- (void)initImage:(NSNumber *)productId{
NSInteger imageCount = 1;
if(self.product!=nil && self.product.imagesArray!=nil){
imageCount = self.product.imagesArray.count;
}
self.sclDetail.contentSize = CGSizeMake(UI_SCREEN_WIDTH, sclHeight*imageCount);
for ( int i = 0; i < imageCount;i++){
CGRect frame = CGRectMake(0, sclHeight*i, UI_SCREEN_WIDTH, sclHeight);
KWMWatchView *vWatch = [[KWMWatchView alloc] initWithFrame:frame];
vWatch.tagId = i;
vWatch.delegate = self;
[self.sclDetail addSubview:vWatch];
NSString *imageUrl = [KWMImageUtil getProductImageUrlByPosition:self.product ImageSize:BigImage Position:i];
[vWatch setImage:imageUrl];
[_imageArr addObject:imageUrl];
}
if(_vPoint!=nil){
[_vPoint removeFromSuperview];
}
_vPoint = [[KWMPointView alloc] initWithFrame:CGRectMake(10, 64, 8, sclHeight)];
_vPoint.imageNum = imageCount;
[self addSubview:_vPoint];
}
@end
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11762" systemVersion="16A323" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<device id="retina4_7" orientation="portrait">
<adaptation id="fullscreen"/>
</device>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11757"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="KWMTopView">
<connections>
<outlet property="btnBrand" destination="rwE-kO-TbL" id="EPc-7h-3AB"/>
<outlet property="btnInformation" destination="OA4-ix-h32" id="cxS-hb-aPS"/>
<outlet property="discountLeft" destination="QLw-U6-o2C" id="0jc-tC-oau"/>
<outlet property="lbDiscount" destination="XJc-mM-2Nc" id="e8j-db-Ket"/>
<outlet property="lbGoodName" destination="uDF-fC-cKH" id="cVn-Q9-Zg6"/>
<outlet property="lbPrice" destination="t63-Qk-JfH" id="VIh-SU-lcy"/>
<outlet property="sclDetail" destination="TJs-Oo-KVM" id="e7R-RQ-lYD"/>
<outlet property="vContent" destination="YKb-OI-ygX" id="BdC-4V-jDg"/>
</connections>
</placeholder>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view contentMode="scaleToFill" id="YKb-OI-ygX">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="jfg-cf-5ng" userLabel="vMid">
<rect key="frame" x="0.0" y="497" width="375" height="170"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" " lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="uDF-fC-cKH">
<rect key="frame" x="18" y="49" width="339" height="21"/>
<fontDescription key="fontDescription" name="PingFangSC-Light" family="PingFang SC" pointSize="15"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" " lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="XJc-mM-2Nc" userLabel="lbDiscount">
<rect key="frame" x="113" y="70" width="90" height="21"/>
<constraints>
<constraint firstAttribute="width" constant="90" id="F9M-Ye-M5Y"/>
</constraints>
<fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="15"/>
<color key="textColor" red="1" green="0.56557797789999997" blue="0.1060702462" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="OA4-ix-h32">
<rect key="frame" x="308" y="69.5" width="57" height="22"/>
<constraints>
<constraint firstAttribute="width" constant="57" id="aR8-Xi-nsS"/>
<constraint firstAttribute="height" constant="22" id="whs-Z0-Dk4"/>
</constraints>
<fontDescription key="fontDescription" name="PingFangSC-Light" family="PingFang SC" pointSize="12"/>
<state key="normal" title="信息+">
<color key="titleColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</state>
<connections>
<action selector="onClickInformationBtn:" destination="-1" eventType="touchUpInside" id="xrI-IH-HZ7"/>
</connections>
</button>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="owB-rF-CDe">
<rect key="frame" x="0.0" y="110" width="375" height="60"/>
<subviews>
<button hidden="YES" opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="9Zj-m1-j7u">
<rect key="frame" x="20" y="10" width="335" height="40"/>
<color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstAttribute="height" constant="40" id="aCp-vA-NIe"/>
</constraints>
<fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="15"/>
<state key="normal" title="选择我的尺码">
<color key="titleColor" red="0.98903795809999995" green="0.98903795809999995" blue="0.98903795809999995" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</state>
<connections>
<action selector="onClickSizeBtn:" destination="-1" eventType="touchUpInside" id="Asp-nD-QCI"/>
</connections>
</button>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstItem="9Zj-m1-j7u" firstAttribute="leading" secondItem="owB-rF-CDe" secondAttribute="leading" constant="20" id="01r-Qn-qIi"/>
<constraint firstAttribute="height" constant="60" id="PyA-H4-t1V"/>
<constraint firstItem="9Zj-m1-j7u" firstAttribute="centerY" secondItem="owB-rF-CDe" secondAttribute="centerY" id="VSM-vz-r8p"/>
<constraint firstAttribute="trailing" secondItem="9Zj-m1-j7u" secondAttribute="trailing" constant="20" id="hmQ-OX-Erg"/>
</constraints>
</view>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="rwE-kO-TbL">
<rect key="frame" x="18" y="10" width="339" height="39"/>
<fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="19"/>
<state key="normal" title=" ">
<color key="titleColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</state>
<connections>
<action selector="onClickBlandBtn:" destination="-1" eventType="touchUpInside" id="lOd-8j-opH"/>
</connections>
</button>
<label opaque="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" " lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="t63-Qk-JfH" userLabel="lbPrice">
<rect key="frame" x="18" y="70" width="90" height="21"/>
<constraints>
<constraint firstAttribute="width" constant="90" id="eML-sr-eoM"/>
</constraints>
<fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="15"/>
<color key="textColor" red="0.59215686270000001" green="0.59215686270000001" blue="0.59215686270000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" red="0.9882352941176471" green="0.9882352941176471" blue="0.9882352941176471" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstItem="XJc-mM-2Nc" firstAttribute="top" secondItem="uDF-fC-cKH" secondAttribute="bottom" id="1jS-vt-wko"/>
<constraint firstItem="rwE-kO-TbL" firstAttribute="leading" secondItem="jfg-cf-5ng" secondAttribute="leading" constant="18" id="7yn-3C-icK"/>
<constraint firstItem="uDF-fC-cKH" firstAttribute="top" secondItem="rwE-kO-TbL" secondAttribute="bottom" id="E2K-tN-zaP"/>
<constraint firstAttribute="height" constant="170" id="Iog-jn-3Vu"/>
<constraint firstItem="rwE-kO-TbL" firstAttribute="top" secondItem="jfg-cf-5ng" secondAttribute="top" constant="10" id="L6j-Kd-Pmz"/>
<constraint firstItem="t63-Qk-JfH" firstAttribute="top" secondItem="XJc-mM-2Nc" secondAttribute="top" id="NyU-Km-z9B"/>
<constraint firstItem="XJc-mM-2Nc" firstAttribute="leading" secondItem="t63-Qk-JfH" secondAttribute="trailing" constant="5" id="QLw-U6-o2C"/>
<constraint firstAttribute="trailing" secondItem="uDF-fC-cKH" secondAttribute="trailing" constant="18" id="Qu1-ZR-QyX"/>
<constraint firstItem="t63-Qk-JfH" firstAttribute="bottom" secondItem="XJc-mM-2Nc" secondAttribute="bottom" id="Wyk-T0-Fff"/>
<constraint firstItem="owB-rF-CDe" firstAttribute="leading" secondItem="jfg-cf-5ng" secondAttribute="leading" id="X1q-TH-1K9"/>
<constraint firstItem="uDF-fC-cKH" firstAttribute="leading" secondItem="jfg-cf-5ng" secondAttribute="leading" constant="18" id="XXF-wD-eq0"/>
<constraint firstItem="OA4-ix-h32" firstAttribute="centerY" secondItem="XJc-mM-2Nc" secondAttribute="centerY" id="bYa-FP-1Gi"/>
<constraint firstAttribute="trailing" secondItem="rwE-kO-TbL" secondAttribute="trailing" constant="18" id="dff-S9-nL3"/>
<constraint firstAttribute="trailing" secondItem="OA4-ix-h32" secondAttribute="trailing" constant="10" id="fbB-wD-nCr"/>
<constraint firstAttribute="trailing" secondItem="owB-rF-CDe" secondAttribute="trailing" id="lII-Ex-WnU"/>
<constraint firstAttribute="bottom" secondItem="owB-rF-CDe" secondAttribute="bottom" id="v1I-nM-t9j"/>
<constraint firstItem="t63-Qk-JfH" firstAttribute="leading" secondItem="uDF-fC-cKH" secondAttribute="leading" id="z29-Yw-Z8d"/>
</constraints>
</view>
<scrollView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" showsVerticalScrollIndicator="NO" translatesAutoresizingMaskIntoConstraints="NO" id="TJs-Oo-KVM">
<rect key="frame" x="0.0" y="64" width="375" height="433"/>
<connections>
<outlet property="delegate" destination="-1" id="BJ6-YX-ZII"/>
</connections>
</scrollView>
</subviews>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstItem="jfg-cf-5ng" firstAttribute="top" secondItem="TJs-Oo-KVM" secondAttribute="bottom" id="7U1-KY-d1C"/>
<constraint firstAttribute="trailing" secondItem="jfg-cf-5ng" secondAttribute="trailing" id="HBV-Yk-bj2"/>
<constraint firstItem="TJs-Oo-KVM" firstAttribute="leading" secondItem="YKb-OI-ygX" secondAttribute="leading" id="Tlx-Jl-pLq"/>
<constraint firstAttribute="bottom" secondItem="jfg-cf-5ng" secondAttribute="bottom" id="ruE-4e-xZl"/>
<constraint firstAttribute="trailing" secondItem="TJs-Oo-KVM" secondAttribute="trailing" id="t6w-sr-6Qg"/>
<constraint firstItem="jfg-cf-5ng" firstAttribute="leading" secondItem="YKb-OI-ygX" secondAttribute="leading" id="uN2-y6-2IH"/>
<constraint firstItem="TJs-Oo-KVM" firstAttribute="top" secondItem="YKb-OI-ygX" secondAttribute="top" constant="64" id="xBP-cL-CPK"/>
</constraints>
<point key="canvasLocation" x="88.5" y="-33.5"/>
</view>
</objects>
</document>
//
// KWMWatchView.h
// iCemarose
//
// Created by 陈荣科 on 16/9/2.
// Copyright © 2016年 kollway. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "Buy/Buy.h"
#import "KWMImage.h"
@protocol KWMWatchViewDelegate <NSObject>
- (void)kwm_showLargeImage;
@end
@interface KWMWatchView : UIView
@property (weak, nonatomic) IBOutlet UIView *vContent;
@property (weak, nonatomic) IBOutlet UIImageView *ivShow;
@property (nonatomic) NSInteger tagId;
@property (nonatomic) KWMImage *imageLink;
@property (nonatomic) NSString *imageURL;
@property (weak, nonatomic) id<KWMWatchViewDelegate>delegate;
@property (nonatomic) UIView *vBackground;
- (void)setImage:(NSString *)imageurl;
- (void)setData:(KWMImage *)image;
@end
//
// KWMWatchView.m
// iCemarose
//
// Created by 陈荣科 on 16/9/2.
// Copyright © 2016年 kollway. All rights reserved.
//
#import "KWMWatchView.h"
#import "YYWebImage/YYWebImage.h"
#import "KWMStringUtil.h"
@implementation KWMWatchView
- (id)initWithFrame:(CGRect)frame{
self = [super initWithFrame:frame];
if (self) {
[self initView];
}
return self;
}
- (void)awakeFromNib{
[super awakeFromNib];
[self initView];
}
- (void)initView{
[[NSBundle mainBundle] loadNibNamed:@"KWMWatchView" owner:self options:nil];
[self addSubview:self.vContent];
self.vContent.frame = CGRectMake(0, 0, self.frame.size.width, self.frame.size.height);
[self addSubview:_vContent];
UITapGestureRecognizer *tapGesture = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(onClickImage:)];
[self.ivShow addGestureRecognizer:tapGesture];
self.ivShow.userInteractionEnabled = YES;
NSLog(@"image Height :%lf",self.frame.size.height);
// self.ivShow.layer.borderWidth = 1;
// self.ivShow.layer.borderColor = [UIColor redColor].CGColor;
}
- (void)onClickImage:(UITapGestureRecognizer *)tapGesture{
if ([KWMStringUtil isEmpty:_imageURL]) {
return;
}
NSURL *url = [NSURL URLWithString:_imageURL];
UIImage *image = [UIImage imageWithData:[NSData dataWithContentsOfURL:url]];
// [self addShowImage:image];
if ([self.delegate respondsToSelector:@selector(kwm_showLargeImage)]) {
[self.delegate kwm_showLargeImage];
}
}
//- (void)addShowImage:(UIImage *)image{
// UIView *vBackground = [[UIView alloc] initWithFrame:CGRectMake(0, 0, UI_SCREEN_WIDTH, UI_SCREEN_HEITHT)];
// vBackground.backgroundColor = [UIColor blackColor];
// _vBackground = vBackground;
// UITapGestureRecognizer *largeTap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(leaveLargeImage)];
// [vBackground addGestureRecognizer:largeTap];
//
// vBackground.layer.borderWidth = 1;
// vBackground.layer.borderColor = [UIColor redColor].CGColor;
//
// [self.vContent addSubview:vBackground];
// UIImageView *vImage = [[UIImageView alloc] init];
// vImage.image = image;
// vImage.frame = _ivShow.frame;
// [vBackground addSubview:vImage];
//
// vImage.layer.borderWidth = 1;
// vImage.layer.borderColor = [UIColor greenColor].CGColor;
//
// [self shakeToShow:vBackground];
//}
//放大过程中出现的缓慢动画
//- (void)shakeToShow:(UIView*)aView{
// CAKeyframeAnimation* animation = [CAKeyframeAnimation animationWithKeyPath:@"transform"];
// animation.duration = 0.5;
// NSMutableArray *values = [NSMutableArray array];
// [values addObject:[NSValue valueWithCATransform3D:CATransform3DMakeScale(0.1, 0.1, 1.0)]];
// [values addObject:[NSValue valueWithCATransform3D:CATransform3DMakeScale(1.0, 1.0, 1.0)]];
// animation.values = values;
// [aView.layer addAnimation:animation forKey:nil];
//}
//- (void)leaveLargeImage{
// [_vBackground removeFromSuperview];
//}
//
- (void)setImage:(NSString *)imageurl{
if([KWMStringUtil isEmpty:imageurl]){
return;
}
_imageURL = imageurl;
NSURL *imageURL = [NSURL URLWithString:imageurl];
[self.ivShow yy_setImageWithURL:imageURL options:YYWebImageOptionProgressive];
}
- (void)setData:(KWMImage *)image{
self.imageLink = image;
if(image!=nil && image.value!=nil){
NSURL *imageURL = [NSURL URLWithString:image.getBigImage]; //string>url
// 渐进式:边下载边显示
[self.ivShow yy_setImageWithURL:imageURL options:YYWebImageOptionProgressive];
// // 渐进式加载,增加模糊效果和渐变动画
// [self.ivShow yy_setImageWithURL:imageURL options:YYWebImageOptionProgressiveBlur|YYWebImageOptionSetImageWithFadeAnimation];
}
}
@end
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11542" systemVersion="16B2555" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<device id="retina4_7" orientation="portrait">
<adaptation id="fullscreen"/>
</device>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11524"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="KWMWatchView">
<connections>
<outlet property="ivShow" destination="GzB-SI-xEv" id="stu-Lp-rKs"/>
<outlet property="vContent" destination="TOA-vR-7co" id="Rfs-nL-xRh"/>
</connections>
</placeholder>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view contentMode="scaleToFill" id="TOA-vR-7co">
<rect key="frame" x="0.0" y="0.0" width="375" height="487"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="GzB-SI-xEv">
<rect key="frame" x="0.0" y="0.0" width="375" height="487"/>
</imageView>
</subviews>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstItem="GzB-SI-xEv" firstAttribute="top" secondItem="TOA-vR-7co" secondAttribute="top" id="2n8-oh-7f0"/>
<constraint firstAttribute="bottom" secondItem="GzB-SI-xEv" secondAttribute="bottom" id="Gie-wx-LM2"/>
<constraint firstItem="GzB-SI-xEv" firstAttribute="leading" secondItem="TOA-vR-7co" secondAttribute="leading" id="HZT-Mu-7hb"/>
<constraint firstAttribute="trailing" secondItem="GzB-SI-xEv" secondAttribute="trailing" id="JcO-hR-fV2"/>
</constraints>
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
<point key="canvasLocation" x="161.5" y="-235.5"/>
</view>
</objects>
</document>
......@@ -13,7 +13,6 @@
#import "PhotoBroswerVC.h"
#import "KWMStringUtil.h"
#import "KWMShopCartData.h"
#import "KWMRecommendView.h"
#import "KWMInformationVC.h"
#import "KWMBrandCaramelVC.h"
#import "KWMSelectSizeVC.h"
......
......@@ -158,7 +158,7 @@
return productImages;
}
for(BUYImageLink *imageLink in imageLinks){
NSString *productImage = [imageLink.sourceURL.absoluteString stringByReplacingOccurrencesOfString:@"cdn.shopify.com" withString:@"o42yton8r.qnssl.com"];
NSString *productImage = imageLink.sourceURL.absoluteString;
[productImages addObject:productImage];
}
return productImages;
......@@ -177,8 +177,7 @@
for(NSDictionary *imageLink in imageLinks){
if(imageLink[@"src"]){
NSString *originalImage = imageLink[@"src"];
NSString *productImage = [originalImage stringByReplacingOccurrencesOfString:@"cdn.shopify.com" withString:Image_Domain];
[productImages addObject:productImage];
[productImages addObject:originalImage];
}
}
return productImages;
......@@ -217,18 +216,22 @@
[newImageUrl insertString:size atIndex:startRange.location+1];
}
}
return [NSString stringWithFormat:@"%@",newImageUrl];;
return [newImageUrl stringByReplacingOccurrencesOfString:@"cdn.shopify.com" withString:Image_Domain];
}
+(NSArray *)getImageWH:(NSInteger)ImageSize{
if(ImageSize == BigImage){
return @[@"1000", @"1000"];
}else if(ImageSize == SmallImage){
return @[@"300", @"300"];
}else if(ImageSize == LowImage){
return @[@"150", @"150"];
}else{
return @[@"500", @"500"];
switch (ImageSize) {
case BigImage:
return @[@"1000", @"1000"];
case SmallImage:
return @[@"300", @"300"];
case LowImage:
return @[@"150", @"150"];
case NormalImage:
return @[@"500", @"500"];
default:
return @[@"300", @"300"];
}
}
......@@ -236,6 +239,7 @@
NSArray *imageUrls = nil;
if(product){
imageUrls = [self getImageArrayBySize:product ImageSize:ImageSize];
return imageUrls;
}
return nil;
}
......
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11201" systemVersion="15G1004" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11161"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="KWMGoodsDetailsView">
<connections>
<outlet property="btnBack" destination="dj8-zh-f7B" id="TOX-Ko-Ose"/>
<outlet property="btnShopCart" destination="7lT-gs-3xj" id="tCa-lJ-BV9"/>
<outlet property="lbCount" destination="DW7-A8-SBA" id="55B-os-bN2"/>
<outlet property="lbTitle" destination="Idl-tT-18D" id="aaW-ez-pBQ"/>
<outlet property="vContent" destination="OmW-DA-41S" id="gFi-0w-2FS"/>
</connections>
</placeholder>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view contentMode="scaleToFill" id="OmW-DA-41S" userLabel="vContent">
<rect key="frame" x="0.0" y="0.0" width="375" height="64"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="rwj-1i-py3">
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstAttribute="height" constant="20" id="YWo-tg-Ybv"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="mtf-um-gT2">
<subviews>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="dj8-zh-f7B">
<constraints>
<constraint firstAttribute="width" constant="44" id="M0o-U9-UNu"/>
<constraint firstAttribute="height" constant="44" id="Uvf-7x-hZC"/>
</constraints>
<state key="normal" image="button_close"/>
<connections>
<action selector="onClickBackBtn:" destination="-1" eventType="touchUpInside" id="CIS-9e-JFY"/>
</connections>
</button>
<label hidden="YES" opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="其他" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Idl-tT-18D">
<constraints>
<constraint firstAttribute="height" constant="29" id="8cK-96-uIX"/>
<constraint firstAttribute="width" constant="42" id="JSo-dk-kd4"/>
</constraints>
<fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="20"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="7lT-gs-3xj">
<constraints>
<constraint firstAttribute="height" constant="44" id="eON-Mk-h0L"/>
<constraint firstAttribute="width" constant="44" id="sNA-Ns-iQS"/>
</constraints>
<state key="normal" image="btn_ nav_shop cart"/>
<connections>
<action selector="onClickShopCartBtn:" destination="-1" eventType="touchUpInside" id="jvw-jF-irC"/>
</connections>
</button>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="DW7-A8-SBA">
<constraints>
<constraint firstAttribute="height" constant="14" id="eIZ-Sg-ujI"/>
<constraint firstAttribute="width" constant="14" id="iGS-Ol-pWf"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="12"/>
<color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstItem="DW7-A8-SBA" firstAttribute="trailing" secondItem="7lT-gs-3xj" secondAttribute="trailing" constant="-11" id="4Wp-Vg-ejT"/>
<constraint firstAttribute="trailing" secondItem="7lT-gs-3xj" secondAttribute="trailing" constant="10" id="EwZ-fr-IAm"/>
<constraint firstItem="Idl-tT-18D" firstAttribute="centerY" secondItem="mtf-um-gT2" secondAttribute="centerY" id="Ob1-Pm-e06"/>
<constraint firstItem="dj8-zh-f7B" firstAttribute="leading" secondItem="mtf-um-gT2" secondAttribute="leading" constant="10" id="bJE-YA-WIt"/>
<constraint firstItem="Idl-tT-18D" firstAttribute="centerX" secondItem="mtf-um-gT2" secondAttribute="centerX" id="hbL-lo-MeV"/>
<constraint firstItem="dj8-zh-f7B" firstAttribute="centerY" secondItem="mtf-um-gT2" secondAttribute="centerY" id="kDJ-84-WWy"/>
<constraint firstItem="DW7-A8-SBA" firstAttribute="bottom" secondItem="7lT-gs-3xj" secondAttribute="bottom" constant="-13" id="rqg-Ms-sev"/>
<constraint firstItem="7lT-gs-3xj" firstAttribute="centerY" secondItem="mtf-um-gT2" secondAttribute="centerY" id="zaw-pt-63o"/>
</constraints>
</view>
</subviews>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstAttribute="trailing" secondItem="mtf-um-gT2" secondAttribute="trailing" id="3ab-hZ-rMX"/>
<constraint firstItem="rwj-1i-py3" firstAttribute="leading" secondItem="OmW-DA-41S" secondAttribute="leading" id="8Uo-tO-Fm0"/>
<constraint firstItem="mtf-um-gT2" firstAttribute="top" secondItem="OmW-DA-41S" secondAttribute="top" id="Pc2-Bw-Pen"/>
<constraint firstItem="mtf-um-gT2" firstAttribute="leading" secondItem="OmW-DA-41S" secondAttribute="leading" id="RJu-Uc-2Ex"/>
<constraint firstItem="mtf-um-gT2" firstAttribute="top" secondItem="rwj-1i-py3" secondAttribute="bottom" id="UN1-rZ-Z5D"/>
<constraint firstAttribute="bottom" secondItem="mtf-um-gT2" secondAttribute="bottom" id="UiS-xg-D1I"/>
<constraint firstAttribute="trailing" secondItem="rwj-1i-py3" secondAttribute="trailing" id="lCD-0J-5qS"/>
<constraint firstItem="rwj-1i-py3" firstAttribute="top" secondItem="OmW-DA-41S" secondAttribute="top" id="xBy-tN-GeN"/>
</constraints>
<nil key="simulatedStatusBarMetrics"/>
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
<variation key="default">
<mask key="constraints">
<exclude reference="Pc2-Bw-Pen"/>
</mask>
</variation>
<point key="canvasLocation" x="236.5" y="149"/>
</view>
</objects>
<resources>
<image name="btn_ nav_shop cart" width="21" height="22"/>
<image name="button_close" width="16" height="15"/>
</resources>
</document>
//
// KWMEmptyViewList.h
// iMicroBusiness
//
// Created by Cody on 3/11/16.
// Copyright © 2016 kwm. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface KWMEmptyViewList : UIView
@property (nonatomic, weak) IBOutlet UIView *vContent;
@property (nonatomic, weak) IBOutlet UILabel *lbText;
@property (nonatomic) NSString *text;
@end
//
// KWMEmptyViewList.m
// iMicroBusiness
//
// Created by Cody on 3/11/16.
// Copyright © 2016 kwm. All rights reserved.
//
#import "KWMEmptyViewList.h"
#import "KWMStringUtil.h"
@implementation KWMEmptyViewList
- (instancetype)initWithFrame:(CGRect)frame {
if (self = [super initWithFrame:frame]) {
[[NSBundle mainBundle] loadNibNamed:NSStringFromClass([self class])
owner:self
options:nil];
self.vContent.frame = CGRectMake(0, 0, self.frame.size.width, self.frame.size.height);
[self addSubview:self.vContent];
self.userInteractionEnabled = NO;
self.vContent.backgroundColor = [UIColor clearColor];
}
return self;
}
- (void)setText:(NSString *)text {
_text = text;
self.lbText.text = [KWMStringUtil nonNullString:text];
}
@end
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11201" systemVersion="15G1004" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11161"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="KWMEmptyViewList">
<connections>
<outlet property="lbText" destination="6NB-Z2-xVz" id="5Db-P4-FDy"/>
<outlet property="vContent" destination="iN0-l3-epB" id="gUp-Y2-VQA"/>
</connections>
</placeholder>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view userInteractionEnabled="NO" contentMode="scaleToFill" id="iN0-l3-epB" userLabel="content view">
<rect key="frame" x="0.0" y="0.0" width="600" height="150"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<imageView opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleAspectFill" image="ic_login_logo" translatesAutoresizingMaskIntoConstraints="NO" id="qB2-0O-UpQ">
<constraints>
<constraint firstAttribute="width" constant="80" id="T8g-0v-ekG"/>
<constraint firstAttribute="height" constant="80" id="xCE-da-Pxm"/>
</constraints>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="暂时没有数据噢" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="6NB-Z2-xVz">
<constraints>
<constraint firstAttribute="height" constant="21" id="8wV-0F-9CH"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="13"/>
<color key="textColor" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<constraints>
<constraint firstItem="6NB-Z2-xVz" firstAttribute="top" secondItem="qB2-0O-UpQ" secondAttribute="bottom" constant="25" id="7nW-GK-3fM"/>
<constraint firstItem="6NB-Z2-xVz" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="10" id="9f4-ic-Asv"/>
<constraint firstItem="qB2-0O-UpQ" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="12" id="I2v-bw-ZFR"/>
<constraint firstAttribute="trailing" secondItem="6NB-Z2-xVz" secondAttribute="trailing" constant="10" id="qho-9w-7HB"/>
<constraint firstItem="qB2-0O-UpQ" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="w5U-2b-oEg"/>
</constraints>
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
</view>
</objects>
<resources>
<image name="ic_login_logo" width="73" height="77"/>
</resources>
</document>
//
// KWMGoodsDetailsView.h
// iCemarose
//
// Created by 陈荣科 on 16/9/2.
// Copyright © 2016年 kollway. All rights reserved.
//
#import <UIKit/UIKit.h>
@class KWMGoodsDetailsView;
@protocol KWMGoodsDetailsViewDelegate <NSObject>
- (void)kwm_addToShopcart;
- (void)kwm_beBackLastVC;
@end
@interface KWMGoodsDetailsView : UIView
@property (weak, nonatomic) IBOutlet UIButton *btnBack;
@property (weak, nonatomic) IBOutlet UIButton *btnShopCart;
@property (weak, nonatomic) IBOutlet UILabel *lbTitle;
@property (weak, nonatomic) IBOutlet UIView *vContent;
@property (weak, nonatomic) IBOutlet UILabel *lbCount;
@property (nonatomic) NSInteger count;
@property (weak, nonatomic) id<KWMGoodsDetailsViewDelegate>delegate;
- (void)showTitleAndHidenShopCart:(BOOL)isShow;
- (IBAction)onClickShopCartBtn:(id)sender;
- (IBAction)onClickBackBtn:(id)sender;
@end
//
// KWMGoodsDetailsView.m
// iCemarose
//
// Created by 陈荣科 on 16/9/2.
// Copyright © 2016年 kollway. All rights reserved.
//
#import "KWMGoodsDetailsView.h"
#import "KWMShopCartData.h"
@implementation KWMGoodsDetailsView
- (instancetype)init{
if (self = [super init]) {
[self initContentView];
}
return self;
}
- (instancetype)initWithCoder:(NSCoder *)aDecoder{
if (self = [super initWithCoder:aDecoder]) {
[self initContentView];
}
return self;
}
- (instancetype)initWithFrame:(CGRect)frame{
if (self = [super initWithFrame:frame]) {
[self initContentView];
}
return self;
}
- (void)awakeFromNib{
[super awakeFromNib];
[self initContentView];
}
- (void)initContentView{
[[NSBundle mainBundle] loadNibNamed:@" KWMGoodsDetailsView" owner:self options:nil];
[self addSubview:_vContent];
self.vContent.frame = CGRectMake(0, 0, self.frame.size.width, self.frame.size.height);
self.lbTitle.text = @"其他";
_lbCount.text = @"0";
}
- (void)setCount:(NSInteger)count{
_count = count;
if (count > 0) {
_lbCount.text = [NSString stringWithFormat:@"%ld",count];
if (count > 9) {
_lbCount.font = [UIFont systemFontOfSize:8];
}
}else{
_lbCount.text = @"0";
}
}
- (void)showTitleAndHidenShopCart:(BOOL)isShow{
self.lbTitle.hidden = isShow;
self.btnShopCart.hidden = !isShow;
}
- (IBAction)onClickShopCartBtn:(id)sender{
if ([self.delegate respondsToSelector:@selector(kwm_addToShopcart)]) {
[self.delegate kwm_addToShopcart];
}
}
- (IBAction)onClickBackBtn:(id)sender{
if ([self.delegate respondsToSelector:@selector(kwm_beBackLastVC)]) {
[self.delegate kwm_beBackLastVC];
}
}
@end
//
// KWMPointView.h
// iCemarose
//
// Created by 陈荣科 on 16/9/2.
// Copyright © 2016年 kollway. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface KWMPointView : UIView
@property (nonatomic) NSInteger imageNum;
@property (nonatomic) NSMutableArray *imageArr;
@property (nonatomic) NSInteger mark;
@property (nonatomic) UIView *vLast;
@property (weak, nonatomic) IBOutlet UIView *vContent;
- (void)scrollToLastView;
- (void)scrollToFirstView;
@end
//
// KWMPointView.m
// iCemarose
//
// Created by 陈荣科 on 16/9/2.
// Copyright © 2016年 kollway. All rights reserved.
//
#import "KWMPointView.h"
@implementation KWMPointView
- (id)init{
if (self = [super init]) {
[self initViewContentiew];
}
return self;
}
- (instancetype)initWithFrame:(CGRect)frame{
if(self = [super initWithFrame:frame]){
[self initViewContentiew];
}
return self;
}
- (instancetype)initWithCoder:(NSCoder *)aDecoder{
if (self = [super initWithCoder:aDecoder]) {
[self initViewContentiew];
}
return self;
}
- (void)awakeFromNib{
[super awakeFromNib];
[self initViewContentiew];
}
- (void)initViewContentiew{
[[NSBundle mainBundle] loadNibNamed:@"KWMPointView" owner:self options:nil];
[self addSubview:self.vContent];
self.vContent.frame = CGRectMake(0, 0, self.frame.size.width, self.frame.size.height);
self.vContent.backgroundColor = [UIColor clearColor];
_imageArr = [NSMutableArray array];
}
static CGFloat width = 8.0f;//小图标宽
static CGFloat height = 8.0f;//小图标高
static CGFloat margin = 4.0f;//小图标间距
- (void)setImageNum:(NSInteger)imageNum{
for (int i = 0; i < imageNum; ++i) {
[self addImage:i];
}
[self addLastView];
}
- (void)setMark:(NSInteger)mark{
for (int i = 0; i < _imageArr.count; ++i) {
UIImageView *image;
if (mark == i) {
image = [_imageArr objectAtIndex:i];
image.image = [UIImage imageNamed:@"ic_guide01"];
}else{
image = [_imageArr objectAtIndex:i];
image.image = [UIImage imageNamed:@"ic_guide02"];
}
}
}
- (void)addImage:(NSInteger)num{
CGFloat top = (self.vContent.frame.size.height - _imageNum*height - (_imageNum -1)*margin)*0.5;
CGFloat topMargin = top + num*height + num*margin;
UIImageView *vImage = [[UIImageView alloc] initWithFrame:CGRectMake(0, topMargin, width, height)];
if (num == 0) {
vImage.image = [UIImage imageNamed:@"ic_guide01"];
}else{
vImage.image = [UIImage imageNamed:@"ic_guide02"];
}
[self.vContent addSubview:vImage];
[_imageArr addObject:vImage];
}
- (void)addLastView{
UIImageView *ivImage = _imageArr.lastObject;
CGFloat topMargin = ivImage.frame.origin.y + height + margin;
_vLast = [[UIView alloc] initWithFrame:CGRectMake(0, topMargin, 8, 2)];
_vLast.backgroundColor = [UIColor clearColor];
[self addSubview:_vLast];
}
- (void)scrollToFirstView{
for (int i = 0; i < _imageArr.count; ++i) {
UIImageView *ivImage;
ivImage = [_imageArr objectAtIndex:i];
if (i == 0) {
ivImage.image = [UIImage imageNamed:@"ic_guide01"];
}else{
ivImage.image = [UIImage imageNamed:@"ic_guide02"];
}
}
}
- (void)scrollToLastView{
for (int i = 0; i < _imageArr.count; ++i) {
UIImageView *ivImage;
ivImage = [_imageArr objectAtIndex:i];
ivImage.image = [UIImage imageNamed:@"ic_guide02"];
}
_vLast.backgroundColor = [UIColor blackColor];
}
@end
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11201" systemVersion="15G1004" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11161"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="KWMPointView">
<connections>
<outlet property="vContent" destination="xhn-NW-p80" id="D4F-GZ-PQY"/>
</connections>
</placeholder>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view contentMode="scaleToFill" id="xhn-NW-p80" userLabel="vContent">
<rect key="frame" x="0.0" y="0.0" width="31" height="367"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="simulatedStatusBarMetrics"/>
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
<point key="canvasLocation" x="168.5" y="75.5"/>
</view>
</objects>
</document>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment