Skip to content

Commit

Permalink
style: code format
Browse files Browse the repository at this point in the history
  • Loading branch information
GIOSDK committed Sep 18, 2023
1 parent 9046a26 commit 9ac2727
Show file tree
Hide file tree
Showing 17 changed files with 32 additions and 31 deletions.
2 changes: 1 addition & 1 deletion GrowingTrackerCore/Core/GrowingModuleManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
#import <objc/message.h>
#import <objc/runtime.h>
#import "GrowingTrackerCore/Core/GrowingContext.h"
#import "GrowingTrackerCore/Thirdparty/Logger/GrowingLogger.h"
#import "GrowingTrackerCore/Public/GrowingAnnotationCore.h"
#import "GrowingTrackerCore/Public/GrowingModuleProtocol.h"
#import "GrowingTrackerCore/Thirdparty/Logger/GrowingLogger.h"

static NSString *kInitSelector = @"growingModInit:";
static NSString *kSetDataCollectionEnabledSelector = @"growingModSetDataCollectionEnabled:";
Expand Down
2 changes: 1 addition & 1 deletion GrowingTrackerCore/Core/GrowingServiceManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@

#import "GrowingTrackerCore/Public/GrowingServiceManager.h"
#import <objc/message.h>
#import "GrowingTrackerCore/Thirdparty/Logger/GrowingLogger.h"
#import "GrowingTrackerCore/Public/GrowingAnnotationCore.h"
#import "GrowingTrackerCore/Public/GrowingBaseService.h"
#import "GrowingTrackerCore/Thirdparty/Logger/GrowingLogger.h"

@interface GrowingServiceManager ()

Expand Down
2 changes: 1 addition & 1 deletion GrowingTrackerCore/Database/GrowingEventDatabase.m
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
// limitations under the License.

#import "GrowingTrackerCore/Database/GrowingEventDatabase.h"
#import "GrowingTrackerCore/Public/GrowingServiceManager.h"
#import "GrowingTrackerCore/Thirdparty/Logger/GrowingLogger.h"
#import "GrowingTrackerCore/Utils/GrowingInternalMacros.h"
#import "GrowingTrackerCore/Public/GrowingServiceManager.h"

long long const GrowingEventDatabaseExpirationTime = 86400000 * 7;
NSString *const GrowingEventDatabaseErrorDomain = @"com.growing.event.database.error";
Expand Down
2 changes: 1 addition & 1 deletion GrowingTrackerCore/Event/Base/GrowingBaseEvent.m
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
#import "GrowingTrackerCore/Manager/GrowingConfigurationManager.h"
#import "GrowingTrackerCore/Manager/GrowingSession.h"
#import "GrowingTrackerCore/Network/GrowingNetworkInterfaceManager.h"
#import "GrowingTrackerCore/Utils/GrowingDeviceInfo.h"
#import "GrowingTrackerCore/Public/GrowingFieldsIgnore.h"
#import "GrowingTrackerCore/Utils/GrowingDeviceInfo.h"
#import "GrowingULTimeUtil.h"

@implementation GrowingBaseEvent
Expand Down
6 changes: 3 additions & 3 deletions GrowingTrackerCore/Event/GrowingEventManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@
#import "GrowingTrackerCore/Manager/GrowingSession.h"
#import "GrowingTrackerCore/Network/GrowingNetworkInterfaceManager.h"
#import "GrowingTrackerCore/Network/Request/GrowingEventRequest.h"
#import "GrowingTrackerCore/Thirdparty/Logger/GrowingLogger.h"
#import "GrowingTrackerCore/Thread/GrowingDispatchManager.h"
#import "GrowingTrackerCore/Utils/GrowingDeviceInfo.h"
#import "GrowingTrackerCore/Public/GrowingBaseEvent.h"
#import "GrowingTrackerCore/Public/GrowingEventFilter.h"
#import "GrowingTrackerCore/Public/GrowingEventNetworkService.h"
#import "GrowingTrackerCore/Public/GrowingServiceManager.h"
#import "GrowingTrackerCore/Public/GrowingTrackConfiguration.h"
#import "GrowingTrackerCore/Thirdparty/Logger/GrowingLogger.h"
#import "GrowingTrackerCore/Thread/GrowingDispatchManager.h"
#import "GrowingTrackerCore/Utils/GrowingDeviceInfo.h"

