Introduce `-[MGLSource initWithPendingSource:]`, allowing the base class to track the owned `_pendingSource` pointer and implement `-addToMapView:` and `-removeFromMapView:` without any casts.
9 lines
119 B
Objective-C
9 lines
119 B
Objective-C
#import "MGLVectorSource.h"
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface MGLVectorSource (Private)
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|