[ios, macos] Deprecate methods in favor of new completion handler versions

This commit is contained in:
Jason Wray
2019-06-18 12:13:43 -07:00
parent a16c67d953
commit 8a9567e072
8 changed files with 42 additions and 49 deletions

View File

@@ -1431,8 +1431,7 @@ public:
}
- (void)setContentInsets:(NSEdgeInsets)contentInsets {
MGLLogDebug(@"Setting contentInset: %@", MGLStringFromNSEdgeInsets(contentInsets));
[self setContentInsets:contentInsets animated:NO];
[self setContentInsets:contentInsets animated:NO completionHandler:nil];
}
- (void)setContentInsets:(NSEdgeInsets)contentInsets animated:(BOOL)animated {