summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLForegroundStyleLayer.mm
blob: 6888f89b9297e20efb336fc9a9a72aa61effe5ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#import "MGLForegroundStyleLayer.h"

@implementation MGLForegroundStyleLayer

- (NSString *)sourceIdentifier {
    [NSException raise:@"MGLAbstractClassException"
                format:@"MGLForegroundStyleLayer is an abstract class"];
    return nil;
}

- (NSString *)description {
    return [NSString stringWithFormat:
            @"<%@: %p; identifier = %@; sourceIdentifier = %@; visible = %@>",
            NSStringFromClass([self class]), (void *)self, self.identifier,
            self.sourceIdentifier, self.visible ? @"YES" : @"NO"];
}

@end