Removed “private” header
Instead of exposing these methods in a private header that winds up triggering warnings publicly, just redeclare the methods in a category. Since this is a test app, we’ll catch any issues that arise from refactoring simply by testing. Fixes #1579.
This commit is contained in:
committed by
John Firebaugh
parent
2c7d0567fa
commit
245823e474
@@ -1,14 +0,0 @@
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface MGLMapView ()
|
||||
|
||||
#pragma mark - Debugging
|
||||
|
||||
/** Triggers another render pass even when it is not necessary. */
|
||||
- (void)invalidate;
|
||||
|
||||
/** Returns whether the map view is currently loading or processing any assets required to render the map */
|
||||
- (BOOL)isFullyLoaded;
|
||||
|
||||
@end
|
||||
|
||||
@@ -1,12 +1,23 @@
|
||||
#import "MBXBenchViewController.h"
|
||||
|
||||
#import <mbgl/ios/MGLMapView.h>
|
||||
#import <mbgl/ios/private/MGLMapView_Private.h>
|
||||
|
||||
#include "locations.hpp"
|
||||
|
||||
#include <chrono>
|
||||
|
||||
@interface MGLMapView (MBXBenchmarkAdditions)
|
||||
|
||||
#pragma mark - Debugging
|
||||
|
||||
/** Triggers another render pass even when it is not necessary. */
|
||||
- (void)invalidate;
|
||||
|
||||
/** Returns whether the map view is currently loading or processing any assets required to render the map */
|
||||
- (BOOL)isFullyLoaded;
|
||||
|
||||
@end
|
||||
|
||||
@interface MBXBenchViewController () <MGLMapViewDelegate>
|
||||
|
||||
@property (nonatomic) MGLMapView *mapView;
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
|
||||
'sources': [
|
||||
'./main.m',
|
||||
'../../include/mbgl/ios/MGLMapView_private.h',
|
||||
'./MBXBenchAppDelegate.h',
|
||||
'./MBXBenchAppDelegate.m',
|
||||
'./MBXBenchViewController.h',
|
||||
|
||||
Reference in New Issue
Block a user