static const NSUInteger kGrowingMaxDBCacheSize = 100; // default: write to DB as soon as there are 100 events
static const NSUInteger kGrowingMaxBatchSize = 500; // default: send no more than 500 events in every batch
Expand Down
2 changes: 1 addition & 1 deletion GrowingTrackerCore/FileStorage/GrowingFileStorage.m
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@

#import "GrowingTrackerCore/FileStorage/GrowingFileStorage.h"
#import "GrowingTrackerCore/Helpers/GrowingHelpers.h"
#import "GrowingTrackerCore/Public/GrowingServiceManager.h"
#import "GrowingTrackerCore/Thirdparty/Logger/GrowingLogger.h"
#import "GrowingTrackerCore/Utils/GrowingDeviceInfo.h"
#import "GrowingTrackerCore/Public/GrowingServiceManager.h"

NSString *const kGrowingResidentDirName = @"com.growingio.core";
NSString *const kGrowingDirCommonPrefix = @"com.growingio.";
Expand Down
8 changes: 4 additions & 4 deletions GrowingTrackerCore/GrowingRealTracker.m
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@
#import "GrowingTrackerCore/LogFormat/GrowingWSLoggerFormat.h"
#import "GrowingTrackerCore/Manager/GrowingConfigurationManager.h"
#import "GrowingTrackerCore/Manager/GrowingSession.h"
#import "GrowingTrackerCore/Public/GrowingAttributesBuilder.h"
#import "GrowingTrackerCore/Public/GrowingModuleManager.h"
#import "GrowingTrackerCore/Public/GrowingServiceManager.h"
#import "GrowingTrackerCore/Public/GrowingTrackConfiguration.h"
#import "GrowingTrackerCore/Thirdparty/Logger/GrowingLogger.h"
#import "GrowingTrackerCore/Thread/GrowingDispatchManager.h"
#import "GrowingTrackerCore/Timer/GrowingEventTimer.h"
#import "GrowingTrackerCore/Utils/GrowingArgumentChecker.h"
#import "GrowingTrackerCore/Utils/GrowingDeviceInfo.h"
#import "GrowingTrackerCore/Public/GrowingAttributesBuilder.h"
#import "GrowingTrackerCore/Public/GrowingModuleManager.h"
#import "GrowingTrackerCore/Public/GrowingServiceManager.h"
#import "GrowingTrackerCore/Public/GrowingTrackConfiguration.h"
#import "GrowingULAppLifecycle.h"

NSString *const GrowingTrackerVersionName = @"4.0.0";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@

#import "GrowingTrackerCore/Helpers/Foundation/NSData+GrowingHelper.h"
#import "GrowingTrackerCore/Helpers/Foundation/NSString+GrowingHelper.h"
#import "GrowingTrackerCore/Thirdparty/Logger/GrowingLogger.h"
#import "GrowingTrackerCore/Public/GrowingCompressService.h"
#import "GrowingTrackerCore/Public/GrowingEncryptionService.h"
#import "GrowingTrackerCore/Public/GrowingServiceManager.h"
#import "GrowingTrackerCore/Thirdparty/Logger/GrowingLogger.h"

#import <CommonCrypto/CommonCrypto.h>

Expand Down
2 changes: 1 addition & 1 deletion GrowingTrackerCore/Manager/GrowingSession.m
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@
#import "GrowingTrackerCore/Event/Tools/GrowingPersistenceDataProvider.h"
#import "GrowingTrackerCore/Helpers/GrowingHelpers.h"
#import "GrowingTrackerCore/Manager/GrowingConfigurationManager.h"
#import "GrowingTrackerCore/Public/GrowingTrackConfiguration.h"
#import "GrowingTrackerCore/Thirdparty/Logger/GrowingLogMacros.h"
#import "GrowingTrackerCore/Thirdparty/Logger/GrowingLogger.h"
#import "GrowingTrackerCore/Thread/GrowingDispatchManager.h"
#import "GrowingTrackerCore/Timer/GrowingEventTimer.h"
#import "GrowingTrackerCore/Utils/GrowingInternalMacros.h"
#import "GrowingTrackerCore/Public/GrowingTrackConfiguration.h"
#import "GrowingULAppLifecycle.h"
#import "GrowingULTimeUtil.h"

