diff --git a/BABaseProject.xcodeproj/project.pbxproj b/BABaseProject.xcodeproj/project.pbxproj index ccfac3d..fe064b3 100755 --- a/BABaseProject.xcodeproj/project.pbxproj +++ b/BABaseProject.xcodeproj/project.pbxproj @@ -25,11 +25,9 @@ C40852E81CDA263B0004A671 /* RDVTabBarItem.m in Sources */ = {isa = PBXBuildFile; fileRef = C40852E51CDA263B0004A671 /* RDVTabBarItem.m */; }; C40852E91CDA263B0004A671 /* RDVTabBar.m in Sources */ = {isa = PBXBuildFile; fileRef = C40852E71CDA263B0004A671 /* RDVTabBar.m */; }; C40852EC1CDA26680004A671 /* RDVTabBarController.m in Sources */ = {isa = PBXBuildFile; fileRef = C40852EB1CDA26680004A671 /* RDVTabBarController.m */; }; - C41B8F651CF00A290037EE27 /* HMSegmentedControl.m in Sources */ = {isa = PBXBuildFile; fileRef = C41B8F641CF00A290037EE27 /* HMSegmentedControl.m */; }; C41F62561CFC250500294C35 /* DemoVC10Cell.m in Sources */ = {isa = PBXBuildFile; fileRef = C41F62551CFC250500294C35 /* DemoVC10Cell.m */; }; C41F62591CFC253600294C35 /* DemoVC10Model.m in Sources */ = {isa = PBXBuildFile; fileRef = C41F62581CFC253600294C35 /* DemoVC10Model.m */; }; C41F625C1CFC265300294C35 /* DemoVC10_ReusableView.m in Sources */ = {isa = PBXBuildFile; fileRef = C41F625B1CFC265300294C35 /* DemoVC10_ReusableView.m */; }; - C423217B1CE72A7000D91F45 /* BALocalNotification.m in Sources */ = {isa = PBXBuildFile; fileRef = C423217A1CE72A7000D91F45 /* BALocalNotification.m */; }; C423217F1CE72ABC00D91F45 /* DemoVC6.m in Sources */ = {isa = PBXBuildFile; fileRef = C423217E1CE72ABC00D91F45 /* DemoVC6.m */; }; C427811D1D2D2881003E6694 /* BABaseCell.m in Sources */ = {isa = PBXBuildFile; fileRef = C427811C1D2D2881003E6694 /* BABaseCell.m */; }; C42781201D2D315B003E6694 /* BABaseCollectionCell.m in Sources */ = {isa = PBXBuildFile; fileRef = C427811F1D2D315B003E6694 /* BABaseCollectionCell.m */; }; @@ -66,12 +64,7 @@ C445E1D31D1B86FE00D7654A /* UIColor+Wonderful.m in Sources */ = {isa = PBXBuildFile; fileRef = C445E1CB1D1B86FE00D7654A /* UIColor+Wonderful.m */; }; C445E1D41D1B86FE00D7654A /* UILabel+Wonderful.m in Sources */ = {isa = PBXBuildFile; fileRef = C445E1CD1D1B86FE00D7654A /* UILabel+Wonderful.m */; }; C445E1F51D1BF10A00D7654A /* DemoVC13.m in Sources */ = {isa = PBXBuildFile; fileRef = C445E1F41D1BF10A00D7654A /* DemoVC13.m */; }; - C452CF641D20BF4F00CFCE5B /* BAPayPwdInputView.m in Sources */ = {isa = PBXBuildFile; fileRef = C452CF631D20BF4F00CFCE5B /* BAPayPwdInputView.m */; }; C4562C6B1CDD9F05000F5710 /* DemoVC4.m in Sources */ = {isa = PBXBuildFile; fileRef = C4562C6A1CDD9F05000F5710 /* DemoVC4.m */; }; - C4562C771CDDA25E000F5710 /* BAShareAnimationView.m in Sources */ = {isa = PBXBuildFile; fileRef = C4562C711CDDA25E000F5710 /* BAShareAnimationView.m */; }; - C4562C781CDDA25E000F5710 /* BAShareManage.m in Sources */ = {isa = PBXBuildFile; fileRef = C4562C731CDDA25E000F5710 /* BAShareManage.m */; }; - C4562C791CDDA25E000F5710 /* BAShareManageView.m in Sources */ = {isa = PBXBuildFile; fileRef = C4562C751CDDA25E000F5710 /* BAShareManageView.m */; }; - C4562C7A1CDDA25E000F5710 /* BASharManager.bundle in Resources */ = {isa = PBXBuildFile; fileRef = C4562C761CDDA25E000F5710 /* BASharManager.bundle */; }; C4562C7E1CDDBE44000F5710 /* DemoVC5.m in Sources */ = {isa = PBXBuildFile; fileRef = C4562C7D1CDDBE44000F5710 /* DemoVC5.m */; }; C46B89F91CE055DD00005E2B /* DemoVC5Cell.m in Sources */ = {isa = PBXBuildFile; fileRef = C46B89F81CE055DD00005E2B /* DemoVC5Cell.m */; }; C46B89FC1CE0AE3400005E2B /* DemoVC5_TextPart.m in Sources */ = {isa = PBXBuildFile; fileRef = C46B89FB1CE0AE3400005E2B /* DemoVC5_TextPart.m */; }; @@ -291,8 +284,6 @@ C4EB5BBD1CD8B250003A7094 /* BAHomeViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = C4EB5AFA1CD8B24F003A7094 /* BAHomeViewController.m */; }; C4EB5BBE1CD8B250003A7094 /* BAMessageViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = C4EB5B021CD8B24F003A7094 /* BAMessageViewController.m */; }; C4EB5BBF1CD8B250003A7094 /* BAProfileViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = C4EB5B081CD8B24F003A7094 /* BAProfileViewController.m */; }; - C4EB5BC01CD8B250003A7094 /* BACustomBarItem.m in Sources */ = {isa = PBXBuildFile; fileRef = C4EB5B0E1CD8B24F003A7094 /* BACustomBarItem.m */; }; - C4EB5BC11CD8B250003A7094 /* UINavigationItem+CustomItem.m in Sources */ = {isa = PBXBuildFile; fileRef = C4EB5B101CD8B24F003A7094 /* UINavigationItem+CustomItem.m */; }; C4EB5BC21CD8B250003A7094 /* LPLevelView.bundle in Resources */ = {isa = PBXBuildFile; fileRef = C4EB5B121CD8B24F003A7094 /* LPLevelView.bundle */; }; C4EB5BC31CD8B250003A7094 /* LPLevelView.m in Sources */ = {isa = PBXBuildFile; fileRef = C4EB5B141CD8B24F003A7094 /* LPLevelView.m */; }; C4EB5BCB1CD8B250003A7094 /* AppDelegate+BACategory.m in Sources */ = {isa = PBXBuildFile; fileRef = C4EB5B291CD8B24F003A7094 /* AppDelegate+BACategory.m */; }; @@ -396,6 +387,15 @@ C4EE1C611D228AE9005046A6 /* DemoVC2_01_Model.m in Sources */ = {isa = PBXBuildFile; fileRef = C4EE1C601D228AE9005046A6 /* DemoVC2_01_Model.m */; }; C4EE1C651D228E34005046A6 /* NSString+BAKit.m in Sources */ = {isa = PBXBuildFile; fileRef = C4EE1C641D228E34005046A6 /* NSString+BAKit.m */; }; C4EE1C691D2295E2005046A6 /* BACellDataAdapter.m in Sources */ = {isa = PBXBuildFile; fileRef = C4EE1C681D2295E2005046A6 /* BACellDataAdapter.m */; }; + C4F74A881D37BDEB0014C396 /* BAClearCacheManager.m in Sources */ = {isa = PBXBuildFile; fileRef = C4F74A871D37BDEB0014C396 /* BAClearCacheManager.m */; }; + C4F74A9C1D37C1BD0014C396 /* BALocalNotification.m in Sources */ = {isa = PBXBuildFile; fileRef = C4F74A8B1D37C1BD0014C396 /* BALocalNotification.m */; }; + C4F74A9D1D37C1BD0014C396 /* BACustomBarItem.m in Sources */ = {isa = PBXBuildFile; fileRef = C4F74A8E1D37C1BD0014C396 /* BACustomBarItem.m */; }; + C4F74A9E1D37C1BD0014C396 /* UINavigationItem+CustomItem.m in Sources */ = {isa = PBXBuildFile; fileRef = C4F74A901D37C1BD0014C396 /* UINavigationItem+CustomItem.m */; }; + C4F74A9F1D37C1BD0014C396 /* HMSegmentedControl.m in Sources */ = {isa = PBXBuildFile; fileRef = C4F74A931D37C1BD0014C396 /* HMSegmentedControl.m */; }; + C4F74AA01D37C1BD0014C396 /* BAShareAnimationView.m in Sources */ = {isa = PBXBuildFile; fileRef = C4F74A961D37C1BD0014C396 /* BAShareAnimationView.m */; }; + C4F74AA11D37C1BD0014C396 /* BAShareManage.m in Sources */ = {isa = PBXBuildFile; fileRef = C4F74A981D37C1BD0014C396 /* BAShareManage.m */; }; + C4F74AA21D37C1BD0014C396 /* BAShareManageView.m in Sources */ = {isa = PBXBuildFile; fileRef = C4F74A9A1D37C1BD0014C396 /* BAShareManageView.m */; }; + C4F74AA31D37C1BD0014C396 /* BASharManager.bundle in Resources */ = {isa = PBXBuildFile; fileRef = C4F74A9B1D37C1BD0014C396 /* BASharManager.bundle */; }; C82886988FF6BE3104DAA187 /* libPods-BABaseProjectTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5F59213B0E1A394D54DB330B /* libPods-BABaseProjectTests.a */; }; /* End PBXBuildFile section */ @@ -451,16 +451,12 @@ C40852E71CDA263B0004A671 /* RDVTabBar.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RDVTabBar.m; sourceTree = ""; }; C40852EA1CDA26680004A671 /* RDVTabBarController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RDVTabBarController.h; sourceTree = ""; }; C40852EB1CDA26680004A671 /* RDVTabBarController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RDVTabBarController.m; sourceTree = ""; }; - C41B8F631CF00A290037EE27 /* HMSegmentedControl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HMSegmentedControl.h; sourceTree = ""; }; - C41B8F641CF00A290037EE27 /* HMSegmentedControl.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HMSegmentedControl.m; sourceTree = ""; }; C41F62541CFC250500294C35 /* DemoVC10Cell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DemoVC10Cell.h; sourceTree = ""; }; C41F62551CFC250500294C35 /* DemoVC10Cell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DemoVC10Cell.m; sourceTree = ""; }; C41F62571CFC253600294C35 /* DemoVC10Model.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DemoVC10Model.h; sourceTree = ""; }; C41F62581CFC253600294C35 /* DemoVC10Model.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DemoVC10Model.m; sourceTree = ""; }; C41F625A1CFC265300294C35 /* DemoVC10_ReusableView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DemoVC10_ReusableView.h; sourceTree = ""; }; C41F625B1CFC265300294C35 /* DemoVC10_ReusableView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DemoVC10_ReusableView.m; sourceTree = ""; }; - C42321791CE72A7000D91F45 /* BALocalNotification.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BALocalNotification.h; sourceTree = ""; }; - C423217A1CE72A7000D91F45 /* BALocalNotification.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BALocalNotification.m; sourceTree = ""; }; C423217D1CE72ABC00D91F45 /* DemoVC6.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DemoVC6.h; sourceTree = ""; }; C423217E1CE72ABC00D91F45 /* DemoVC6.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DemoVC6.m; sourceTree = ""; }; C427811B1D2D2881003E6694 /* BABaseCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BABaseCell.h; sourceTree = ""; }; @@ -530,18 +526,9 @@ C445E1CD1D1B86FE00D7654A /* UILabel+Wonderful.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UILabel+Wonderful.m"; sourceTree = ""; }; C445E1F31D1BF10A00D7654A /* DemoVC13.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DemoVC13.h; sourceTree = ""; }; C445E1F41D1BF10A00D7654A /* DemoVC13.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DemoVC13.m; sourceTree = ""; }; - C452CF621D20BF4F00CFCE5B /* BAPayPwdInputView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BAPayPwdInputView.h; sourceTree = ""; }; - C452CF631D20BF4F00CFCE5B /* BAPayPwdInputView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BAPayPwdInputView.m; sourceTree = ""; }; C4562C641CDD8969000F5710 /* BABaseProjectNoti.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BABaseProjectNoti.h; sourceTree = ""; }; C4562C691CDD9F05000F5710 /* DemoVC4.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DemoVC4.h; sourceTree = ""; }; C4562C6A1CDD9F05000F5710 /* DemoVC4.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DemoVC4.m; sourceTree = ""; }; - C4562C701CDDA25E000F5710 /* BAShareAnimationView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BAShareAnimationView.h; sourceTree = ""; }; - C4562C711CDDA25E000F5710 /* BAShareAnimationView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BAShareAnimationView.m; sourceTree = ""; }; - C4562C721CDDA25E000F5710 /* BAShareManage.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BAShareManage.h; sourceTree = ""; }; - C4562C731CDDA25E000F5710 /* BAShareManage.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BAShareManage.m; sourceTree = ""; }; - C4562C741CDDA25E000F5710 /* BAShareManageView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BAShareManageView.h; sourceTree = ""; }; - C4562C751CDDA25E000F5710 /* BAShareManageView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BAShareManageView.m; sourceTree = ""; }; - C4562C761CDDA25E000F5710 /* BASharManager.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = BASharManager.bundle; sourceTree = ""; }; C4562C7C1CDDBE44000F5710 /* DemoVC5.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DemoVC5.h; sourceTree = ""; }; C4562C7D1CDDBE44000F5710 /* DemoVC5.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DemoVC5.m; sourceTree = ""; }; C46B89F71CE055DD00005E2B /* DemoVC5Cell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DemoVC5Cell.h; sourceTree = ""; }; @@ -851,10 +838,6 @@ C4EB5B021CD8B24F003A7094 /* BAMessageViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BAMessageViewController.m; sourceTree = ""; }; C4EB5B071CD8B24F003A7094 /* BAProfileViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BAProfileViewController.h; sourceTree = ""; }; C4EB5B081CD8B24F003A7094 /* BAProfileViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BAProfileViewController.m; sourceTree = ""; }; - C4EB5B0D1CD8B24F003A7094 /* BACustomBarItem.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BACustomBarItem.h; sourceTree = ""; }; - C4EB5B0E1CD8B24F003A7094 /* BACustomBarItem.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BACustomBarItem.m; sourceTree = ""; }; - C4EB5B0F1CD8B24F003A7094 /* UINavigationItem+CustomItem.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UINavigationItem+CustomItem.h"; sourceTree = ""; }; - C4EB5B101CD8B24F003A7094 /* UINavigationItem+CustomItem.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UINavigationItem+CustomItem.m"; sourceTree = ""; }; C4EB5B121CD8B24F003A7094 /* LPLevelView.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = LPLevelView.bundle; sourceTree = ""; }; C4EB5B131CD8B24F003A7094 /* LPLevelView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LPLevelView.h; sourceTree = ""; }; C4EB5B141CD8B24F003A7094 /* LPLevelView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LPLevelView.m; sourceTree = ""; }; @@ -977,6 +960,23 @@ C4EE1C641D228E34005046A6 /* NSString+BAKit.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSString+BAKit.m"; sourceTree = ""; }; C4EE1C671D2295E2005046A6 /* BACellDataAdapter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BACellDataAdapter.h; sourceTree = ""; }; C4EE1C681D2295E2005046A6 /* BACellDataAdapter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BACellDataAdapter.m; sourceTree = ""; }; + C4F74A861D37BDEB0014C396 /* BAClearCacheManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BAClearCacheManager.h; sourceTree = ""; }; + C4F74A871D37BDEB0014C396 /* BAClearCacheManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BAClearCacheManager.m; sourceTree = ""; }; + C4F74A8A1D37C1BD0014C396 /* BALocalNotification.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BALocalNotification.h; sourceTree = ""; }; + C4F74A8B1D37C1BD0014C396 /* BALocalNotification.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BALocalNotification.m; sourceTree = ""; }; + C4F74A8D1D37C1BD0014C396 /* BACustomBarItem.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BACustomBarItem.h; sourceTree = ""; }; + C4F74A8E1D37C1BD0014C396 /* BACustomBarItem.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BACustomBarItem.m; sourceTree = ""; }; + C4F74A8F1D37C1BD0014C396 /* UINavigationItem+CustomItem.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UINavigationItem+CustomItem.h"; sourceTree = ""; }; + C4F74A901D37C1BD0014C396 /* UINavigationItem+CustomItem.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UINavigationItem+CustomItem.m"; sourceTree = ""; }; + C4F74A921D37C1BD0014C396 /* HMSegmentedControl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HMSegmentedControl.h; sourceTree = ""; }; + C4F74A931D37C1BD0014C396 /* HMSegmentedControl.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HMSegmentedControl.m; sourceTree = ""; }; + C4F74A951D37C1BD0014C396 /* BAShareAnimationView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BAShareAnimationView.h; sourceTree = ""; }; + C4F74A961D37C1BD0014C396 /* BAShareAnimationView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BAShareAnimationView.m; sourceTree = ""; }; + C4F74A971D37C1BD0014C396 /* BAShareManage.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BAShareManage.h; sourceTree = ""; }; + C4F74A981D37C1BD0014C396 /* BAShareManage.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BAShareManage.m; sourceTree = ""; }; + C4F74A991D37C1BD0014C396 /* BAShareManageView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BAShareManageView.h; sourceTree = ""; }; + C4F74A9A1D37C1BD0014C396 /* BAShareManageView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BAShareManageView.m; sourceTree = ""; }; + C4F74A9B1D37C1BD0014C396 /* BASharManager.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = BASharManager.bundle; sourceTree = ""; }; DC760AFDC52F26AF314AEFE6 /* Pods-BABaseProjectUITests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-BABaseProjectUITests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-BABaseProjectUITests/Pods-BABaseProjectUITests.debug.xcconfig"; sourceTree = ""; }; E283E9681D5461079F982613 /* Pods-BABaseProject.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-BABaseProject.release.xcconfig"; path = "Pods/Target Support Files/Pods-BABaseProject/Pods-BABaseProject.release.xcconfig"; sourceTree = ""; }; EDD79403C6EBFC39AD1B2251 /* libPods-BABaseProject.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-BABaseProject.a"; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -1101,15 +1101,6 @@ path = DemoVC2; sourceTree = ""; }; - C42321781CE72A7000D91F45 /* BALocalNotification */ = { - isa = PBXGroup; - children = ( - C42321791CE72A7000D91F45 /* BALocalNotification.h */, - C423217A1CE72A7000D91F45 /* BALocalNotification.m */, - ); - path = BALocalNotification; - sourceTree = ""; - }; C423217C1CE72AA500D91F45 /* DemoVC6 */ = { isa = PBXGroup; children = ( @@ -1265,20 +1256,6 @@ path = ViewModel; sourceTree = ""; }; - C4562C6F1CDDA25E000F5710 /* BASharManager */ = { - isa = PBXGroup; - children = ( - C4562C761CDDA25E000F5710 /* BASharManager.bundle */, - C4562C701CDDA25E000F5710 /* BAShareAnimationView.h */, - C4562C711CDDA25E000F5710 /* BAShareAnimationView.m */, - C4562C721CDDA25E000F5710 /* BAShareManage.h */, - C4562C731CDDA25E000F5710 /* BAShareManage.m */, - C4562C741CDDA25E000F5710 /* BAShareManageView.h */, - C4562C751CDDA25E000F5710 /* BAShareManageView.m */, - ); - path = BASharManager; - sourceTree = ""; - }; C4562C7B1CDDB405000F5710 /* DemoVC5 */ = { isa = PBXGroup; children = ( @@ -1344,8 +1321,6 @@ C48026CD1D191F720087BBB9 /* DemoVC12.m */, C48026CF1D1920110087BBB9 /* DemoVC12View.h */, C48026D01D1920110087BBB9 /* DemoVC12View.m */, - C452CF621D20BF4F00CFCE5B /* BAPayPwdInputView.h */, - C452CF631D20BF4F00CFCE5B /* BAPayPwdInputView.m */, ); path = DemoVC12; sourceTree = ""; @@ -1369,6 +1344,11 @@ C48026D31D1928290087BBB9 /* BACustom */ = { isa = PBXGroup; children = ( + C4F74A891D37C1BD0014C396 /* BALocalNotification */, + C4F74A8C1D37C1BD0014C396 /* BANavigationItem */, + C4F74A911D37C1BD0014C396 /* BASegmentControl */, + C4F74A941D37C1BD0014C396 /* BASharManager */, + C4F74A851D37BDB60014C396 /* 清理缓存 */, C4B9644E1D33A5FB005926B8 /* 自定义下拉刷新动画 */, C444232B1D2E738A004ACAA8 /* BAAlert */, C48026D41D1928290087BBB9 /* BAAPP.h */, @@ -2141,15 +2121,6 @@ path = "自定义下拉刷新动画"; sourceTree = ""; }; - C4D107F01CE2FB2300F735B9 /* BASegmentControl */ = { - isa = PBXGroup; - children = ( - C41B8F631CF00A290037EE27 /* HMSegmentedControl.h */, - C41B8F641CF00A290037EE27 /* HMSegmentedControl.m */, - ); - path = BASegmentControl; - sourceTree = ""; - }; C4DEB37E1D0C348E001F1585 /* Publish(发布) */ = { isa = PBXGroup; children = ( @@ -2515,28 +2486,13 @@ isa = PBXGroup; children = ( C445E1BF1D1B86FE00D7654A /* Wonderful */, - C42321781CE72A7000D91F45 /* BALocalNotification */, - C4D107F01CE2FB2300F735B9 /* BASegmentControl */, C46B8A011CE0BAC200005E2B /* RegexKitLite */, C408527D1CD995200004A671 /* Reachability */, - C4EB5B0C1CD8B24F003A7094 /* BANavigationItem */, C4EB5B111CD8B24F003A7094 /* LPLevelView */, - C4562C6F1CDDA25E000F5710 /* BASharManager */, ); path = "BALib(三方库)"; sourceTree = ""; }; - C4EB5B0C1CD8B24F003A7094 /* BANavigationItem */ = { - isa = PBXGroup; - children = ( - C4EB5B0D1CD8B24F003A7094 /* BACustomBarItem.h */, - C4EB5B0E1CD8B24F003A7094 /* BACustomBarItem.m */, - C4EB5B0F1CD8B24F003A7094 /* UINavigationItem+CustomItem.h */, - C4EB5B101CD8B24F003A7094 /* UINavigationItem+CustomItem.m */, - ); - path = BANavigationItem; - sourceTree = ""; - }; C4EB5B111CD8B24F003A7094 /* LPLevelView */ = { isa = PBXGroup; children = ( @@ -2891,6 +2847,58 @@ path = BABaseCell; sourceTree = ""; }; + C4F74A851D37BDB60014C396 /* 清理缓存 */ = { + isa = PBXGroup; + children = ( + C4F74A861D37BDEB0014C396 /* BAClearCacheManager.h */, + C4F74A871D37BDEB0014C396 /* BAClearCacheManager.m */, + ); + path = "清理缓存"; + sourceTree = ""; + }; + C4F74A891D37C1BD0014C396 /* BALocalNotification */ = { + isa = PBXGroup; + children = ( + C4F74A8A1D37C1BD0014C396 /* BALocalNotification.h */, + C4F74A8B1D37C1BD0014C396 /* BALocalNotification.m */, + ); + path = BALocalNotification; + sourceTree = ""; + }; + C4F74A8C1D37C1BD0014C396 /* BANavigationItem */ = { + isa = PBXGroup; + children = ( + C4F74A8D1D37C1BD0014C396 /* BACustomBarItem.h */, + C4F74A8E1D37C1BD0014C396 /* BACustomBarItem.m */, + C4F74A8F1D37C1BD0014C396 /* UINavigationItem+CustomItem.h */, + C4F74A901D37C1BD0014C396 /* UINavigationItem+CustomItem.m */, + ); + path = BANavigationItem; + sourceTree = ""; + }; + C4F74A911D37C1BD0014C396 /* BASegmentControl */ = { + isa = PBXGroup; + children = ( + C4F74A921D37C1BD0014C396 /* HMSegmentedControl.h */, + C4F74A931D37C1BD0014C396 /* HMSegmentedControl.m */, + ); + path = BASegmentControl; + sourceTree = ""; + }; + C4F74A941D37C1BD0014C396 /* BASharManager */ = { + isa = PBXGroup; + children = ( + C4F74A951D37C1BD0014C396 /* BAShareAnimationView.h */, + C4F74A961D37C1BD0014C396 /* BAShareAnimationView.m */, + C4F74A971D37C1BD0014C396 /* BAShareManage.h */, + C4F74A981D37C1BD0014C396 /* BAShareManage.m */, + C4F74A991D37C1BD0014C396 /* BAShareManageView.h */, + C4F74A9A1D37C1BD0014C396 /* BAShareManageView.m */, + C4F74A9B1D37C1BD0014C396 /* BASharManager.bundle */, + ); + path = BASharManager; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ @@ -3170,6 +3178,7 @@ C4B964191D33A5B1005926B8 /* dropdown_anim__00042@2x.png in Resources */, C4B964401D33A5B1005926B8 /* Contents.json in Resources */, C4B963D71D33A5B1005926B8 /* dropdown_anim__00012@2x.png in Resources */, + C4F74AA31D37C1BD0014C396 /* BASharManager.bundle in Resources */, C4EB5C251CD8B251003A7094 /* snowbg.jpg in Resources */, C40852A21CD9CD860004A671 /* Lato-ThinItalic.ttf in Resources */, C4EADCE91D02C0200086979C /* InfoPlist.strings in Resources */, @@ -3203,7 +3212,6 @@ C4B964331D33A5B1005926B8 /* dropdown_anim__00054@2x.png in Resources */, C42DAA491D3763A800FE8B3E /* homeVC.bundle in Resources */, C4B9644B1D33A5B1005926B8 /* dropdown_loading_02@2x.png in Resources */, - C4562C7A1CDDA25E000F5710 /* BASharManager.bundle in Resources */, C4B9641C1D33A5B1005926B8 /* Contents.json in Resources */, C4B9641F1D33A5B1005926B8 /* dropdown_anim__00045@2x.png in Resources */, C4B964481D33A5B1005926B8 /* Contents.json in Resources */, @@ -3412,20 +3420,20 @@ C48026D11D1920110087BBB9 /* DemoVC12View.m in Sources */, C46B89F91CE055DD00005E2B /* DemoVC5Cell.m in Sources */, C44423301D2E738A004ACAA8 /* BAAlertView.m in Sources */, + C4F74A9C1D37C1BD0014C396 /* BALocalNotification.m in Sources */, C48027341D1928290087BBB9 /* BASystemSound.m in Sources */, C4EB5BBE1CD8B250003A7094 /* BAMessageViewController.m in Sources */, C445E1D41D1B86FE00D7654A /* UILabel+Wonderful.m in Sources */, C40852EC1CDA26680004A671 /* RDVTabBarController.m in Sources */, - C423217B1CE72A7000D91F45 /* BALocalNotification.m in Sources */, C48026CA1D191EC90087BBB9 /* DemoVC11_model.m in Sources */, C4ACE2FF1CF5C53100313DD4 /* DemoVC7.m in Sources */, C48027471D1928290087BBB9 /* UIFont+BAKit.m in Sources */, C46B8A041CE0BAC200005E2B /* RegexKitLite.m in Sources */, C4EB5AA81CD8B04B003A7094 /* AppDelegate.m in Sources */, C430AB761CDC8A360086DDD6 /* DemoVC3.m in Sources */, - C452CF641D20BF4F00CFCE5B /* BAPayPwdInputView.m in Sources */, C42A6AE41CDAE10500D534EE /* BATabBarButton.m in Sources */, C4EB5BBD1CD8B250003A7094 /* BAHomeViewController.m in Sources */, + C4F74A9F1D37C1BD0014C396 /* HMSegmentedControl.m in Sources */, C4EA25841CF7E10600F6081C /* DemoVC10_CollectionView.m in Sources */, C480274C1D1928290087BBB9 /* UITableView+BAKit.m in Sources */, C4EE1C611D228AE9005046A6 /* DemoVC2_01_Model.m in Sources */, @@ -3433,22 +3441,22 @@ C48027391D1928290087BBB9 /* NSDictionary+BAKit.m in Sources */, C427811D1D2D2881003E6694 /* BABaseCell.m in Sources */, C4EB5BCE1CD8B250003A7094 /* NSObject+BANetwork.m in Sources */, - C41B8F651CF00A290037EE27 /* HMSegmentedControl.m in Sources */, C48027381D1928290087BBB9 /* NSDate+BAKit.m in Sources */, C4EB5BBC1CD8B250003A7094 /* BADiscoverViewController.m in Sources */, C444234C1D2E8680004ACAA8 /* DemoVC2_02_HeaderView.m in Sources */, C4B964511D33A630005926B8 /* BACustomMJFooter.m in Sources */, C42781201D2D315B003E6694 /* BABaseCollectionCell.m in Sources */, - C4EB5BC11CD8B250003A7094 /* UINavigationItem+CustomItem.m in Sources */, C4EB5BCC1CD8B250003A7094 /* NSObject+BAMJParse.m in Sources */, C44423491D2E85B8004ACAA8 /* DemoVC2_02.m in Sources */, C4EB5BCB1CD8B250003A7094 /* AppDelegate+BACategory.m in Sources */, C480272F1D1928290087BBB9 /* BALog.m in Sources */, C427812E1D2D39B1003E6694 /* GCDGroup.m in Sources */, C48027551D1928290087BBB9 /* EmitterLayerView.m in Sources */, + C4F74A9E1D37C1BD0014C396 /* UINavigationItem+CustomItem.m in Sources */, C4EB5BB51CD8B250003A7094 /* BABaseViewModel.m in Sources */, C44423261D2E5D67004ACAA8 /* BAKitManager.m in Sources */, C445E1D21D1B86FE00D7654A /* UIColor+Separate.m in Sources */, + C4F74A881D37BDEB0014C396 /* BAClearCacheManager.m in Sources */, C445E1F51D1BF10A00D7654A /* DemoVC13.m in Sources */, C480273C1D1928290087BBB9 /* NSMutableDictionary+BAKit.m in Sources */, C427812F1D2D39B1003E6694 /* GCDQueue.m in Sources */, @@ -3484,10 +3492,8 @@ C42781301D2D39B1003E6694 /* GCDSemaphore.m in Sources */, C4B964541D33B5E8005926B8 /* BACustomMJHeader.m in Sources */, C480274D1D1928290087BBB9 /* UITextField+BAKit.m in Sources */, - C4562C771CDDA25E000F5710 /* BAShareAnimationView.m in Sources */, C48027561D1928290087BBB9 /* UIView+BAGlowView.m in Sources */, C41F62591CFC253600294C35 /* DemoVC10Model.m in Sources */, - C4562C781CDDA25E000F5710 /* BAShareManage.m in Sources */, C4EB5AA51CD8B04B003A7094 /* main.m in Sources */, C480272E1D1928290087BBB9 /* BAAutoSizeWithWH.m in Sources */, C44423451D2E824D004ACAA8 /* BARotateView.m in Sources */, @@ -3503,6 +3509,7 @@ C4EB5BBB1CD8B250003A7094 /* BAGIFImageView.m in Sources */, C41F62561CFC250500294C35 /* DemoVC10Cell.m in Sources */, C40852B81CDA08F10004A671 /* DemoVC1.m in Sources */, + C4F74AA11D37C1BD0014C396 /* BAShareManage.m in Sources */, C480274B1D1928290087BBB9 /* UIScrollView+BAKit.m in Sources */, C4DEB3741D0C2FC8001F1585 /* BANetManager.m in Sources */, C4EB5BC31CD8B250003A7094 /* LPLevelView.m in Sources */, @@ -3513,10 +3520,12 @@ C40852E91CDA263B0004A671 /* RDVTabBar.m in Sources */, C4EB5BD11CD8B250003A7094 /* UIViewController+BAAlertView.m in Sources */, C42A6AE81CDAE10D00D534EE /* BATabBarController.m in Sources */, + C4F74A9D1D37C1BD0014C396 /* BACustomBarItem.m in Sources */, C48027501D1928290087BBB9 /* UIWindow+BAKit.m in Sources */, C44423341D2E7775004ACAA8 /* BABaseHeaderFooterView.m in Sources */, C42781311D2D39B1003E6694 /* GCDTimer.m in Sources */, C48027521D1928290087BBB9 /* BASnowView.m in Sources */, + C4F74AA21D37C1BD0014C396 /* BAShareManageView.m in Sources */, C48027321D1928290087BBB9 /* BARegularExpression.m in Sources */, C4EB5BB71CD8B250003A7094 /* BAFPSLabel.m in Sources */, C480274E1D1928290087BBB9 /* UIView+BAKit.m in Sources */, @@ -3531,7 +3540,6 @@ C473CC791CF72372001883A9 /* DemoVC9.m in Sources */, C4DEB3771D0C332C001F1585 /* BATabBarController2.m in Sources */, C480273E1D1928290087BBB9 /* NSProcessInfo+BAKit.m in Sources */, - C4562C791CDDA25E000F5710 /* BAShareManageView.m in Sources */, C4EB5BB91CD8B250003A7094 /* BABaseViewController.m in Sources */, C48027491D1928290087BBB9 /* UIImageView+BAKit.m in Sources */, C4EB5BB61CD8B250003A7094 /* BAVideoModel.m in Sources */, @@ -3543,11 +3551,11 @@ C4EB5BD31CD8B250003A7094 /* BANewsNetManager.m in Sources */, C48027511D1928290087BBB9 /* BAFadeBlackView.m in Sources */, C473CC811CF72960001883A9 /* DemoVC9_Model.m in Sources */, + C4F74AA01D37C1BD0014C396 /* BAShareAnimationView.m in Sources */, C48026C91D191EC90087BBB9 /* DemoVC11_Cell.m in Sources */, C40852BC1CDA09100004A671 /* DemoVC2.m in Sources */, C48026C71D191EC90087BBB9 /* DemoVC11.m in Sources */, C48027411D1928290087BBB9 /* BACustomModalTransition.m in Sources */, - C4EB5BC01CD8B250003A7094 /* BACustomBarItem.m in Sources */, C4EB5BBF1CD8B250003A7094 /* BAProfileViewController.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; diff --git a/BABaseProject.xcworkspace/xcuserdata/boai.xcuserdatad/UserInterfaceState.xcuserstate b/BABaseProject.xcworkspace/xcuserdata/boai.xcuserdatad/UserInterfaceState.xcuserstate index 95f1504..bdb87b6 100755 Binary files a/BABaseProject.xcworkspace/xcuserdata/boai.xcuserdatad/UserInterfaceState.xcuserstate and b/BABaseProject.xcworkspace/xcuserdata/boai.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git "a/BABaseProject/BAMainCode/BACode/Home(\351\246\226\351\241\265)/DemoVC/DemoVC12/BAPayPwdInputView.h" "b/BABaseProject/BAMainCode/BACode/Home(\351\246\226\351\241\265)/DemoVC/DemoVC12/BAPayPwdInputView.h" deleted file mode 100644 index df8fc20..0000000 --- "a/BABaseProject/BAMainCode/BACode/Home(\351\246\226\351\241\265)/DemoVC/DemoVC12/BAPayPwdInputView.h" +++ /dev/null @@ -1,19 +0,0 @@ -// -// BAPayPwdInputView.h -// BABaseProject -// -// Created by 博爱 on 16/6/27. -// Copyright © 2016年 博爱之家. All rights reserved. -// - -#import - -@interface BAPayPwdInputView : UIView - -/*! 支付密码长度 */ -@property (assign, nonatomic) NSUInteger length; -/*! 输入完成回调 */ -@property (copy, nonatomic) void (^inputDidCompletion)(NSString *pwd); - - -@end diff --git "a/BABaseProject/BAMainCode/BACode/Home(\351\246\226\351\241\265)/DemoVC/DemoVC12/BAPayPwdInputView.m" "b/BABaseProject/BAMainCode/BACode/Home(\351\246\226\351\241\265)/DemoVC/DemoVC12/BAPayPwdInputView.m" deleted file mode 100644 index 8f49fd9..0000000 --- "a/BABaseProject/BAMainCode/BACode/Home(\351\246\226\351\241\265)/DemoVC/DemoVC12/BAPayPwdInputView.m" +++ /dev/null @@ -1,165 +0,0 @@ -// -// BAPayPwdInputView.m -// BABaseProject -// -// Created by 博爱 on 16/6/27. -// Copyright © 2016年 博爱之家. All rights reserved. -// - -#import "BAPayPwdInputView.h" - -#define kColorBorder [UIColor colorWithWhite:0.824 alpha:1.000] -static const CGFloat dotDiameter = 10.f; - -@interface BAPayPwdInputView () - -/*! secure dot */ -@property (strong, nonatomic) NSMutableArray *secureDots; -/*! keyboard responder */ -@property (strong, nonatomic) UITextField *responder; - -@end - -@implementation BAPayPwdInputView - -#pragma mark - Life cycle - -- (instancetype)init { - self = [super init]; - if (!self) return nil; - [self addNotifications]; - return self; -} - -- (instancetype)initWithCoder:(NSCoder *)aDecoder { - self = [super initWithCoder:aDecoder]; - if (!self) return nil; - [self addNotifications]; - return self; -} - -- (void)dealloc { - [[NSNotificationCenter defaultCenter] removeObserver:self]; -} - -- (void)layoutSubviews { - [super layoutSubviews]; - - CGFloat margin = dotDiameter*0.5; - CGFloat lineX = 0.f; - CGFloat lineY = 0.f; - CGSize lineSize = CGSizeMake(0.5, self.frame.size.height); - CGFloat w = self.frame.size.width / self.length; - - for (int i = 0; i < self.length-1; i++) { - UIView *line = self.subviews[i]; - lineX = w*(i+1); - line.frame = CGRectMake(lineX, lineY, lineSize.width, lineSize.height); - } - - for (int i = 0; i < self.secureDots.count; i++) { - CAShapeLayer *dot = self.secureDots[i]; - dot.position = CGPointMake(w * (0.5 + i) - margin, self.frame.size.height * 0.5 - margin); - } -} - -#pragma mark - Overwrite - -- (BOOL)becomeFirstResponder { - [super becomeFirstResponder]; - [self addSubview:self.responder]; - [self.responder becomeFirstResponder]; - return YES; -} - -- (BOOL)resignFirstResponder { - [super resignFirstResponder]; - [self endEditing:YES]; - return YES; -} - -- (BOOL)endEditing:(BOOL)force { - [super endEditing:force]; - if (force) { - self.responder.text = nil; - [self.secureDots enumerateObjectsUsingBlock:^(CAShapeLayer *_Nonnull dot, NSUInteger idx, BOOL * _Nonnull stop) { - dot.hidden = YES; - }]; - } - return force; -} - -#pragma mark - Setter/Getter - -- (void)setLength:(NSUInteger)length { - _length = length; - if (length > 0) { - [self configurViewWithLength:length]; - } -} - -- (NSMutableArray *)secureDots { - if (!_secureDots) { - _secureDots = [NSMutableArray arrayWithCapacity:self.length]; - } - return _secureDots; -} - -- (UITextField *)responder { - if (!_responder) { - _responder = [[UITextField alloc] initWithFrame:CGRectZero]; - _responder.clearsOnBeginEditing = YES; - _responder.keyboardType = UIKeyboardTypeNumberPad; - _responder.hidden = YES; - } - return _responder; -} - -#pragma mark - Privite - -- (void)configurViewWithLength:(NSUInteger)length { - - self.layer.borderWidth = 0.5f; - self.layer.borderColor = kColorBorder.CGColor; - - //separator line - for (int i = 0; i < length - 1; i++) { - UIView *line = [[UIView alloc] init]; - line.backgroundColor = [UIColor colorWithWhite:0.824 alpha:1.000]; - [self addSubview:line]; - } - - //secure dots - [self.secureDots removeAllObjects]; - for (int i = 0; i < length; i++) { - CAShapeLayer *dot = [CAShapeLayer layer]; - dot.fillColor = [UIColor blackColor].CGColor; - - UIBezierPath *path = [UIBezierPath bezierPathWithOvalInRect:CGRectMake(0, 0, dotDiameter, dotDiameter)]; - dot.path = path.CGPath; - dot.hidden = YES; - [self.layer addSublayer:dot]; - - [self.secureDots addObject:dot]; - } -} - -- (void)addNotifications { - __weak typeof(&*self)weakSelf = self; - - [[NSNotificationCenter defaultCenter] addObserverForName:UITextFieldTextDidChangeNotification object:nil queue:[NSOperationQueue mainQueue] usingBlock:^(NSNotification * _Nonnull note) { - - NSUInteger length = weakSelf.responder.text.length; - if (length <= weakSelf.length && weakSelf.inputDidCompletion) { - self.inputDidCompletion(weakSelf.responder.text); - }else if (length > weakSelf.length) { - self.responder.text = [weakSelf.responder.text substringToIndex:weakSelf.length]; - } - [self.secureDots enumerateObjectsUsingBlock:^(CAShapeLayer *dot, NSUInteger idx, BOOL * stop) { - dot.hidden = idx < length ? NO : YES; - }]; - }]; -} - - -@end diff --git "a/BABaseProject/BAMainCode/BACode/Home(\351\246\226\351\241\265)/DemoVC/DemoVC12/DemoVC12View.m" "b/BABaseProject/BAMainCode/BACode/Home(\351\246\226\351\241\265)/DemoVC/DemoVC12/DemoVC12View.m" index 51cffb0..6a9935c 100644 --- "a/BABaseProject/BAMainCode/BACode/Home(\351\246\226\351\241\265)/DemoVC/DemoVC12/DemoVC12View.m" +++ "b/BABaseProject/BAMainCode/BACode/Home(\351\246\226\351\241\265)/DemoVC/DemoVC12/DemoVC12View.m" @@ -7,7 +7,6 @@ // #import "DemoVC12View.h" -#import "BAPayPwdInputView.h" static NSString * const titleMsg = @"欢迎使用 iPhone SE,迄今最高性能的 4 英寸 iPhone。在打造这款手机时,我们在深得人心的 4 英寸设计基础上,从里到外重新构想。它所采用的 A9 芯片,正是在 iPhone 6s 上使用的先进芯片。1200 万像素的摄像头能拍出令人叹为观止的精彩照片和 4K 视频,而 Live Photos 则会让你的照片栩栩如生。这一切,成就了一款外形小巧却异常强大的 iPhone。"; @interface DemoVC12View () @@ -26,7 +25,6 @@ @interface DemoVC12View () @property (nonatomic, strong) BACustomButton *button4; @property (nonatomic, strong) BACustomButton *sureButton; -@property (nonatomic, strong) BAPayPwdInputView *payPwdView; @end @@ -59,7 +57,13 @@ - (NSArray *)titleArray { if (!_titleArray) { - _titleArray = @[@"1、自定义弹窗1", @"2、自定义弹窗2【带图片,按钮】", @"3、自定义警告框3【类似系统警告框, 不带button】", @"4、自定义警告框4【类似系统警告框, 带延时】", @"5、自定义警告框5【类似系统警告框, 带图片,按钮】", @"6、系统警告框6【兼容iOS 7、8】", @"7、系统ActionSheet【兼容iOS 7、8】"]; + _titleArray = @[@"1、自定义弹窗1", + @"2、自定义弹窗2【带图片,按钮】", + @"3、自定义警告框3【类似系统警告框, 不带button】", + @"4、自定义警告框4【类似系统警告框, 带延时】", + @"5、自定义警告框5【类似系统警告框, 带图片,按钮】", + @"6、系统警告框6【兼容iOS 7、8】", + @"7、系统ActionSheet【兼容iOS 7、8】"]; } return _titleArray; } @@ -132,16 +136,15 @@ - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath - (void)alert1 { - if (!_modal1) - { - _modal1 = [self creatModal:nil]; - } - - self.bgView.hidden = NO; -// self.payPwdView.hidden = NO; - - [_modal1 showContentView:_bgView animated:YES]; -// [_modal1 showContentView:_payPwdView animated:YES]; + BALog(@"此方法待调试!"); +// if (!_modal1) +// { +// _modal1 = [self creatModal:nil]; +// } +// +// self.bgView.hidden = NO; +// +// [_modal1 showContentView:_bgView animated:YES]; } - (void)alert2 @@ -170,7 +173,7 @@ - (void)alert2 } if (index == 1) { - BA_OpenUrl([NSURL URLWithString:@"http://boai.github.io"]); + BA_OpenUrl(@"http://boai.github.io"); } }]; [alert show:YES]; @@ -197,7 +200,7 @@ - (void)alert5 } if (index == 1) { - BA_OpenUrl([NSURL URLWithString:@"http://boai.github.io"]); + BA_OpenUrl(@"http://boai.github.io"); } }]; @@ -214,7 +217,7 @@ - (void)alert6 } if (index == 1) { - BA_OpenUrl([NSURL URLWithString:@"http://boai.github.io"]); + BA_OpenUrl(@"http://boai.github.io"); } }]; @@ -231,7 +234,7 @@ - (void)ActionSheet1 } if (index == 1) { - BA_OpenUrl([NSURL URLWithString:@"http://boai.github.io"]); + BA_OpenUrl(@"http://boai.github.io"); } if (index == 2) { @@ -268,7 +271,7 @@ - (UIView *)bgView { _bgView = [UIView new]; _bgView.frame = CGRectMake(10, self.tableView.centerX, BA_SCREEN_WIDTH - 20, 200); - _bgView.backgroundColor = BA_White_Color; + _bgView.backgroundColor = BA_Green_Color; _bgView.layer.masksToBounds = YES; _bgView.clipsToBounds = YES; _bgView.layer.cornerRadius = 8.0f; @@ -397,16 +400,7 @@ - (IBAction)buttonAction:(UIButton *)sender } -- (BAPayPwdInputView *)payPwdView -{ - if (!_payPwdView) - { - _payPwdView = [[BAPayPwdInputView alloc] init]; - _payPwdView.frame = CGRectMake(20, 20, BA_SCREEN_WIDTH - 40, 44); - _payPwdView.backgroundColor = [UIColor redColor]; - } - return _payPwdView; -} + @end diff --git "a/BABaseProject/BAMainCode/BACode/Home(\351\246\226\351\241\265)/DemoVC/DemoVC2/DemoVC2.m" "b/BABaseProject/BAMainCode/BACode/Home(\351\246\226\351\241\265)/DemoVC/DemoVC2/DemoVC2.m" index 712e109..da43ec9 100755 --- "a/BABaseProject/BAMainCode/BACode/Home(\351\246\226\351\241\265)/DemoVC/DemoVC2/DemoVC2.m" +++ "b/BABaseProject/BAMainCode/BACode/Home(\351\246\226\351\241\265)/DemoVC/DemoVC2/DemoVC2.m" @@ -26,7 +26,6 @@ - (void)viewWillDisappear:(BOOL)animated [super viewWillDisappear:animated]; [self isShowSnowLoadingView:NO]; - } - (void)viewDidLoad { @@ -38,38 +37,23 @@ - (void)viewDidLoad { - (void)clearCache { - CGFloat cacheSize = [[SDImageCache sharedImageCache] getSize]; - - NSString *clearMessage = cacheSize >= 1024*1024 ? [NSString stringWithFormat:@"清理缓存(%.2fM)", cacheSize / 1024 / 1024] : [NSString stringWithFormat:@"清理缓存(%.2fK)", cacheSize / 1024]; + BAClearCacheManager *clearCacheManager = [BAClearCacheManager ba_sharedCache]; + CGFloat cacheSize = [clearCacheManager ba_loadCacheSize]; + + NSString *clearMessage = [@"需要清除缓存 " stringByAppendingFormat:@"%.2fM ?", cacheSize]; + + BA_Weak; [self BAAlertWithTitle:@"温馨提示:" message:clearMessage andOthers:@[@"确 定"] animated:YES action:^(NSInteger index) { if (index == 0) { - // 清除内存缓存 - [[[SDWebImageManager sharedManager] imageCache] clearMemory]; - // 清除系统缓存 - [[NSURLCache sharedURLCache] removeAllCachedResponses]; - -// [[[SDWebImageManager sharedManager] imageCache] cleanDisk]; + [clearCacheManager ba_myClearCacheAction]; + NSString *msg = [NSString stringWithFormat:@"成功清除缓存:%.2fM", cacheSize]; + [weakSelf.view ba_showAlertView:@"温馨提示:" message:msg]; } }]; } -- (void)didReceiveMemoryWarning { - [super didReceiveMemoryWarning]; - // Dispose of any resources that can be recreated. -} - -/* -#pragma mark - Navigation - -// In a storyboard-based application, you will often want to do a little preparation before navigation -- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender { - // Get the new view controller using [segue destinationViewController]. - // Pass the selected object to the new view controller. -} -*/ - @end diff --git "a/BABaseProject/BAMainCode/BACode/Home(\351\246\226\351\241\265)/DemoVC/DemoVC3/DemoVC3.m" "b/BABaseProject/BAMainCode/BACode/Home(\351\246\226\351\241\265)/DemoVC/DemoVC3/DemoVC3.m" index 17646ae..22fc51b 100755 --- "a/BABaseProject/BAMainCode/BACode/Home(\351\246\226\351\241\265)/DemoVC/DemoVC3/DemoVC3.m" +++ "b/BABaseProject/BAMainCode/BACode/Home(\351\246\226\351\241\265)/DemoVC/DemoVC3/DemoVC3.m" @@ -27,6 +27,17 @@ @interface DemoVC3 () @implementation DemoVC3 +- (void)viewWillAppear:(BOOL)animated +{ + [super viewWillAppear:animated]; +} + +- (void)viewWillDisappear:(BOOL)animated +{ + [super viewWillDisappear:animated]; + [_headerLine stop]; +} + - (void)viewDidLoad { [super viewDidLoad]; diff --git "a/BABaseProject/BAMainCode/BACode/Home(\351\246\226\351\241\265)/DemoVC/DemoVC4/DemoVC4.m" "b/BABaseProject/BAMainCode/BACode/Home(\351\246\226\351\241\265)/DemoVC/DemoVC4/DemoVC4.m" index d0bdc98..1ed7b58 100755 --- "a/BABaseProject/BAMainCode/BACode/Home(\351\246\226\351\241\265)/DemoVC/DemoVC4/DemoVC4.m" +++ "b/BABaseProject/BAMainCode/BACode/Home(\351\246\226\351\241\265)/DemoVC/DemoVC4/DemoVC4.m" @@ -56,7 +56,7 @@ - (BACustomButton *)QQLoginBtn _QQLoginBtn.titleLabel.textAlignment = NSTextAlignmentRight; [self.view addSubview:_QQLoginBtn]; - [_QQLoginBtn ba_pulseViewWithTime:20]; + [_QQLoginBtn ba_pulseViewWithTime:5]; } return _QQLoginBtn; @@ -97,8 +97,7 @@ - (IBAction)clickShareBtn:(UIButton *)sender #pragma mark 友盟登陆BAShareManageDelegate - (void)getUserData:(NSDictionary *)backUserData { - BA_Weak; - [weakSelf.view ba_showAlertView:@"温馨提示:" message:[NSString stringWithFormat:@"友盟登陆成功,返回信息: %@", backUserData]]; + [self.view ba_showAlertView:@"温馨提示:" message:[NSString stringWithFormat:@"友盟登陆成功,返回信息: %@", backUserData]]; BALog(@"友盟登陆成功,返回信息: %@", backUserData); } diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/Wonderful/SXHeadLine.m" "b/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/Wonderful/SXHeadLine.m" index 81a5e7f..21af34e 100644 --- "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/Wonderful/SXHeadLine.m" +++ "b/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/Wonderful/SXHeadLine.m" @@ -64,16 +64,17 @@ - (instancetype)initWithFrame:(CGRect)frame #pragma mark - **************** animate - (void)scrollAnimate { + BA_Weak; CGRect rect1 = self.label1.frame; CGRect rect2 = self.label2.frame; rect1.origin.y -= _h; rect2.origin.y -= _h; [UIView animateWithDuration:_scrollDuration animations:^{ - self.label1.frame = rect1; - self.label2.frame = rect2; + weakSelf.label1.frame = rect1; + weakSelf.label2.frame = rect2; } completion:^(BOOL finished) { - [self checkLabelFrameChange:self.label1]; - [self checkLabelFrameChange:self.label2]; + [weakSelf checkLabelFrameChange:weakSelf.label1]; + [weakSelf checkLabelFrameChange:weakSelf.label2]; }]; } diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BALocalNotification/BALocalNotification.h" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BALocalNotification/BALocalNotification.h" similarity index 100% rename from "BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BALocalNotification/BALocalNotification.h" rename to "BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BALocalNotification/BALocalNotification.h" diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BALocalNotification/BALocalNotification.m" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BALocalNotification/BALocalNotification.m" similarity index 100% rename from "BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BALocalNotification/BALocalNotification.m" rename to "BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BALocalNotification/BALocalNotification.m" diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BANavigationItem/BACustomBarItem.h" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BANavigationItem/BACustomBarItem.h" similarity index 100% rename from "BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BANavigationItem/BACustomBarItem.h" rename to "BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BANavigationItem/BACustomBarItem.h" diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BANavigationItem/BACustomBarItem.m" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BANavigationItem/BACustomBarItem.m" similarity index 100% rename from "BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BANavigationItem/BACustomBarItem.m" rename to "BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BANavigationItem/BACustomBarItem.m" diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BANavigationItem/UINavigationItem+CustomItem.h" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BANavigationItem/UINavigationItem+CustomItem.h" similarity index 100% rename from "BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BANavigationItem/UINavigationItem+CustomItem.h" rename to "BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BANavigationItem/UINavigationItem+CustomItem.h" diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BANavigationItem/UINavigationItem+CustomItem.m" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BANavigationItem/UINavigationItem+CustomItem.m" similarity index 100% rename from "BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BANavigationItem/UINavigationItem+CustomItem.m" rename to "BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BANavigationItem/UINavigationItem+CustomItem.m" diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASegmentControl/HMSegmentedControl.h" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASegmentControl/HMSegmentedControl.h" similarity index 100% rename from "BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASegmentControl/HMSegmentedControl.h" rename to "BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASegmentControl/HMSegmentedControl.h" diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASegmentControl/HMSegmentedControl.m" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASegmentControl/HMSegmentedControl.m" similarity index 100% rename from "BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASegmentControl/HMSegmentedControl.m" rename to "BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASegmentControl/HMSegmentedControl.m" diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/qq\345\245\275\345\217\213.png" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/qq\345\245\275\345\217\213.png" similarity index 100% rename from "BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/qq\345\245\275\345\217\213.png" rename to "BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/qq\345\245\275\345\217\213.png" diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/qq\345\245\275\345\217\213@2x.png" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/qq\345\245\275\345\217\213@2x.png" similarity index 100% rename from "BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/qq\345\245\275\345\217\213@2x.png" rename to "BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/qq\345\245\275\345\217\213@2x.png" diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/qq\345\245\275\345\217\213@3x.png" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/qq\345\245\275\345\217\213@3x.png" similarity index 100% rename from "BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/qq\345\245\275\345\217\213@3x.png" rename to "BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/qq\345\245\275\345\217\213@3x.png" diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/qq\347\251\272\351\227\264.png" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/qq\347\251\272\351\227\264.png" similarity index 100% rename from "BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/qq\347\251\272\351\227\264.png" rename to "BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/qq\347\251\272\351\227\264.png" diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/qq\347\251\272\351\227\264@2x.png" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/qq\347\251\272\351\227\264@2x.png" similarity index 100% rename from "BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/qq\347\251\272\351\227\264@2x.png" rename to "BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/qq\347\251\272\351\227\264@2x.png" diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/qq\347\251\272\351\227\264@3x.png" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/qq\347\251\272\351\227\264@3x.png" similarity index 100% rename from "BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/qq\347\251\272\351\227\264@3x.png" rename to "BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/qq\347\251\272\351\227\264@3x.png" diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\344\272\272\344\272\272\347\275\221.png" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\344\272\272\344\272\272\347\275\221.png" similarity index 100% rename from "BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\344\272\272\344\272\272\347\275\221.png" rename to "BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\344\272\272\344\272\272\347\275\221.png" diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\344\272\272\344\272\272\347\275\221@2x.png" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\344\272\272\344\272\272\347\275\221@2x.png" similarity index 100% rename from "BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\344\272\272\344\272\272\347\275\221@2x.png" rename to "BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\344\272\272\344\272\272\347\275\221@2x.png" diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\344\272\272\344\272\272\347\275\221@3x.png" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\344\272\272\344\272\272\347\275\221@3x.png" similarity index 100% rename from "BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\344\272\272\344\272\272\347\275\221@3x.png" rename to "BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\344\272\272\344\272\272\347\275\221@3x.png" diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\345\276\256\344\277\241\345\245\275\345\217\213.png" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\345\276\256\344\277\241\345\245\275\345\217\213.png" similarity index 100% rename from "BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\345\276\256\344\277\241\345\245\275\345\217\213.png" rename to "BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\345\276\256\344\277\241\345\245\275\345\217\213.png" diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\345\276\256\344\277\241\345\245\275\345\217\213@2x.png" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\345\276\256\344\277\241\345\245\275\345\217\213@2x.png" similarity index 100% rename from "BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\345\276\256\344\277\241\345\245\275\345\217\213@2x.png" rename to "BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\345\276\256\344\277\241\345\245\275\345\217\213@2x.png" diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\345\276\256\344\277\241\345\245\275\345\217\213@3x.png" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\345\276\256\344\277\241\345\245\275\345\217\213@3x.png" similarity index 100% rename from "BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\345\276\256\344\277\241\345\245\275\345\217\213@3x.png" rename to "BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\345\276\256\344\277\241\345\245\275\345\217\213@3x.png" diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\346\226\260\346\265\252\345\276\256\345\215\232.png" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\346\226\260\346\265\252\345\276\256\345\215\232.png" similarity index 100% rename from "BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\346\226\260\346\265\252\345\276\256\345\215\232.png" rename to "BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\346\226\260\346\265\252\345\276\256\345\215\232.png" diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\346\226\260\346\265\252\345\276\256\345\215\232@2x.png" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\346\226\260\346\265\252\345\276\256\345\215\232@2x.png" similarity index 100% rename from "BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\346\226\260\346\265\252\345\276\256\345\215\232@2x.png" rename to "BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\346\226\260\346\265\252\345\276\256\345\215\232@2x.png" diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\346\226\260\346\265\252\345\276\256\345\215\232@3x.png" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\346\226\260\346\265\252\345\276\256\345\215\232@3x.png" similarity index 100% rename from "BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\346\226\260\346\265\252\345\276\256\345\215\232@3x.png" rename to "BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\346\226\260\346\265\252\345\276\256\345\215\232@3x.png" diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\346\230\223\344\277\241\345\245\275\345\217\213.png" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\346\230\223\344\277\241\345\245\275\345\217\213.png" similarity index 100% rename from "BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\346\230\223\344\277\241\345\245\275\345\217\213.png" rename to "BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\346\230\223\344\277\241\345\245\275\345\217\213.png" diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\346\230\223\344\277\241\345\245\275\345\217\213@2x.png" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\346\230\223\344\277\241\345\245\275\345\217\213@2x.png" similarity index 100% rename from "BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\346\230\223\344\277\241\345\245\275\345\217\213@2x.png" rename to "BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\346\230\223\344\277\241\345\245\275\345\217\213@2x.png" diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\346\230\223\344\277\241\345\245\275\345\217\213@3x.png" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\346\230\223\344\277\241\345\245\275\345\217\213@3x.png" similarity index 100% rename from "BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\346\230\223\344\277\241\345\245\275\345\217\213@3x.png" rename to "BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\346\230\223\344\277\241\345\245\275\345\217\213@3x.png" diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\346\234\213\345\217\213\345\234\210.png" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\346\234\213\345\217\213\345\234\210.png" similarity index 100% rename from "BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\346\234\213\345\217\213\345\234\210.png" rename to "BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\346\234\213\345\217\213\345\234\210.png" diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\346\234\213\345\217\213\345\234\210@2x.png" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\346\234\213\345\217\213\345\234\210@2x.png" similarity index 100% rename from "BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\346\234\213\345\217\213\345\234\210@2x.png" rename to "BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\346\234\213\345\217\213\345\234\210@2x.png" diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\346\234\213\345\217\213\345\234\210@3x.png" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\346\234\213\345\217\213\345\234\210@3x.png" similarity index 100% rename from "BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\346\234\213\345\217\213\345\234\210@3x.png" rename to "BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\346\234\213\345\217\213\345\234\210@3x.png" diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\346\234\213\345\217\213\347\275\221.png" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\346\234\213\345\217\213\347\275\221.png" similarity index 100% rename from "BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\346\234\213\345\217\213\347\275\221.png" rename to "BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\346\234\213\345\217\213\347\275\221.png" diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\346\234\213\345\217\213\347\275\221@2x.png" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\346\234\213\345\217\213\347\275\221@2x.png" similarity index 100% rename from "BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\346\234\213\345\217\213\347\275\221@2x.png" rename to "BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\346\234\213\345\217\213\347\275\221@2x.png" diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\346\234\213\345\217\213\347\275\221@3x.png" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\346\234\213\345\217\213\347\275\221@3x.png" similarity index 100% rename from "BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\346\234\213\345\217\213\347\275\221@3x.png" rename to "BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\346\234\213\345\217\213\347\275\221@3x.png" diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\347\231\276\345\272\246\347\251\272\351\227\264.png" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\347\231\276\345\272\246\347\251\272\351\227\264.png" similarity index 100% rename from "BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\347\231\276\345\272\246\347\251\272\351\227\264.png" rename to "BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\347\231\276\345\272\246\347\251\272\351\227\264.png" diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\347\231\276\345\272\246\347\251\272\351\227\264@2x.png" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\347\231\276\345\272\246\347\251\272\351\227\264@2x.png" similarity index 100% rename from "BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\347\231\276\345\272\246\347\251\272\351\227\264@2x.png" rename to "BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\347\231\276\345\272\246\347\251\272\351\227\264@2x.png" diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\347\231\276\345\272\246\347\251\272\351\227\264@3x.png" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\347\231\276\345\272\246\347\251\272\351\227\264@3x.png" similarity index 100% rename from "BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\347\231\276\345\272\246\347\251\272\351\227\264@3x.png" rename to "BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\347\231\276\345\272\246\347\251\272\351\227\264@3x.png" diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\347\237\255\344\277\241.png" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\347\237\255\344\277\241.png" similarity index 100% rename from "BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\347\237\255\344\277\241.png" rename to "BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\347\237\255\344\277\241.png" diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\347\237\255\344\277\241@2x.png" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\347\237\255\344\277\241@2x.png" similarity index 100% rename from "BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\347\237\255\344\277\241@2x.png" rename to "BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\347\237\255\344\277\241@2x.png" diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\347\237\255\344\277\241@3x.png" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\347\237\255\344\277\241@3x.png" similarity index 100% rename from "BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\347\237\255\344\277\241@3x.png" rename to "BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\347\237\255\344\277\241@3x.png" diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\350\205\276\350\256\257\345\276\256\345\215\232.png" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\350\205\276\350\256\257\345\276\256\345\215\232.png" similarity index 100% rename from "BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\350\205\276\350\256\257\345\276\256\345\215\232.png" rename to "BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\350\205\276\350\256\257\345\276\256\345\215\232.png" diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\350\205\276\350\256\257\345\276\256\345\215\232@2x.png" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\350\205\276\350\256\257\345\276\256\345\215\232@2x.png" similarity index 100% rename from "BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\350\205\276\350\256\257\345\276\256\345\215\232@2x.png" rename to "BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\350\205\276\350\256\257\345\276\256\345\215\232@2x.png" diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\350\205\276\350\256\257\345\276\256\345\215\232@3x.png" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\350\205\276\350\256\257\345\276\256\345\215\232@3x.png" similarity index 100% rename from "BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\350\205\276\350\256\257\345\276\256\345\215\232@3x.png" rename to "BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\350\205\276\350\256\257\345\276\256\345\215\232@3x.png" diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\350\261\206\347\223\243\347\275\221.png" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\350\261\206\347\223\243\347\275\221.png" similarity index 100% rename from "BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\350\261\206\347\223\243\347\275\221.png" rename to "BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\350\261\206\347\223\243\347\275\221.png" diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\350\261\206\347\223\243\347\275\221@2x.png" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\350\261\206\347\223\243\347\275\221@2x.png" similarity index 100% rename from "BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\350\261\206\347\223\243\347\275\221@2x.png" rename to "BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\350\261\206\347\223\243\347\275\221@2x.png" diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\350\261\206\347\223\243\347\275\221@3x.png" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\350\261\206\347\223\243\347\275\221@3x.png" similarity index 100% rename from "BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BASharManager.bundle/\350\261\206\347\223\243\347\275\221@3x.png" rename to "BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BASharManager.bundle/\350\261\206\347\223\243\347\275\221@3x.png" diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BAShareAnimationView.h" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BAShareAnimationView.h" similarity index 100% rename from "BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BAShareAnimationView.h" rename to "BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BAShareAnimationView.h" diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BAShareAnimationView.m" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BAShareAnimationView.m" similarity index 100% rename from "BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BAShareAnimationView.m" rename to "BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BAShareAnimationView.m" diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BAShareManage.h" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BAShareManage.h" similarity index 100% rename from "BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BAShareManage.h" rename to "BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BAShareManage.h" diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BAShareManage.m" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BAShareManage.m" similarity index 100% rename from "BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BAShareManage.m" rename to "BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BAShareManage.m" diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BAShareManageView.h" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BAShareManageView.h" similarity index 100% rename from "BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BAShareManageView.h" rename to "BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BAShareManageView.h" diff --git "a/BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BAShareManageView.m" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BAShareManageView.m" similarity index 100% rename from "BABaseProject/BAMainCode/BALib(\344\270\211\346\226\271\345\272\223)/BASharManager/BAShareManageView.m" rename to "BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/BASharManager/BAShareManageView.m" diff --git "a/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/\346\270\205\347\220\206\347\274\223\345\255\230/BAClearCacheManager.h" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/\346\270\205\347\220\206\347\274\223\345\255\230/BAClearCacheManager.h" new file mode 100644 index 0000000..595e01d --- /dev/null +++ "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/\346\270\205\347\220\206\347\274\223\345\255\230/BAClearCacheManager.h" @@ -0,0 +1,52 @@ +// +// BAClearCacheManager.h +// BABaseProject +// +// Created by 博爱 on 16/7/14. +// Copyright © 2016年 博爱之家. All rights reserved. +// + +#import "BABaseNetManager.h" + +@interface BAClearCacheManager : BABaseNetManager + +@property (nonatomic, assign) CGFloat cacheSize; + ++ (instancetype)ba_sharedCache; + +/*! + * 计算单个文件大小 + * + * @param path path路径 + * + * @return 计算单个文件大小 + */ +- (CGFloat)ba_fileSizeAtPath:(NSString *)path; + +/*! + * 计算目录大小 + * + * @param path path路径 + * + * @return 计算目录大小 + */ +- (CGFloat)ba_folderSizeAtPath:(NSString *)path; + +/*! + * 缓存大小 + * + * @return 缓存大小 + */ +- (CGFloat)ba_loadCacheSize; + +/*! + * 清除缓存 + */ +- (void)ba_myClearCacheAction; + +/*! + * 清除缓存成功回调 + */ +- (void)ba_clearCacheSuccess; + +@end diff --git "a/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/\346\270\205\347\220\206\347\274\223\345\255\230/BAClearCacheManager.m" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/\346\270\205\347\220\206\347\274\223\345\255\230/BAClearCacheManager.m" new file mode 100644 index 0000000..3d01b17 --- /dev/null +++ "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BACustom/\346\270\205\347\220\206\347\274\223\345\255\230/BAClearCacheManager.m" @@ -0,0 +1,117 @@ +// +// BAClearCacheManager.m +// BABaseProject +// +// Created by 博爱 on 16/7/14. +// Copyright © 2016年 博爱之家. All rights reserved. +// + +#import "BAClearCacheManager.h" + +@implementation BAClearCacheManager + ++ (instancetype)ba_sharedCache +{ + static BAClearCacheManager *manager = nil; + static dispatch_once_t onceToken; + dispatch_once(&onceToken, ^{ + manager = [[BAClearCacheManager alloc] init]; + }); + + return manager; +} + +#pragma mark - 计算单个文件大小 +- (CGFloat)ba_fileSizeAtPath:(NSString *)path +{ + NSFileManager *fileManager=[NSFileManager defaultManager]; + if([fileManager fileExistsAtPath:path]) + { + long long size=[fileManager attributesOfItemAtPath:path error:nil].fileSize; + return size/1024.0/1024.0; + } + return 0; +} + +- (CGFloat)ba_loadCacheSize +{ + self.cacheSize = 0; + NSString *cachPath = [NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES) objectAtIndex:0]; + NSArray *files = [[NSFileManager defaultManager] subpathsAtPath:cachPath]; + for (NSString *f in files) + { + NSString *path = [cachPath stringByAppendingPathComponent:f]; + self.cacheSize += [self ba_fileSizeAtPath:path]; + } + BALog(@"cacheSize == %f",self.cacheSize); + + return self.cacheSize; + +} + +#pragma mark - 计算目录大小 +- (CGFloat)ba_folderSizeAtPath:(NSString *)path +{ + NSFileManager *fileManager=[NSFileManager defaultManager]; + float folderSize; + if ([fileManager fileExistsAtPath:path]) + { + NSArray *childerFiles=[fileManager subpathsAtPath:path]; + for (NSString *fileName in childerFiles) + { + NSString *absolutePath=[path stringByAppendingPathComponent:fileName]; + folderSize += [self ba_fileSizeAtPath:absolutePath]; + } + //SDWebImage框架自身计算缓存的实现 + // folderSize+=[[SDImageCache sharedImageCache] getSize]/1024.0/1024.0; + BALog(@"d = %f",folderSize); + return folderSize; + } + return 0; +} + +//第一种: +//-(void)clearCache:(NSString *)path{ +// NSFileManager *fileManager=[NSFileManager defaultManager]; +// if ([fileManager fileExistsAtPath:path]) { +// NSArray *childerFiles=[fileManager subpathsAtPath:path]; +// for (NSString *fileName in childerFiles) { +// //如有需要,加入条件,过滤掉不想删除的文件 +// NSString *absolutePath=[path stringByAppendingPathComponent:fileName]; +// [fileManager removeItemAtPath:absolutePath error:nil]; +// } +// } +// [[SDImageCache sharedImageCache] cleanDisk]; +//} + + +#pragma mark - 清除缓存 +//第二种: +- (void)ba_myClearCacheAction{ + dispatch_async( + dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0) + , ^{ + NSString *cachPath = [NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES) objectAtIndex:0]; + BALog(@"cachPath===%@",cachPath); + NSArray *files = [[NSFileManager defaultManager] subpathsAtPath:cachPath]; + BALog(@"files :%lu",(unsigned long)[files count]); + BALog(@"file === %@",files); + for (NSString *p in files) + { + NSError *error; + NSString *path = [cachPath stringByAppendingPathComponent:p]; + if ([[NSFileManager defaultManager] fileExistsAtPath:path]) + { + [[NSFileManager defaultManager] removeItemAtPath:path error:&error]; + } + } + [self performSelectorOnMainThread:@selector(ba_clearCacheSuccess) withObject:nil waitUntilDone:YES];}); +} + +- (void)ba_clearCacheSuccess +{ + BALog(@"清理成功"); +} + + +@end diff --git "a/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BAKit.h" "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BAKit.h" index 1074198..88f8352 100755 --- "a/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BAKit.h" +++ "b/BABaseProject/BAMainCode/BATools(\345\267\245\345\205\267\347\261\273)/BAKit(\345\267\245\345\205\267\347\261\273)/BAKit.h" @@ -111,11 +111,15 @@ #pragma mark - ****** 其他封装 /*! GCD */ #import "GCD/GCD.h" +/*! 清理系统缓存 */ +#import "BAClearCacheManager.h" + /*! 自定义上下拉刷新 */ #import "BACustomMJFooter.h" #import "BACustomMJHeader.h" + #pragma mark - ****** BAKitManager类 /*! BAKitManager */ #import "BAKitManager.h"