Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Bart Louwers <bart@emeel.net>
27 lines
861 B
Plaintext
27 lines
861 B
Plaintext
#import "MLNForegroundStyleLayer.h"
|
|
#import "MLNStyleLayer_Private.h"
|
|
|
|
@implementation MLNForegroundStyleLayer
|
|
|
|
- (NSString *)sourceIdentifier {
|
|
[NSException raise:MLNAbstractClassException
|
|
format:@"MLNForegroundStyleLayer is an abstract class"];
|
|
return nil;
|
|
}
|
|
|
|
- (NSString *)description {
|
|
if (self.rawLayer) {
|
|
return [NSString stringWithFormat:
|
|
@"<%@: %p; identifier = %@; sourceIdentifier = %@; visible = %@>",
|
|
NSStringFromClass([self class]), (void *)self, self.identifier,
|
|
self.sourceIdentifier, self.visible ? @"YES" : @"NO"];
|
|
}
|
|
else {
|
|
return [NSString stringWithFormat:
|
|
@"<%@: %p; identifier = %@; sourceIdentifier = <unknown>; visible = NO>",
|
|
NSStringFromClass([self class]), (void *)self, self.identifier];
|
|
}
|
|
}
|
|
|
|
@end
|