Expand Down
4 changes: 2 additions & 2 deletions Modules/Advert/GrowingAdvertising.m
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@
#import "GrowingTrackerCore/Manager/GrowingConfigurationManager.h"
#import "GrowingTrackerCore/Manager/GrowingSession.h"
#import "GrowingTrackerCore/Network/Request/GrowingNetworkConfig.h"
#import "GrowingTrackerCore/Public/GrowingEventNetworkService.h"
#import "GrowingTrackerCore/Public/GrowingServiceManager.h"
#import "GrowingTrackerCore/Thirdparty/Logger/GrowingLogger.h"
#import "GrowingTrackerCore/Thread/GrowingDispatchManager.h"
#import "GrowingTrackerCore/Utils/GrowingDeviceInfo.h"
#import "GrowingTrackerCore/Public/GrowingEventNetworkService.h"
#import "GrowingTrackerCore/Public/GrowingServiceManager.h"
#import "GrowingULAppLifecycle.h"

#import <WebKit/WebKit.h>
Expand Down
2 changes: 1 addition & 1 deletion Modules/Flutter/GrowingFlutterPlugin.m
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
#import "GrowingTrackerCore/Event/Autotrack/GrowingPageEvent.h"
#import "GrowingTrackerCore/Event/Autotrack/GrowingViewElementEvent.h"
#import "GrowingTrackerCore/Event/GrowingEventManager.h"
#import "GrowingTrackerCore/Thread/GrowingDispatchManager.h"
#import "GrowingTrackerCore/Public/GrowingAttributesBuilder.h"
#import "GrowingTrackerCore/Thread/GrowingDispatchManager.h"
#import "GrowingULAppLifecycle.h"

GrowingMod(GrowingFlutterPlugin)
Expand Down
4 changes: 2 additions & 2 deletions Modules/Hybrid/GrowingHybridBridgeProvider.m
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
#import "GrowingTrackerCore/Event/GrowingVisitorAttributesEvent.h"
#import "GrowingTrackerCore/Helpers/GrowingHelpers.h"
#import "GrowingTrackerCore/Manager/GrowingSession.h"
#import "GrowingTrackerCore/Thirdparty/Logger/GrowingLogger.h"
#import "GrowingTrackerCore/Utils/GrowingDeviceInfo.h"
#import "GrowingTrackerCore/Public/GrowingAnnotationCore.h"
#import "GrowingTrackerCore/Public/GrowingBaseEvent.h"
#import "GrowingTrackerCore/Thirdparty/Logger/GrowingLogger.h"
#import "GrowingTrackerCore/Utils/GrowingDeviceInfo.h"
#import "GrowingULTimeUtil.h"
#import "Modules/Hybrid/Events/GrowingHybridCustomEvent.h"
#import "Modules/Hybrid/Events/GrowingHybridEventType.h"
Expand Down
2 changes: 1 addition & 1 deletion Modules/Hybrid/GrowingWKWebViewJavascriptBridge.m
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
#import "GrowingTrackerCore/Event/GrowingNodeProtocol.h"
#import "GrowingTrackerCore/GrowingRealTracker.h"
#import "GrowingTrackerCore/Manager/GrowingConfigurationManager.h"
#import "GrowingTrackerCore/Public/GrowingTrackConfiguration.h"
#import "GrowingTrackerCore/Thirdparty/Logger/GrowingLogMacros.h"
#import "GrowingTrackerCore/Thirdparty/Logger/GrowingLogger.h"
#import "GrowingTrackerCore/Utils/GrowingDeviceInfo.h"
#import "GrowingTrackerCore/Public/GrowingTrackConfiguration.h"
#import "Modules/Hybrid/GrowingHybridBridgeProvider.h"
#import "Modules/Hybrid/GrowingWKWebViewJavascriptBridge_JS.h"
#import "Modules/Hybrid/GrowingWebViewJavascriptBridgeConfiguration.h"
Expand Down
8 changes: 4 additions & 4 deletions Modules/MobileDebugger/GrowingMobileDebugger.m
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@
#import "GrowingTrackerCore/Menu/GrowingAlert.h"
#import "GrowingTrackerCore/Menu/GrowingStatusBar.h"
#import "GrowingTrackerCore/Network/Request/GrowingNetworkConfig.h"
#import "GrowingTrackerCore/Thirdparty/Logger/GrowingLogger.h"
#import "GrowingTrackerCore/Thread/GrowingDispatchManager.h"
#import "GrowingTrackerCore/Utils/GrowingDeviceInfo.h"
#import "GrowingTrackerCore/Utils/GrowingInternalMacros.h"
#import "GrowingTrackerCore/Public/GrowingAnnotationCore.h"
#import "GrowingTrackerCore/Public/GrowingScreenshotService.h"
#import "GrowingTrackerCore/Public/GrowingServiceManager.h"
#import "GrowingTrackerCore/Public/GrowingWebSocketService.h"
#import "GrowingTrackerCore/Thirdparty/Logger/GrowingLogger.h"
#import "GrowingTrackerCore/Thread/GrowingDispatchManager.h"
#import "GrowingTrackerCore/Utils/GrowingDeviceInfo.h"
#import "GrowingTrackerCore/Utils/GrowingInternalMacros.h"
#import "GrowingULTimeUtil.h"
#import "Modules/MobileDebugger/GrowingDebuggerEventQueue.h"

Expand Down
6 changes: 3 additions & 3 deletions Modules/WebCircle/GrowingWebCircle.m
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@
#import "GrowingTrackerCore/Manager/GrowingConfigurationManager.h"
#import "GrowingTrackerCore/Menu/GrowingAlert.h"
#import "GrowingTrackerCore/Network/Request/GrowingNetworkConfig.h"
#import "GrowingTrackerCore/Thirdparty/Logger/GrowingLogger.h"
#import "GrowingTrackerCore/Thread/GrowingDispatchManager.h"
#import "GrowingTrackerCore/Utils/GrowingDeviceInfo.h"
#import "GrowingTrackerCore/Public/GrowingFlutterService.h"
#import "GrowingTrackerCore/Public/GrowingScreenshotService.h"
#import "GrowingTrackerCore/Public/GrowingServiceManager.h"
#import "GrowingTrackerCore/Public/GrowingWebSocketService.h"
#import "GrowingTrackerCore/Thirdparty/Logger/GrowingLogger.h"
#import "GrowingTrackerCore/Thread/GrowingDispatchManager.h"
#import "GrowingTrackerCore/Utils/GrowingDeviceInfo.h"
#import "Modules/WebCircle/GrowingWebCircleElement.h"
#import "Modules/WebCircle/GrowingWebCircleStatusView.h"

Expand Down
7 changes: 4 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ let package = Package(
.tracker,

// MARK: - Resources

.Resources.privacy,
.Resources.privacy_macos,

Expand Down Expand Up @@ -136,8 +137,8 @@ extension Target {

enum Resources {
static let privacy = target(name: .privacy,
path: .Path.privacy,
resources: [.copy("Resources/PrivacyInfo.xcprivacy")])
path: .Path.privacy,
resources: [.copy("Resources/PrivacyInfo.xcprivacy")])

static let privacy_macos = target(name: .privacy_macos,
path: .Path.privacy_macos,
Expand Down Expand Up @@ -405,4 +406,4 @@ extension String {
static let encrypt = "Services/Encryption"
static let screenshot = "Services/Screenshot"
}
}
}
2 changes: 1 addition & 1 deletion Services/Network/GrowingNetworkManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
// limitations under the License.

#import "Services/Network/GrowingNetworkManager.h"
#import "GrowingTrackerCore/Thirdparty/Logger/GrowingLogger.h"
#import "GrowingTrackerCore/Public/GrowingAnnotationCore.h"
#import "GrowingTrackerCore/Thirdparty/Logger/GrowingLogger.h"
#import "Services/Network/NSURLSession+GrowingURLSessionHelper.h"

GrowingService(GrowingEventNetworkService, GrowingNetworkManager)
Expand Down

0 comments on commit 9ac2727

Please sign in to comment.