keep delete
This commit is contained in:
@@ -7,10 +7,7 @@
|
||||
objects = {
|
||||
|
||||
/* Begin PBXBuildFile section */
|
||||
140A7F52299CC69000841594 /* XPTabBar.m in Sources */ = {isa = PBXBuildFile; fileRef = 140A7F51299CC69000841594 /* XPTabBar.m */; };
|
||||
1427212C29A757EC00C7C423 /* MomentsListInfoModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 1427212A29A757EC00C7C423 /* MomentsListInfoModel.m */; };
|
||||
1427213429A75A2600C7C423 /* XPMomentsLatestPresenter.m in Sources */ = {isa = PBXBuildFile; fileRef = 1427213329A75A2600C7C423 /* XPMomentsLatestPresenter.m */; };
|
||||
142721B229A7647F00C7C423 /* XPBlankViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 142721B129A7647F00C7C423 /* XPBlankViewController.m */; };
|
||||
14D8767C29A7445C00E1DD7F /* NSObject+AutoCoding.m in Sources */ = {isa = PBXBuildFile; fileRef = 14D8767B29A7445C00E1DD7F /* NSObject+AutoCoding.m */; };
|
||||
180116F9279E8C4C00F2CBC0 /* PLTimeUtil.m in Sources */ = {isa = PBXBuildFile; fileRef = 180116F8279E8C4C00F2CBC0 /* PLTimeUtil.m */; };
|
||||
180116FC279E8CCE00F2CBC0 /* NVDate.m in Sources */ = {isa = PBXBuildFile; fileRef = 180116FA279E8CCE00F2CBC0 /* NVDate.m */; };
|
||||
@@ -42,7 +39,6 @@
|
||||
232EBBFF2BD7A25500E8CEAD /* MSParamsDecode.m in Sources */ = {isa = PBXBuildFile; fileRef = 232EBBFE2BD7A25500E8CEAD /* MSParamsDecode.m */; };
|
||||
2331C1BD2A60F69E00E1D940 /* UILabel+Utils.m in Sources */ = {isa = PBXBuildFile; fileRef = 2331C1BC2A60F69E00E1D940 /* UILabel+Utils.m */; };
|
||||
234D821E2AEC57CF0022EFEB /* YYTextAsyncLayer+PITextAsyncLayer.m in Sources */ = {isa = PBXBuildFile; fileRef = 234D821D2AEC57CF0022EFEB /* YYTextAsyncLayer+PITextAsyncLayer.m */; };
|
||||
234E50AF2BF7352C005CB6D5 /* NSTextAttachment+MSImage.m in Sources */ = {isa = PBXBuildFile; fileRef = 234E50AE2BF7352C005CB6D5 /* NSTextAttachment+MSImage.m */; };
|
||||
235A45232B04BEB6009753F5 /* PIBaseModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 235A45222B04BEB6009753F5 /* PIBaseModel.m */; };
|
||||
2368ECCF2BC38F9800EDF4C9 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 2368ECCD2BC38F9800EDF4C9 /* InfoPlist.strings */; };
|
||||
2368ECD32BC38FDA00EDF4C9 /* Launch Screen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 2368ECD52BC38FDA00EDF4C9 /* Launch Screen.storyboard */; };
|
||||
@@ -103,7 +99,6 @@
|
||||
4C7B90982E9F70FC00A5E236 /* ep_splash.png in Resources */ = {isa = PBXBuildFile; fileRef = 4C7B90972E9F70FC00A5E236 /* ep_splash.png */; };
|
||||
4C7B909B2E9F822900A5E236 /* EPEmotionColorWheelView.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C7B909A2E9F822900A5E236 /* EPEmotionColorWheelView.m */; };
|
||||
4C7B91D82EA096DE00A5E236 /* EPEmotionInfoView.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C7B91D72EA096DE00A5E236 /* EPEmotionInfoView.m */; };
|
||||
4C886BEE2E014B6C006F0BA7 /* Api+Medals.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C886BED2E014B6C006F0BA7 /* Api+Medals.m */; };
|
||||
4CA7410E2E72B8FC00DB6853 /* YMLanguageConfig.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CA7410D2E72B8FC00DB6853 /* YMLanguageConfig.m */; };
|
||||
4CD15D922D7EC2AC00D9279F /* CoreTelephony.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 23E56B3B2B03564B00C8DAC9 /* CoreTelephony.framework */; };
|
||||
4CD19C872E9CB31C0069DAA0 /* EPLoginViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4CD19C7E2E9CB31C0069DAA0 /* EPLoginViewController.swift */; };
|
||||
@@ -164,7 +159,6 @@
|
||||
4CF464322EA1277C005E96C0 /* TTAlertView.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CF464222EA1277C005E96C0 /* TTAlertView.m */; };
|
||||
548D54202CC208FD0084A2FF /* AlbumResourcePickerViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 548D541F2CC208FD0084A2FF /* AlbumResourcePickerViewController.m */; };
|
||||
54B9C6EA2C9C2DDC003F1CC5 /* GuildInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 54B9C6E92C9C2DDC003F1CC5 /* GuildInfo.m */; };
|
||||
54C9A11C2C3D9EDD00C6D970 /* Api+GameOrder.m in Sources */ = {isa = PBXBuildFile; fileRef = 54C9A11B2C3D9EDD00C6D970 /* Api+GameOrder.m */; };
|
||||
54F4693B2C2A984D00A83655 /* MedalModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 54F4693A2C2A984D00A83655 /* MedalModel.m */; };
|
||||
54FFD37A2C9BCB1900DE61E5 /* RelationUserVO.m in Sources */ = {isa = PBXBuildFile; fileRef = 54FFD3792C9BCB1900DE61E5 /* RelationUserVO.m */; };
|
||||
73FFADDC93E195344047A2EC /* Pods_YuMi.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CACF623970097D653132D69A /* Pods_YuMi.framework */; };
|
||||
@@ -174,7 +168,6 @@
|
||||
9BA812D228BF145700783EA7 /* ClientRedPacketModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 9BA812D128BF145700783EA7 /* ClientRedPacketModel.m */; };
|
||||
9BA8A47527C60D9F000365A3 /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9BA8A47427C60D9F000365A3 /* AudioToolbox.framework */; };
|
||||
9BA8A47727C60DF7000365A3 /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9BA8A47627C60DF7000365A3 /* AVFoundation.framework */; };
|
||||
9BFE0D8E2898C8C300F53C24 /* XPAnchorCardSkillCollectionViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 9BFE0D8D2898C8C300F53C24 /* XPAnchorCardSkillCollectionViewCell.m */; };
|
||||
E8098CA7282E00920090B9F0 /* Api+Moments.m in Sources */ = {isa = PBXBuildFile; fileRef = E8098CA6282E00920090B9F0 /* Api+Moments.m */; };
|
||||
E80CBDEA27D0C53F001E1EC2 /* XPWeakTimer.m in Sources */ = {isa = PBXBuildFile; fileRef = E80CBDE927D0C53F001E1EC2 /* XPWeakTimer.m */; };
|
||||
E80E09A92A40B70100CD2BE7 /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = E80E09AB2A40B70100CD2BE7 /* Localizable.strings */; };
|
||||
@@ -224,19 +217,10 @@
|
||||
/* End PBXCopyFilesBuildPhase section */
|
||||
|
||||
/* Begin PBXFileReference section */
|
||||
140A7F50299CC69000841594 /* XPTabBar.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = XPTabBar.h; sourceTree = "<group>"; };
|
||||
140A7F51299CC69000841594 /* XPTabBar.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = XPTabBar.m; sourceTree = "<group>"; };
|
||||
1427212A29A757EC00C7C423 /* MomentsListInfoModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MomentsListInfoModel.m; sourceTree = "<group>"; };
|
||||
1427212B29A757EC00C7C423 /* MomentsListInfoModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MomentsListInfoModel.h; sourceTree = "<group>"; };
|
||||
1427213029A759D200C7C423 /* XPMonentsAttentionProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XPMonentsAttentionProtocol.h; sourceTree = "<group>"; };
|
||||
1427213129A75A1700C7C423 /* XPMonentsLatestProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XPMonentsLatestProtocol.h; sourceTree = "<group>"; };
|
||||
1427213229A75A2600C7C423 /* XPMomentsLatestPresenter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XPMomentsLatestPresenter.h; sourceTree = "<group>"; };
|
||||
1427213329A75A2600C7C423 /* XPMomentsLatestPresenter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = XPMomentsLatestPresenter.m; sourceTree = "<group>"; };
|
||||
142721B029A7647F00C7C423 /* XPBlankViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = XPBlankViewController.h; sourceTree = "<group>"; };
|
||||
142721B129A7647F00C7C423 /* XPBlankViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = XPBlankViewController.m; sourceTree = "<group>"; };
|
||||
14D8767A29A7445C00E1DD7F /* NSObject+AutoCoding.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSObject+AutoCoding.h"; sourceTree = "<group>"; };
|
||||
14D8767B29A7445C00E1DD7F /* NSObject+AutoCoding.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSObject+AutoCoding.m"; sourceTree = "<group>"; };
|
||||
14EB640A29A5BEE800A4A00B /* XPMomentsDetailViewControllerDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = XPMomentsDetailViewControllerDelegate.h; sourceTree = "<group>"; };
|
||||
180116F7279E8C4C00F2CBC0 /* PLTimeUtil.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PLTimeUtil.h; sourceTree = "<group>"; };
|
||||
180116F8279E8C4C00F2CBC0 /* PLTimeUtil.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PLTimeUtil.m; sourceTree = "<group>"; };
|
||||
180116FA279E8CCE00F2CBC0 /* NVDate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NVDate.m; sourceTree = "<group>"; };
|
||||
@@ -293,8 +277,6 @@
|
||||
2331C1BC2A60F69E00E1D940 /* UILabel+Utils.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "UILabel+Utils.m"; sourceTree = "<group>"; };
|
||||
234D821C2AEC57CF0022EFEB /* YYTextAsyncLayer+PITextAsyncLayer.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "YYTextAsyncLayer+PITextAsyncLayer.h"; path = "YuMi/Appdelegate/YYTextAsyncLayer+PITextAsyncLayer.h"; sourceTree = SOURCE_ROOT; };
|
||||
234D821D2AEC57CF0022EFEB /* YYTextAsyncLayer+PITextAsyncLayer.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = "YYTextAsyncLayer+PITextAsyncLayer.m"; path = "YuMi/Appdelegate/YYTextAsyncLayer+PITextAsyncLayer.m"; sourceTree = SOURCE_ROOT; };
|
||||
234E50AD2BF7352C005CB6D5 /* NSTextAttachment+MSImage.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "NSTextAttachment+MSImage.h"; sourceTree = "<group>"; };
|
||||
234E50AE2BF7352C005CB6D5 /* NSTextAttachment+MSImage.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "NSTextAttachment+MSImage.m"; sourceTree = "<group>"; };
|
||||
235A45212B04BEB6009753F5 /* PIBaseModel.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PIBaseModel.h; sourceTree = "<group>"; };
|
||||
235A45222B04BEB6009753F5 /* PIBaseModel.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PIBaseModel.m; sourceTree = "<group>"; };
|
||||
2368ECCA2BC38F6F00EDF4C9 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Localizable.strings; sourceTree = "<group>"; };
|
||||
@@ -395,8 +377,6 @@
|
||||
4C7B909A2E9F822900A5E236 /* EPEmotionColorWheelView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = EPEmotionColorWheelView.m; sourceTree = "<group>"; };
|
||||
4C7B91D62EA096DE00A5E236 /* EPEmotionInfoView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = EPEmotionInfoView.h; sourceTree = "<group>"; };
|
||||
4C7B91D72EA096DE00A5E236 /* EPEmotionInfoView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = EPEmotionInfoView.m; sourceTree = "<group>"; };
|
||||
4C886BEC2E014B6C006F0BA7 /* Api+Medals.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Api+Medals.h"; sourceTree = "<group>"; };
|
||||
4C886BED2E014B6C006F0BA7 /* Api+Medals.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "Api+Medals.m"; sourceTree = "<group>"; };
|
||||
4CA7410C2E72B8FC00DB6853 /* YMLanguageConfig.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = YMLanguageConfig.h; sourceTree = "<group>"; };
|
||||
4CA7410D2E72B8FC00DB6853 /* YMLanguageConfig.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = YMLanguageConfig.m; sourceTree = "<group>"; };
|
||||
4CD19C7D2E9CB31C0069DAA0 /* EPLoginTypesViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EPLoginTypesViewController.swift; sourceTree = "<group>"; };
|
||||
@@ -509,8 +489,6 @@
|
||||
548D541F2CC208FD0084A2FF /* AlbumResourcePickerViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AlbumResourcePickerViewController.m; sourceTree = "<group>"; };
|
||||
54B9C6E82C9C2DDC003F1CC5 /* GuildInfo.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GuildInfo.h; sourceTree = "<group>"; };
|
||||
54B9C6E92C9C2DDC003F1CC5 /* GuildInfo.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = GuildInfo.m; sourceTree = "<group>"; };
|
||||
54C9A11A2C3D9EDD00C6D970 /* Api+GameOrder.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Api+GameOrder.h"; sourceTree = "<group>"; };
|
||||
54C9A11B2C3D9EDD00C6D970 /* Api+GameOrder.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "Api+GameOrder.m"; sourceTree = "<group>"; };
|
||||
54F469392C2A984D00A83655 /* MedalModel.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MedalModel.h; sourceTree = "<group>"; };
|
||||
54F4693A2C2A984D00A83655 /* MedalModel.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MedalModel.m; sourceTree = "<group>"; };
|
||||
54FFD3782C9BCB1900DE61E5 /* RelationUserVO.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RelationUserVO.h; sourceTree = "<group>"; };
|
||||
@@ -526,21 +504,16 @@
|
||||
9BA812D128BF145700783EA7 /* ClientRedPacketModel.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ClientRedPacketModel.m; sourceTree = "<group>"; };
|
||||
9BA8A47427C60D9F000365A3 /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = System/Library/Frameworks/AudioToolbox.framework; sourceTree = SDKROOT; };
|
||||
9BA8A47627C60DF7000365A3 /* AVFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AVFoundation.framework; path = System/Library/Frameworks/AVFoundation.framework; sourceTree = SDKROOT; };
|
||||
9BFE0D8C2898C8C300F53C24 /* XPAnchorCardSkillCollectionViewCell.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = XPAnchorCardSkillCollectionViewCell.h; sourceTree = "<group>"; };
|
||||
9BFE0D8D2898C8C300F53C24 /* XPAnchorCardSkillCollectionViewCell.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = XPAnchorCardSkillCollectionViewCell.m; sourceTree = "<group>"; };
|
||||
B66633E061B1B34177CD011C /* Pods-YuMi.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-YuMi.release.xcconfig"; path = "Target Support Files/Pods-YuMi/Pods-YuMi.release.xcconfig"; sourceTree = "<group>"; };
|
||||
CACF623970097D653132D69A /* Pods_YuMi.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_YuMi.framework; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
E8098CA5282E00920090B9F0 /* Api+Moments.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Api+Moments.h"; sourceTree = "<group>"; };
|
||||
E8098CA6282E00920090B9F0 /* Api+Moments.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "Api+Moments.m"; sourceTree = "<group>"; };
|
||||
E8098CAB282E04870090B9F0 /* XPMomentsRecommendProtocol.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = XPMomentsRecommendProtocol.h; sourceTree = "<group>"; };
|
||||
E80CBDE827D0C53F001E1EC2 /* XPWeakTimer.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = XPWeakTimer.h; sourceTree = "<group>"; };
|
||||
E80CBDE927D0C53F001E1EC2 /* XPWeakTimer.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = XPWeakTimer.m; sourceTree = "<group>"; };
|
||||
E80E2375299A47F60013FD40 /* AESUtils.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AESUtils.h; sourceTree = "<group>"; };
|
||||
E80E2376299A47F60013FD40 /* AESUtils.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AESUtils.m; sourceTree = "<group>"; };
|
||||
E81366E526F0A49E0076364C /* NSString+Utils.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "NSString+Utils.h"; sourceTree = "<group>"; };
|
||||
E81366E626F0A49E0076364C /* NSString+Utils.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "NSString+Utils.m"; sourceTree = "<group>"; };
|
||||
E818E34C286ECAD8005EDF68 /* XPMonentsPublishProtocol.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = XPMonentsPublishProtocol.h; sourceTree = "<group>"; };
|
||||
E81A65432835121000F55894 /* XPMonentsInteractiveProtocol.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = XPMonentsInteractiveProtocol.h; sourceTree = "<group>"; };
|
||||
E81C278826EAFAF60031E639 /* DESEncrypt.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DESEncrypt.h; sourceTree = "<group>"; };
|
||||
E81C278926EAFAF60031E639 /* Base64.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Base64.m; sourceTree = "<group>"; };
|
||||
E81C278A26EAFAF60031E639 /* Base64.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Base64.h; sourceTree = "<group>"; };
|
||||
@@ -555,7 +528,6 @@
|
||||
E82109AC26F1C8A000FC3319 /* CountDownHelper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CountDownHelper.m; sourceTree = "<group>"; };
|
||||
E83645A62A40AF5400E0DBE4 /* NSBundle+Localizable.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "NSBundle+Localizable.h"; sourceTree = "<group>"; };
|
||||
E83645A72A40AF5400E0DBE4 /* NSBundle+Localizable.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "NSBundle+Localizable.m"; sourceTree = "<group>"; };
|
||||
E8541036286443D8005CFD9F /* XPMonentsDetailProtocol.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = XPMonentsDetailProtocol.h; sourceTree = "<group>"; };
|
||||
E8555159280559FE005F293F /* NSDate+DateUtils.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "NSDate+DateUtils.h"; sourceTree = "<group>"; };
|
||||
E855515A280559FE005F293F /* NSDate+DateUtils.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "NSDate+DateUtils.m"; sourceTree = "<group>"; };
|
||||
E8729EB92A3B10C10076D80A /* YuMiRelease.entitlements */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.entitlements; path = YuMiRelease.entitlements; sourceTree = "<group>"; };
|
||||
@@ -567,10 +539,6 @@
|
||||
E88863D1278ED4C0004BCFAB /* Timestamp.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Timestamp.h; sourceTree = "<group>"; };
|
||||
E88863D2278ED4C0004BCFAB /* Timestamp.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Timestamp.m; sourceTree = "<group>"; };
|
||||
E8A72BBA2A3AFB2F00B2EC07 /* PrefixHeader.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PrefixHeader.pch; sourceTree = "<group>"; };
|
||||
E8AB632028ADE5720023B0D2 /* XPMonentsTopicRecommendProtocol.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = XPMonentsTopicRecommendProtocol.h; sourceTree = "<group>"; };
|
||||
E8AB632128ADE5880023B0D2 /* XPMonentsTopicLatestProtocol.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = XPMonentsTopicLatestProtocol.h; sourceTree = "<group>"; };
|
||||
E8AB632928AE15070023B0D2 /* XPMomentsTopicListProtocol.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = XPMomentsTopicListProtocol.h; sourceTree = "<group>"; };
|
||||
E8AB633028AE19FA0023B0D2 /* XPMomentsMineProtocol.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = XPMomentsMineProtocol.h; sourceTree = "<group>"; };
|
||||
E8DEC99327648FA50078CB70 /* ClientConfig.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ClientConfig.h; sourceTree = "<group>"; };
|
||||
E8DEC99427648FA50078CB70 /* ClientConfig.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ClientConfig.m; sourceTree = "<group>"; };
|
||||
E8E70D7C26F2F19D00F03460 /* Api+Mine.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Api+Mine.h"; sourceTree = "<group>"; };
|
||||
@@ -827,7 +795,6 @@
|
||||
23CEFC082AFB8FC100576D89 /* sdkContent */,
|
||||
23FF255C2ABA8EEE0064E904 /* PIIAPTool */,
|
||||
E83645A42A40AEF600E0DBE4 /* Bundle */,
|
||||
234E50AC2BF734FC005CB6D5 /* NSTextAttachment */,
|
||||
E8F61356291E269700E12650 /* Safe */,
|
||||
9B33E3C827D85379003B0E62 /* File */,
|
||||
E80CBDE727D0C528001E1EC2 /* Timer */,
|
||||
@@ -906,15 +873,6 @@
|
||||
path = UILabel;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
234E50AC2BF734FC005CB6D5 /* NSTextAttachment */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
234E50AD2BF7352C005CB6D5 /* NSTextAttachment+MSImage.h */,
|
||||
234E50AE2BF7352C005CB6D5 /* NSTextAttachment+MSImage.m */,
|
||||
);
|
||||
path = NSTextAttachment;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
236B2E1B2AA0786E003967A8 /* Library */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
@@ -1579,15 +1537,6 @@
|
||||
name = "Recovered References";
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
9BE01AF42893E7E000B50299 /* Cell */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
9BFE0D8C2898C8C300F53C24 /* XPAnchorCardSkillCollectionViewCell.h */,
|
||||
9BFE0D8D2898C8C300F53C24 /* XPAnchorCardSkillCollectionViewCell.m */,
|
||||
);
|
||||
path = Cell;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
BFB922F5D81845AC32D1E1ED /* Frameworks */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
@@ -1673,39 +1622,10 @@
|
||||
children = (
|
||||
E81DCCCA282B638B0039E5C5 /* Model */,
|
||||
E81DCCC9282B63840039E5C5 /* Api */,
|
||||
E81DCCC7282B636D0039E5C5 /* Presenter */,
|
||||
E81DCCC6282B63630039E5C5 /* Protocol */,
|
||||
);
|
||||
path = YMMonents;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
E81DCCC6282B63630039E5C5 /* Protocol */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
1427213129A75A1700C7C423 /* XPMonentsLatestProtocol.h */,
|
||||
1427213029A759D200C7C423 /* XPMonentsAttentionProtocol.h */,
|
||||
E8098CAB282E04870090B9F0 /* XPMomentsRecommendProtocol.h */,
|
||||
E81A65432835121000F55894 /* XPMonentsInteractiveProtocol.h */,
|
||||
E8541036286443D8005CFD9F /* XPMonentsDetailProtocol.h */,
|
||||
E818E34C286ECAD8005EDF68 /* XPMonentsPublishProtocol.h */,
|
||||
E8AB632028ADE5720023B0D2 /* XPMonentsTopicRecommendProtocol.h */,
|
||||
E8AB632128ADE5880023B0D2 /* XPMonentsTopicLatestProtocol.h */,
|
||||
E8AB632928AE15070023B0D2 /* XPMomentsTopicListProtocol.h */,
|
||||
E8AB633028AE19FA0023B0D2 /* XPMomentsMineProtocol.h */,
|
||||
14EB640A29A5BEE800A4A00B /* XPMomentsDetailViewControllerDelegate.h */,
|
||||
);
|
||||
path = Protocol;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
E81DCCC7282B636D0039E5C5 /* Presenter */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
1427213229A75A2600C7C423 /* XPMomentsLatestPresenter.h */,
|
||||
1427213329A75A2600C7C423 /* XPMomentsLatestPresenter.m */,
|
||||
);
|
||||
path = Presenter;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
E81DCCC9282B63840039E5C5 /* Api */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
@@ -1765,11 +1685,6 @@
|
||||
E8B3E8042848B842009746AB /* View */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
9BE01AF42893E7E000B50299 /* Cell */,
|
||||
142721B029A7647F00C7C423 /* XPBlankViewController.h */,
|
||||
142721B129A7647F00C7C423 /* XPBlankViewController.m */,
|
||||
140A7F50299CC69000841594 /* XPTabBar.h */,
|
||||
140A7F51299CC69000841594 /* XPTabBar.m */,
|
||||
);
|
||||
path = View;
|
||||
sourceTree = "<group>";
|
||||
@@ -1803,10 +1718,6 @@
|
||||
children = (
|
||||
E8E70D7C26F2F19D00F03460 /* Api+Mine.h */,
|
||||
E8E70D7D26F2F19D00F03460 /* Api+Mine.m */,
|
||||
54C9A11A2C3D9EDD00C6D970 /* Api+GameOrder.h */,
|
||||
54C9A11B2C3D9EDD00C6D970 /* Api+GameOrder.m */,
|
||||
4C886BEC2E014B6C006F0BA7 /* Api+Medals.h */,
|
||||
4C886BED2E014B6C006F0BA7 /* Api+Medals.m */,
|
||||
);
|
||||
path = Api;
|
||||
sourceTree = "<group>";
|
||||
@@ -2072,9 +1983,7 @@
|
||||
189DD73F26E21C3F00AB55B1 /* YYUtility+Carrier.m in Sources */,
|
||||
23CEFC5D2AFB8FC100576D89 /* BSRecordModel.m in Sources */,
|
||||
9B0E1C5926E77022005D4442 /* BaseNavigationController.m in Sources */,
|
||||
142721B229A7647F00C7C423 /* XPBlankViewController.m in Sources */,
|
||||
E8F6135C291E26BD00E12650 /* NSMutableDictionary+Saft.m in Sources */,
|
||||
1427213429A75A2600C7C423 /* XPMomentsLatestPresenter.m in Sources */,
|
||||
E8EEB8F426FC2050007C6EBA /* SDBrowserImageView.m in Sources */,
|
||||
189DD54B26DE338800AB55B1 /* BaseViewController.m in Sources */,
|
||||
4CD19EB42E9D141A0069DAA0 /* EPMineViewController.m in Sources */,
|
||||
@@ -2112,8 +2021,6 @@
|
||||
4C1064882E0014CF007E1586 /* NSMutableArray+Safe.m in Sources */,
|
||||
23CEFC522AFB8FC100576D89 /* BSFileOptionModel.m in Sources */,
|
||||
187EEEF026E89FE8002833B2 /* AccountInfoStorage.m in Sources */,
|
||||
9BFE0D8E2898C8C300F53C24 /* XPAnchorCardSkillCollectionViewCell.m in Sources */,
|
||||
54C9A11C2C3D9EDD00C6D970 /* Api+GameOrder.m in Sources */,
|
||||
4CD19EB12E9D12600069DAA0 /* EPEditSettingViewController.swift in Sources */,
|
||||
4CD19EB52E9D15000069DAA0 /* EPAboutUsViewController.swift in Sources */,
|
||||
23CEFC612AFB8FC100576D89 /* RealViewNetWorkCell_0.m in Sources */,
|
||||
@@ -2142,11 +2049,8 @@
|
||||
189DD75926E6003C00AB55B1 /* Api.m in Sources */,
|
||||
1427212C29A757EC00C7C423 /* MomentsListInfoModel.m in Sources */,
|
||||
4CD19C912E9CBBD30069DAA0 /* EPLoginBridge.swift in Sources */,
|
||||
234E50AF2BF7352C005CB6D5 /* NSTextAttachment+MSImage.m in Sources */,
|
||||
189DD53F26DE255600AB55B1 /* main.m in Sources */,
|
||||
140A7F52299CC69000841594 /* XPTabBar.m in Sources */,
|
||||
237700D32BC7CC7C00D661F1 /* NSObject+MJExtension.m in Sources */,
|
||||
4C886BEE2E014B6C006F0BA7 /* Api+Medals.m in Sources */,
|
||||
14D8767C29A7445C00E1DD7F /* NSObject+AutoCoding.m in Sources */,
|
||||
23CEFC4C2AFB8FC100576D89 /* BS_UIColor.m in Sources */,
|
||||
4CD19C932E9CCF2C0069DAA0 /* EPLoginConfig.swift in Sources */,
|
||||
|
@@ -1,44 +0,0 @@
|
||||
//
|
||||
// Api+GameOrder.h
|
||||
// YuMi
|
||||
//
|
||||
// Created by P on 2024/7/10.
|
||||
//
|
||||
|
||||
#import "Api.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface Api (GameOrder)
|
||||
/// 用戶的遊戲配置信息
|
||||
/// @param completion 完成
|
||||
/// @param uid uid
|
||||
+ (void)requestGamePartnerInfoList:(HttpRequestHelperCompletion)completion
|
||||
uid:(NSString *)uid;
|
||||
/// 訂單紀錄
|
||||
/// @param completion 完成
|
||||
/// @param uid uid
|
||||
/// @param currSize 當前頁
|
||||
/// @param pageSize 每頁數
|
||||
/// @param searchType 0 我发起的, 1 我收到的
|
||||
+ (void)requestGameOrderRecord:(HttpRequestHelperCompletion)completion
|
||||
currSize:(NSInteger)currSize
|
||||
pageSize:(NSInteger)pageSize
|
||||
searchType:(NSInteger)searchType
|
||||
uid:(NSString *)uid;
|
||||
|
||||
/// 發起邀請
|
||||
/// @param completion 完成
|
||||
/// @param uid uid
|
||||
/// @param gameId 遊戲ID
|
||||
/// @param gameUid 陪玩師 UID
|
||||
/// @param inning 局數
|
||||
+ (void)requestGameOrder:(HttpRequestHelperCompletion)completion
|
||||
gameId:(NSInteger)gameId
|
||||
gameUid:(NSInteger)gameUid
|
||||
inning:(NSInteger)inning
|
||||
uid:(NSString *)uid;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
@@ -1,39 +0,0 @@
|
||||
//
|
||||
// Api+GameOrder.m
|
||||
// YuMi
|
||||
//
|
||||
// Created by P on 2024/7/10.
|
||||
//
|
||||
|
||||
#import "Api+GameOrder.h"
|
||||
|
||||
@implementation Api (GameOrder)
|
||||
|
||||
+ (void)requestGamePartnerInfoList:(HttpRequestHelperCompletion)completion
|
||||
uid:(NSString *)uid {
|
||||
[self makeRequest:@"gamePartnerInfo/list"
|
||||
method:HttpRequestHelperMethodGET
|
||||
completion:completion, __FUNCTION__, uid, nil];
|
||||
}
|
||||
|
||||
+ (void)requestGameOrderRecord:(HttpRequestHelperCompletion)completion
|
||||
currSize:(NSInteger)currSize
|
||||
pageSize:(NSInteger)pageSize
|
||||
searchType:(NSInteger)searchType
|
||||
uid:(NSString *)uid {
|
||||
[self makeRequest:@"gamePartnerOrder/record"
|
||||
method:HttpRequestHelperMethodGET
|
||||
completion:completion, __FUNCTION__, @(currSize).stringValue, @(pageSize).stringValue, @(searchType).stringValue, uid, nil];
|
||||
}
|
||||
|
||||
+ (void)requestGameOrder:(HttpRequestHelperCompletion)completion
|
||||
gameId:(NSInteger)gameId
|
||||
gameUid:(NSInteger)gameUid
|
||||
inning:(NSInteger)inning
|
||||
uid:(NSString *)uid {
|
||||
[self makeRequest:@"gamePartnerOrder/submit"
|
||||
method:HttpRequestHelperMethodPOST
|
||||
completion:completion, __FUNCTION__, @(gameId).stringValue, @(gameUid).stringValue, @(inning).stringValue, uid, nil];
|
||||
}
|
||||
|
||||
@end
|
@@ -1,29 +0,0 @@
|
||||
//
|
||||
// Api+Medals.h
|
||||
// YuMi
|
||||
//
|
||||
// Created by P on 2025/6/17.
|
||||
//
|
||||
|
||||
#import "Api.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface Api(Medals)
|
||||
/// 使用勋章,useStatus: 1-使用,0-取消使用
|
||||
+ (void)medalUseMedal:(HttpRequestHelperCompletion)completion id:(NSString *)id useStatus:(NSNumber *)useStatus;
|
||||
|
||||
/// 勋章广场,type: 勋章类型 1任务勋章 活动勋章,3荣耀勋章
|
||||
+ (void)medalSquare:(HttpRequestHelperCompletion)completion pageNo:(NSNumber *)pageNo pageSize:(NSNumber *)pageSize type:(NSNumber *)type;
|
||||
|
||||
/// 勋章排行
|
||||
+ (void)medalRank:(HttpRequestHelperCompletion)completion pageNo:(NSNumber *)pageNo pageSize:(NSNumber *)pageSize;
|
||||
|
||||
/// 勋章管理列表
|
||||
+ (void)medalMineAll:(HttpRequestHelperCompletion)completion pageNo:(NSNumber *)pageNo pageSize:(NSNumber *)pageSize;
|
||||
|
||||
/// 指定用户的勋章, type: 勋章类型 1任务勋章 活动勋章,3荣耀勋章
|
||||
+ (void)medalMine:(HttpRequestHelperCompletion)completion pageNo:(NSNumber *)pageNo pageSize:(NSNumber *)pageSize uid:(NSNumber *)uid type:(NSNumber *)type;
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
@@ -1,46 +0,0 @@
|
||||
//
|
||||
// Api+Medals.m
|
||||
// YuMi
|
||||
//
|
||||
// Created by P on 2025/6/17.
|
||||
//
|
||||
|
||||
#import "Api+Medals.h"
|
||||
|
||||
@implementation Api(Medals)
|
||||
|
||||
+ (void)medalUseMedal:(HttpRequestHelperCompletion)completion id:(NSString *)id useStatus:(NSNumber *)useStatus {
|
||||
[self makeRequest:@"medal/useMedal"
|
||||
method:HttpRequestHelperMethodPOST
|
||||
completion:completion,
|
||||
__FUNCTION__, id, useStatus, nil];
|
||||
}
|
||||
|
||||
+ (void)medalSquare:(HttpRequestHelperCompletion)completion pageNo:(NSNumber *)pageNo pageSize:(NSNumber *)pageSize type:(NSNumber *)type {
|
||||
[self makeRequest:@"medal/square"
|
||||
method:HttpRequestHelperMethodGET
|
||||
completion:completion,
|
||||
__FUNCTION__, pageNo, pageSize, type, nil];
|
||||
}
|
||||
|
||||
+ (void)medalRank:(HttpRequestHelperCompletion)completion pageNo:(NSNumber *)pageNo pageSize:(NSNumber *)pageSize {
|
||||
[self makeRequest:@"medal/rank"
|
||||
method:HttpRequestHelperMethodGET
|
||||
completion:completion,
|
||||
__FUNCTION__, pageNo, pageSize, nil];
|
||||
}
|
||||
|
||||
+ (void)medalMineAll:(HttpRequestHelperCompletion)completion pageNo:(NSNumber *)pageNo pageSize:(NSNumber *)pageSize {
|
||||
[self makeRequest:@"medal/mineAll"
|
||||
method:HttpRequestHelperMethodGET
|
||||
completion:completion,
|
||||
__FUNCTION__, pageNo, pageSize, nil];
|
||||
}
|
||||
|
||||
+ (void)medalMine:(HttpRequestHelperCompletion)completion pageNo:(NSNumber *)pageNo pageSize:(NSNumber *)pageSize uid:(NSNumber *)uid type:(NSNumber *)type {
|
||||
[self makeRequest:@"medal/mine"
|
||||
method:HttpRequestHelperMethodGET
|
||||
completion:completion,
|
||||
__FUNCTION__, pageNo, pageSize, uid, type, nil];
|
||||
}
|
||||
@end
|
@@ -1,36 +0,0 @@
|
||||
//
|
||||
// YMMonentsLatestPresenter.h
|
||||
// YUMI
|
||||
//
|
||||
// Created by YUMI on 2022/5/18.
|
||||
//
|
||||
|
||||
#import "BaseMvpPresenter.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface XPMomentsLatestPresenter : BaseMvpPresenter
|
||||
|
||||
/// 获取朋友圈动态推荐列表
|
||||
/// @param dynamicId 当前的页数
|
||||
/// @param pageSize 一页的个数
|
||||
/// @param state 状态
|
||||
- (void)getMonentsLatestListPageSize:(NSInteger)pageSize dynamicId:(NSString *)dynamicId state:(int)state;
|
||||
|
||||
/// 动态点赞
|
||||
/// @param dynamicId 动态id
|
||||
/// @param status yes 点赞 NO 取消
|
||||
/// @param likedUid 点赞人的uid
|
||||
/// @param worldId 话题的id
|
||||
- (void)likeMonent:(NSString *)dynamicId status:(BOOL)status likedUid:(NSString *)likedUid worldId:(NSString *)worldId;
|
||||
|
||||
/// 删除动态
|
||||
/// @param dynamicId 动态id
|
||||
/// @param worldId 话题id
|
||||
- (void)deleteMonents:(NSString *)dynamicId worldId:(NSString *)worldId;
|
||||
|
||||
- (void)requesstShieldingWtihType:(NSString *)type objId:(NSString *)objId;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
@@ -1,59 +0,0 @@
|
||||
//
|
||||
// YMMonentsLatestPresenter.m
|
||||
// YUMI
|
||||
//
|
||||
// Created by YUMI on 2022/5/18.
|
||||
//
|
||||
|
||||
#import "XPMomentsLatestPresenter.h"
|
||||
#import "Api+Moments.h"
|
||||
#import "MomentsListInfoModel.h"
|
||||
#import "XPMonentsLatestProtocol.h"
|
||||
#import "AccountInfoStorage.h"
|
||||
@implementation XPMomentsLatestPresenter
|
||||
|
||||
/// 获取朋友圈动态推荐列表
|
||||
/// @param dynamicId 当前的页数
|
||||
/// @param pageSize 一页的个数
|
||||
/// @param state 状态
|
||||
- (void)getMonentsLatestListPageSize:(NSInteger)pageSize dynamicId:(NSString *)dynamicId state:(int)state {
|
||||
if (dynamicId.length <= 0) {
|
||||
dynamicId = @"";
|
||||
}
|
||||
NSString * pageSizeStr = [NSString stringWithFormat:@"%ld", pageSize];
|
||||
[Api momentsLatestList:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
||||
MomentsListInfoModel *listInfo = [MomentsListInfoModel modelWithDictionary:data.data];
|
||||
[[self getView] getMomentsLatestListSuccess:listInfo state:state];
|
||||
} fail:^(NSInteger code, NSString * _Nullable msg) {
|
||||
[[self getView] getMonentsLatestListFail:msg state:state];
|
||||
} showLoading:NO] dynamicId:dynamicId pageSize:pageSizeStr types:@"0,2"];
|
||||
}
|
||||
|
||||
/// 动态点赞
|
||||
/// @param dynamicId 动态id
|
||||
/// @param status yes 点赞 NO 取消
|
||||
/// @param likedUid 点赞人的uid
|
||||
/// @param worldId 话题的id
|
||||
- (void)likeMonent:(NSString *)dynamicId status:(BOOL)status likedUid:(NSString *)likedUid worldId:(NSString *)worldId {
|
||||
NSString * uid = [AccountInfoStorage instance].getUid;
|
||||
NSString * statusStr = status ? @"1" : @"0";
|
||||
[Api momentsLike:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
||||
[[self getView] likeMonentsSuccess:dynamicId status:status];
|
||||
} showLoading:YES] dynamicId:dynamicId uid:uid status:statusStr likedUid:likedUid worldId:worldId];
|
||||
}
|
||||
|
||||
/// 删除动态
|
||||
/// @param dynamicId 动态id
|
||||
/// @param worldId 话题id
|
||||
- (void)deleteMonents:(NSString *)dynamicId worldId:(NSString *)worldId {
|
||||
NSString * uid = [AccountInfoStorage instance].getUid;
|
||||
[Api momentsDelete:^(BaseModel * _Nullable data, NSInteger code, NSString * _Nullable msg) {
|
||||
[[self getView] deleteMonentsSuccess:dynamicId];
|
||||
} uid:uid dynamicId:dynamicId worldId:worldId];
|
||||
}
|
||||
- (void)requesstShieldingWtihType:(NSString *)type objId:(NSString *)objId{
|
||||
[Api requestShielding:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
||||
[[self getView] requesstShieldingSuccess:objId];
|
||||
}] type:type objId:objId];
|
||||
}
|
||||
@end
|
@@ -1,19 +0,0 @@
|
||||
//
|
||||
// YMMonentsDetailViewControllerDelegate.h
|
||||
// YUMI
|
||||
//
|
||||
// Created by XY on 2023/2/22.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@protocol XPMomentsDetailViewControllerDelegate <NSObject>
|
||||
|
||||
///删除了动态
|
||||
- (void)XPMomentsDetailViewController:(UIViewController *)view deleteMoments:(NSString *)dynamicId;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
@@ -1,22 +0,0 @@
|
||||
//
|
||||
// YMMonentsMineProtocol.h
|
||||
// YUMI
|
||||
//
|
||||
// Created by YUMI on 2022/8/18.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@protocol XPMomentsMineProtocol <NSObject>
|
||||
///点赞/取消动态成功
|
||||
- (void)likeMomentsSuccess:(NSString *)dynamicId status:(BOOL)status;
|
||||
|
||||
///删除话题成功
|
||||
- (void)deleteMomentsSuccess:(NSString *)monentsInfo;
|
||||
///屏蔽
|
||||
- (void)requesstShieldingSuccess:(NSString *)monentsInfo;
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
@@ -1,29 +0,0 @@
|
||||
//
|
||||
// XPMomentsRecommendProtocol.h
|
||||
// YUMI
|
||||
//
|
||||
// Created by YUMI on 2022/5/13.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@protocol XPMomentsRecommendProtocol <NSObject>
|
||||
|
||||
///获取推荐列表从成功
|
||||
- (void)getMomentsRecommendListSuccess:(NSArray *)array state:(int)state;
|
||||
///获取推荐列表失败
|
||||
- (void)getMomentsRecommendListFail:(NSString *)msg state:(int)state;
|
||||
///获取话题列表成功
|
||||
- (void)momentsTopicListSuccess:(NSArray *)array;
|
||||
///点赞/取消动态成功
|
||||
- (void)likeMomentsSuccess:(NSString *)dynamicId status:(BOOL)status;
|
||||
|
||||
///删除话题成功
|
||||
- (void)deleteMomentsSuccess:(NSString *)monentsInfo;
|
||||
///屏蔽
|
||||
- (void)requestShieldingSuccess:(NSString *)monentsInfo;
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
@@ -1,21 +0,0 @@
|
||||
//
|
||||
// YMMonentsTopicListProtocol.h
|
||||
// YUMI
|
||||
//
|
||||
// Created by YUMI on 2022/8/18.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@protocol XPMomentsTopicListProtocol <NSObject>
|
||||
- (void)getMomentsTopicListSuccess:(NSArray *)list state:(int)state;
|
||||
|
||||
- (void)getMomentsTopicFail:(NSString *)message state:(int)state;
|
||||
|
||||
///删除话题成功
|
||||
- (void)deleteMomentsSuccess:(NSString *)momentsInfo;
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
@@ -1,27 +0,0 @@
|
||||
//
|
||||
// YMMonentsAttentionProtocol.h
|
||||
// YUMI
|
||||
//
|
||||
// Created by YUMI on 2022/5/18.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
@class MomentsListInfoModel;
|
||||
@protocol XPMonentsAttentionProtocol <NSObject>
|
||||
///获取最新列表从成功
|
||||
- (void)getMonentsAttentionListSuccess:(MomentsListInfoModel *)listInfo state:(int)state;
|
||||
///获取最新列表失败
|
||||
- (void)getMonentsAttentionListFail:(NSString *)msg state:(int)state;
|
||||
|
||||
///点赞/取消动态成功
|
||||
- (void)likeMonentsSuccess:(NSString *)dynamicId status:(BOOL)status;
|
||||
|
||||
///删除话题成功
|
||||
- (void)deleteMonentsSuccess:(NSString *)monentsInfo;
|
||||
///屏蔽
|
||||
- (void)requesstShieldingSuccess:(NSString *)monentsInfo;
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
@@ -1,35 +0,0 @@
|
||||
//
|
||||
// YMMonentsDetailProtocol.h
|
||||
// YUMI
|
||||
//
|
||||
// Created by YUMI on 2022/6/23.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
@class MomentsInfoModel, MonentsCommentListModel, MonentsCommentReplyModel;
|
||||
@protocol XPMonentsDetailProtocol <NSObject>
|
||||
///获取动态详情成功
|
||||
- (void)getMonentsDetailSuccess:(MomentsInfoModel *)commentInfo;
|
||||
|
||||
///获取动态 评论的列表
|
||||
- (void)getMonentsCommentListSuccess:(MonentsCommentListModel *)replyList state:(int)state;
|
||||
|
||||
///评论回复成功
|
||||
- (void)getMonentsCommentReplyListSuccess:(MonentsCommentReplyModel *)replyInfo commentId:(NSString *)commentId;
|
||||
|
||||
///点赞/取消动态成功
|
||||
- (void)likeMonentsSuccess:(NSString *)dynamicId status:(BOOL)status;
|
||||
///删除话题成功
|
||||
- (void)deleteMonentsSuccess:(NSString *)monentsInfo;
|
||||
|
||||
///评论动态成功
|
||||
- (void)commonMonentsSuccess;
|
||||
///回复某人评论成功
|
||||
- (void)replyMonentsSuccess;
|
||||
///屏蔽
|
||||
- (void)requesstShieldingSuccess:(NSString *)monentsInfo;
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
@@ -1,20 +0,0 @@
|
||||
//
|
||||
// YMMonentsInteractiveProtocol.h
|
||||
// YUMI
|
||||
//
|
||||
// Created by YUMI on 2022/5/18.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@protocol XPMonentsInteractiveProtocol <NSObject>
|
||||
|
||||
- (void)getMonentsInteractiveListSueccess:(NSArray *)array state:(int)state;
|
||||
- (void)getMonentsInteractiveListFail:(NSString *)msg state:(int)state;
|
||||
///清空互动消息
|
||||
- (void)clearInteractiveMessageSuccess;
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
@@ -1,26 +0,0 @@
|
||||
//
|
||||
// YMMonentsLatestProtocol.h
|
||||
// YUMI
|
||||
//
|
||||
// Created by YUMI on 2022/5/18.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
@class MomentsListInfoModel;
|
||||
@protocol XPMonentsLatestProtocol <NSObject>
|
||||
///获取最新列表从成功
|
||||
- (void)getMomentsLatestListSuccess:(MomentsListInfoModel *)listInfo state:(int)state;
|
||||
///获取最新列表从失败
|
||||
- (void)getMonentsLatestListFail:(NSString *)msg state:(int)state;
|
||||
|
||||
///点赞/取消动态成功
|
||||
- (void)likeMonentsSuccess:(NSString *)dynamicId status:(BOOL)status;
|
||||
///删除话题成功
|
||||
- (void)deleteMonentsSuccess:(NSString *)monentsInfo;
|
||||
///屏蔽
|
||||
- (void)requesstShieldingSuccess:(NSString *)monentsInfo;
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
@@ -1,18 +0,0 @@
|
||||
//
|
||||
// YMMonentsPublishProtocol.h
|
||||
// YUMI
|
||||
//
|
||||
// Created by YUMI on 2022/7/1.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@protocol XPMonentsPublishProtocol <NSObject>
|
||||
|
||||
- (void)publishMonentsSuccess;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
@@ -1,26 +0,0 @@
|
||||
//
|
||||
// YMMonentsTopicLatestProtocol.h
|
||||
// YUMI
|
||||
//
|
||||
// Created by YUMI on 2022/8/18.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
@class MomentsListInfoModel;
|
||||
@protocol XPMonentsTopicLatestProtocol <NSObject>
|
||||
- (void)getMonentsTopicLatestListSuccess:(MomentsListInfoModel *)info state:(int)state;
|
||||
|
||||
- (void)getMonentsTopicLatestListFail:(NSString *)msg state:(int)state;
|
||||
|
||||
///点赞/取消动态成功
|
||||
- (void)likeMonentsSuccess:(NSString *)dynamicId status:(BOOL)status;
|
||||
|
||||
///删除话题成功
|
||||
- (void)deleteMonentsSuccess:(NSString *)monentsInfo;
|
||||
///屏蔽
|
||||
- (void)requesstShieldingSuccess:(NSString *)monentsInfo;
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
@@ -1,27 +0,0 @@
|
||||
//
|
||||
// YMMonentsTopicRecommendProtocol.h
|
||||
// YUMI
|
||||
//
|
||||
// Created by YUMI on 2022/8/18.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
@class MomentsListInfoModel;
|
||||
@protocol XPMonentsTopicRecommendProtocol <NSObject>
|
||||
|
||||
- (void)getMonentsTopicRecommendListSuccess:(MomentsListInfoModel *)info state:(int)state;
|
||||
|
||||
- (void)getMonentsTopicRecommendListFail:(NSString *)msg state:(int)state;
|
||||
|
||||
///点赞/取消动态成功
|
||||
- (void)likeMonentsSuccess:(NSString *)dynamicId status:(BOOL)status;
|
||||
|
||||
///删除话题成功
|
||||
- (void)deleteMonentsSuccess:(NSString *)monentsInfo;
|
||||
///屏蔽
|
||||
- (void)requesstShieldingSuccess:(NSString *)monentsInfo;
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
@@ -13,52 +13,9 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
+ (void)requestTicket:(HttpRequestHelperCompletion)completion access_token:(NSString *)accessToken issue_type:(NSString *)issueType;
|
||||
|
||||
/// 初始化配置
|
||||
/// @param complection 完成
|
||||
+ (void)clientInitConfig:(HttpRequestHelperCompletion)complection;
|
||||
|
||||
//
|
||||
+ (void)clientConfig:(HttpRequestHelperCompletion)completion;
|
||||
|
||||
///邀请码进房
|
||||
/// @param completion 完成
|
||||
/// @param inviteCode 邀请码
|
||||
+ (void)checkInviteUserInRoom:(HttpRequestHelperCompletion)completion inviteCode:(NSString *)inviteCode;
|
||||
|
||||
/// 新用户打招呼
|
||||
/// @param completion 完成
|
||||
+ (void)newUserGreetInfo:(HttpRequestHelperCompletion)completion;
|
||||
|
||||
/// 推荐进入的房间
|
||||
/// @param completion 完成
|
||||
/// @param uid 用户的uid
|
||||
+ (void)shortCutRecommendRoom:(HttpRequestHelperCompletion)completion uid:(NSString *)uid;
|
||||
|
||||
/// 获取新用户充值优惠列表
|
||||
/// @param completion 完成
|
||||
+ (void)requestNewUserRechargeList:(HttpRequestHelperCompletion)completion;
|
||||
|
||||
/// 获取主播卡片信息
|
||||
/// @param completion 完成
|
||||
+ (void)requestAnchorCardInfo:(HttpRequestHelperCompletion)completion;
|
||||
|
||||
/// 获取版本更新
|
||||
/// @param appVersion 当前版本
|
||||
/// @param os os
|
||||
/// @param channel cannel
|
||||
+ (void)requestVersionUpdate:(HttpRequestHelperCompletion)completion appVersion:(NSString *)appVersion os:(NSString *)os channel:(NSString *)channel;
|
||||
|
||||
/// app 启动调用此接口 主要功能:给主播分流 登录成功之后调用
|
||||
+ (void)requestClientStartApp:(HttpRequestHelperCompletion)completion;
|
||||
|
||||
///心跳接口,每 30 秒调用一次,用来更新用户在线状态 登录成功之后调用
|
||||
+ (void)requestClientHeartBrat:(HttpRequestHelperCompletion)completion;
|
||||
/// /// ///判断是否绑定授权码
|
||||
/// @param completion 完成
|
||||
+(void)requestAuthorizationCodeInfo:(HttpRequestHelperCompletion)completion;
|
||||
+(void)requestMineChannel:(HttpRequestHelperCompletion)completion;
|
||||
|
||||
// 新增表情包列表
|
||||
+(void)faceTabNewList:(HttpRequestHelperCompletion)completion;
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
|
@@ -29,74 +29,4 @@
|
||||
}
|
||||
|
||||
|
||||
///邀请码进房 邀请人信息
|
||||
/// @param completion 完成
|
||||
/// @param inviteCode 邀请码
|
||||
+ (void)checkInviteUserInRoom:(HttpRequestHelperCompletion)completion inviteCode:(NSString *)inviteCode {
|
||||
NSString * fang = [NSString stringFromBase64String:@"dXNlci92Mi9jaGVja0ludml0ZVVzZXJJblJvb20="];///user/v2/checkInviteUserInRoom
|
||||
[self makeRequest:fang method:HttpRequestHelperMethodGET completion:completion,__FUNCTION__, inviteCode, nil];
|
||||
}
|
||||
|
||||
/// 首页新用户打招呼
|
||||
/// @param completion 完成
|
||||
+ (void)newUserGreetInfo:(HttpRequestHelperCompletion)completion {
|
||||
NSString * fang = [NSString stringFromBase64String:@"bmV3VXNlclN0YXJ0L2luZGV4U2F5SGVsbG8="];///newUserStart/indexSayHello
|
||||
[self makeRequest:fang method:HttpRequestHelperMethodGET completion:completion, __FUNCTION__, nil];
|
||||
}
|
||||
|
||||
/// 推荐进入的房间
|
||||
/// @param completion 完成
|
||||
/// @param uid 用户的uid
|
||||
+ (void)shortCutRecommendRoom:(HttpRequestHelperCompletion)completion uid:(NSString *)uid {
|
||||
NSString * fang = [NSString stringFromBase64String:@"cm9vbS9zaG9ydGN1dC9yZWNvbW1lbmQ="];///room/shortcut/recommend
|
||||
[self makeRequest:fang method:HttpRequestHelperMethodGET completion:completion, __FUNCTION__, uid, nil];
|
||||
}
|
||||
|
||||
/// 获取新用户充值优惠列表
|
||||
/// @param completion 完成
|
||||
+ (void)requestNewUserRechargeList:(HttpRequestHelperCompletion)completion {
|
||||
NSString * fang = [NSString stringFromBase64String:@"Zmlyc3QvY2hhcmdlL2xpbWl0L2xpc3Q="];///first/charge/limit/list
|
||||
[self makeRequest:fang method:HttpRequestHelperMethodGET completion:completion, __FUNCTION__, nil];
|
||||
}
|
||||
|
||||
/// 获取主播卡片信息
|
||||
/// @param completion 完成
|
||||
+ (void)requestAnchorCardInfo:(HttpRequestHelperCompletion)completion {
|
||||
NSString * fang = [NSString stringFromBase64String:@"dXNlci9nZXQvdXNlckNhcmQ="];///user/get/userCard
|
||||
[self makeRequest:fang method:HttpRequestHelperMethodGET completion:completion, __FUNCTION__, nil];
|
||||
}
|
||||
|
||||
/// 获取版本更新
|
||||
/// @param appVersion 当前版本
|
||||
/// @param os os
|
||||
/// @param channel cannel
|
||||
+ (void)requestVersionUpdate:(HttpRequestHelperCompletion)completion appVersion:(NSString *)appVersion os:(NSString *)os channel:(NSString *)channel {
|
||||
NSString * fang = [NSString stringFromBase64String:@"dmVyc2lvbi9nZXROZXdlc3RWZXJzaW9u"];///version/getNewestVersion
|
||||
[self makeRequest:fang method:HttpRequestHelperMethodGET completion:completion, __FUNCTION__, appVersion, os, channel, nil];
|
||||
}
|
||||
|
||||
/// app 启动调用此接口 主要功能:给主播分流 登录成功之后调用
|
||||
+ (void)requestClientStartApp:(HttpRequestHelperCompletion)completion {
|
||||
NSString * fang = [NSString stringFromBase64String:@"Y2xpZW50L3N0YXJ0X2FwcA=="];///client/start_app
|
||||
[self makeRequest:fang method:HttpRequestHelperMethodPOST completion:completion, __FUNCTION__, nil];
|
||||
}
|
||||
|
||||
///心跳接口,每 30 秒调用一次,用来更新用户在线状态 登录成功之后调用
|
||||
+ (void)requestClientHeartBrat:(HttpRequestHelperCompletion)completion {
|
||||
NSString * fang = [NSString stringFromBase64String:@"Y2xpZW50L2hlYXJ0YmVhdA=="];///client/heartbeat
|
||||
[self makeRequest:fang method:HttpRequestHelperMethodPOST completion:completion, __FUNCTION__, nil];
|
||||
}
|
||||
|
||||
/// /// ///判断是否绑定授权码
|
||||
/// @param completion 完成
|
||||
+(void)requestAuthorizationCodeInfo:(HttpRequestHelperCompletion)completion{
|
||||
[self makeRequest:@"phone/auth/isBoundPhoneAuthCode" method:HttpRequestHelperMethodGET completion:completion, __FUNCTION__, nil];
|
||||
}
|
||||
+(void)requestMineChannel:(HttpRequestHelperCompletion)completion{
|
||||
[self makeRequest:@"charge/guide/channel" method:HttpRequestHelperMethodGET completion:completion,__FUNCTION__, nil];
|
||||
}
|
||||
|
||||
+(void)faceTabNewList:(HttpRequestHelperCompletion)completion {
|
||||
[self makeRequest:@"faceTabNew/list" method:HttpRequestHelperMethodGET completion:completion,__FUNCTION__, nil];
|
||||
}
|
||||
@end
|
||||
|
@@ -1,19 +0,0 @@
|
||||
//
|
||||
// YMAnchorCardSkillCollectionViewCell.h
|
||||
// YUMI
|
||||
//
|
||||
// Created by YUMI on 2022/8/2.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
#import "NetImageView.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface XPAnchorCardSkillCollectionViewCell : UICollectionViewCell
|
||||
|
||||
@property (nonatomic, strong) NetImageView *imageView;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
@@ -1,43 +0,0 @@
|
||||
//
|
||||
// YMAnchorCardSkillCollectionViewCell.m
|
||||
// YUMI
|
||||
//
|
||||
// Created by YUMI on 2022/8/2.
|
||||
//
|
||||
|
||||
#import "XPAnchorCardSkillCollectionViewCell.h"
|
||||
///Third
|
||||
#import <Masonry/Masonry.h>
|
||||
|
||||
@implementation XPAnchorCardSkillCollectionViewCell
|
||||
|
||||
- (instancetype)initWithFrame:(CGRect)frame {
|
||||
if (self = [super initWithFrame:frame]) {
|
||||
[self initSubViews];
|
||||
[self initSubViewConstraints];
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
#pragma mark - Private Method
|
||||
- (void)initSubViews {
|
||||
[self.contentView addSubview:self.imageView];
|
||||
}
|
||||
|
||||
- (void)initSubViewConstraints {
|
||||
[self.imageView mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.leading.trailing.mas_equalTo(0);
|
||||
make.top.bottom.mas_equalTo(self.contentView);
|
||||
}];
|
||||
}
|
||||
|
||||
#pragma mark - Getters And Setters
|
||||
- (NetImageView *)imageView {
|
||||
if (!_imageView) {
|
||||
_imageView = [[NetImageView alloc] init];
|
||||
_imageView.contentMode = UIViewContentModeScaleAspectFit;
|
||||
}
|
||||
return _imageView;
|
||||
}
|
||||
|
||||
@end
|
@@ -1,16 +0,0 @@
|
||||
//
|
||||
// YMBlankViewController.h
|
||||
// YUMI
|
||||
//
|
||||
// Created by XY on 2023/2/23.
|
||||
//
|
||||
|
||||
#import "BaseViewController.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface XPBlankViewController : BaseViewController
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
@@ -1,25 +0,0 @@
|
||||
//
|
||||
// YMBlankViewController.m
|
||||
// YUMI
|
||||
//
|
||||
// Created by XY on 2023/2/23.
|
||||
//
|
||||
|
||||
#import "XPBlankViewController.h"
|
||||
|
||||
@interface XPBlankViewController ()
|
||||
|
||||
@end
|
||||
|
||||
@implementation XPBlankViewController
|
||||
|
||||
- (BOOL)isHiddenNavBar {
|
||||
return YES;
|
||||
}
|
||||
|
||||
- (void)viewDidLoad {
|
||||
[super viewDidLoad];
|
||||
// Do any additional setup after loading the view.
|
||||
}
|
||||
|
||||
@end
|
@@ -1,16 +0,0 @@
|
||||
//
|
||||
// YMTabBar.h
|
||||
// YUMI
|
||||
//
|
||||
// Created by XY on 2023/2/15.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface XPTabBar : UITabBar
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
@@ -1,76 +0,0 @@
|
||||
//
|
||||
// YMTabBar.m
|
||||
// YUMI
|
||||
//
|
||||
// Created by XY on 2023/2/15.
|
||||
//
|
||||
|
||||
#import "XPTabBar.h"
|
||||
#import "UIImage+Utils.h"
|
||||
#import "YUMIMacroUitls.h"
|
||||
#import "DJDKMIMOMColor.h"
|
||||
|
||||
|
||||
CGFloat leftRightSpace = 20.0; // TabBar左右距离
|
||||
CGFloat bottomSpace = 29.0; // TabBar离底部距离
|
||||
NSInteger itemCount = 5; // tabBarItem的数量
|
||||
|
||||
@interface XPTabBar()
|
||||
|
||||
|
||||
|
||||
@end
|
||||
|
||||
@implementation XPTabBar
|
||||
|
||||
- (instancetype)initWithFrame:(CGRect)frame {
|
||||
self = [super initWithFrame:frame];
|
||||
if(self) {
|
||||
|
||||
self.backgroundColor = [UIColor whiteColor];
|
||||
// 去除顶部横线
|
||||
[self setBackgroundImage:[UIImage new]];
|
||||
[self setShadowImage:[UIImage new]];
|
||||
|
||||
if (@available(iOS 15.0, *)) {
|
||||
UITabBarAppearance *bar = [UITabBarAppearance new];
|
||||
bar.backgroundColor = [UIColor redColor];
|
||||
bar.backgroundEffect = nil;
|
||||
// 隐藏细线
|
||||
[bar configureWithTransparentBackground];
|
||||
bar.stackedLayoutAppearance.selected.titleTextAttributes = @{NSFontAttributeName:[UIFont systemFontOfSize:10],NSForegroundColorAttributeName:[DJDKMIMOMColor confirmButtonGradientEndColor]};
|
||||
bar.stackedLayoutAppearance.normal.titleTextAttributes = @{NSFontAttributeName:[UIFont systemFontOfSize:10],NSForegroundColorAttributeName:[DJDKMIMOMColor secondTextColor]};
|
||||
self.scrollEdgeAppearance = bar;
|
||||
self.standardAppearance = bar;
|
||||
} else {
|
||||
self.backgroundColor = [UIColor clearColor];
|
||||
self.shadowImage = nil;
|
||||
[[UITabBarItem appearance] setTitleTextAttributes:@{NSForegroundColorAttributeName:[DJDKMIMOMColor confirmButtonGradientEndColor]} forState:UIControlStateSelected];
|
||||
[[UITabBarItem appearance] setTitleTextAttributes:@{NSForegroundColorAttributeName:[DJDKMIMOMColor secondTextColor]} forState:UIControlStateNormal];
|
||||
}
|
||||
self.translucent = YES;
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void)layoutSubviews {
|
||||
[super layoutSubviews];
|
||||
// 重设tabBar的位置
|
||||
self.frame = CGRectMake(0, KScreenHeight- kTabBarHeight, KScreenWidth, kTabBarHeight);
|
||||
|
||||
// 设置其他tabbarbtn的frame
|
||||
CGFloat tabBarButtonW = (KScreenWidth-leftRightSpace*2)/itemCount;
|
||||
CGFloat tabBarButtonIndex = 0;
|
||||
for (UIView *child in self.subviews) {
|
||||
Class class = NSClassFromString(@"UITabBarButton");
|
||||
if ([child isKindOfClass:class]) {
|
||||
CGRect frame = CGRectMake(tabBarButtonIndex * tabBarButtonW+leftRightSpace, 17, 34, 34);
|
||||
child.frame = frame;
|
||||
tabBarButtonIndex ++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@end
|
@@ -61,5 +61,4 @@ isEnterprise = [bundleID isEqualToString:@"com.hflighting.yumi"];\
|
||||
#import "MSBaseRTLFlowLayout.h"
|
||||
#import "MSBaseTextField.h"
|
||||
#import "SZTextView.h"
|
||||
#import "NSTextAttachment+MSImage.h"
|
||||
#endif /* PrefixHeader_pch */
|
||||
|
@@ -1,16 +0,0 @@
|
||||
//
|
||||
// NSTextAttachment+MSImage.h
|
||||
// YuMi
|
||||
//
|
||||
// Created by duoban on 2024/5/17.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface NSTextAttachment (MSImage)
|
||||
@property(nonatomic,copy) NSString *imageName;
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
@@ -1,17 +0,0 @@
|
||||
//
|
||||
// NSTextAttachment+MSImage.m
|
||||
// YuMi
|
||||
//
|
||||
// Created by duoban on 2024/5/17.
|
||||
//
|
||||
|
||||
#import "NSTextAttachment+MSImage.h"
|
||||
#import <objc/runtime.h>
|
||||
@implementation NSTextAttachment (MSImage)
|
||||
-(NSString *)imageName{
|
||||
return objc_getAssociatedObject(self, @"kTextAttachmentImageName");
|
||||
}
|
||||
-(void)setImageName:(NSString *)imageName{
|
||||
objc_setAssociatedObject(self, @"kTextAttachmentImageName", imageName, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
|
||||
}
|
||||
@end
|
Reference in New Issue
Block a user