We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(void)viewDidLoad { [super viewDidLoad]; // setupLogger [HLNetworkLogger setupConfig:^(HLNetworkLoggerConfig * _Nonnull config) { config.enableLocalLog = YES; config.logAutoSaveCount = 5; config.loggerType = HLNetworkLoggerTypePlist; }]; [HLNetworkLogger setDelegate:self]; [HLNetworkLogger startLogging];
// setupNetwork [HLNetworkManager setupConfig:^(HLNetworkConfig * _Nonnull config) { config.request.baseURL = @"https://httpbin.org"; config.policy.isBackgroundSession = NO; config.request.apiVersion = nil; // config.request.retryCount = 4; }]; [HLNetworkManager registerResponseObserver:self];
// [self testTask]; [self testAPI]; // // [self testButton]; // [self testHome]; }
Main Thread Checker: UI API called on a background thread: -[UIApplication setNetworkActivityIndicatorVisible:] PID: 30646, TID: 274588, Thread name: (none), Queue name: com.qkhl.wangshiyu13.networking.callback.queue, QoS: 0 Backtrace: 4 HLNetworking 0x000000010c6bb245 -[HLNetworkManager send:atSemaphore:atGroup:] + 661
The text was updated successfully, but these errors were encountered:
No branches or pull requests
(void)viewDidLoad {
[super viewDidLoad];
// setupLogger
[HLNetworkLogger setupConfig:^(HLNetworkLoggerConfig * _Nonnull config) {
config.enableLocalLog = YES;
config.logAutoSaveCount = 5;
config.loggerType = HLNetworkLoggerTypePlist;
}];
[HLNetworkLogger setDelegate:self];
[HLNetworkLogger startLogging];
// setupNetwork
[HLNetworkManager setupConfig:^(HLNetworkConfig * _Nonnull config) {
config.request.baseURL = @"https://httpbin.org";
config.policy.isBackgroundSession = NO;
config.request.apiVersion = nil;
// config.request.retryCount = 4;
}];
[HLNetworkManager registerResponseObserver:self];
// [self testTask];
[self testAPI];
//
// [self testButton];
// [self testHome];
}
Main Thread Checker: UI API called on a background thread: -[UIApplication setNetworkActivityIndicatorVisible:]
PID: 30646, TID: 274588, Thread name: (none), Queue name: com.qkhl.wangshiyu13.networking.callback.queue, QoS: 0
Backtrace:
4 HLNetworking 0x000000010c6bb245 -[HLNetworkManager send:atSemaphore:atGroup:] + 661
The text was updated successfully, but these errors were encountered: