4
This commit is contained in:
@@ -110,7 +110,7 @@
|
||||
[[KBNetworkManager shared] GET:@"https://www.apple.com"
|
||||
parameters:nil
|
||||
headers:nil
|
||||
completion:^(id jsonOrData, NSURLResponse *response, NSError *error) {
|
||||
completion:^(NSDictionary *json, NSURLResponse *response, NSError *error) {
|
||||
NSLog(@"[Test] apple.com finished, error = %@", error);
|
||||
}];
|
||||
}
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
|
||||
dispatch_async(dispatch_get_main_queue(), ^{ [self.textView becomeFirstResponder]; });
|
||||
|
||||
[[KBNetworkManager shared] GET:KB_API_APP_CONFIG parameters:nil headers:nil completion:^(id _Nullable jsonOrData, NSURLResponse * _Nullable response, NSError * _Nullable error) {
|
||||
[[KBNetworkManager shared] GET:KB_API_APP_CONFIG parameters:nil headers:nil completion:^(NSDictionary * _Nullable json, NSURLResponse * _Nullable response, NSError * _Nullable error) {
|
||||
NSLog(@"====");
|
||||
}];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user