PTAnnotationViewControllerConfiguration
@interface PTAnnotationViewControllerConfiguration : NSObject <NSCopying>
The configuration settings used by a PTAnnotationViewController.
-
Initializes a newly created
PTAnnotationViewControllerConfigurationinstance.Declaration
Objective-C
- (nonnull instancetype)init;Swift
init()Return Value
an initialized
PTAnnotationViewControllerConfigurationinstance -
Initializes a newly created
PTAnnotationViewControllerConfigurationinstance with the specified configuration. The properties fromconfigurationare copied to this instance.Declaration
Objective-C
- (nonnull instancetype)initWithConfiguration: (nonnull PTAnnotationViewControllerConfiguration *)configuration;Swift
init(configuration: PTAnnotationViewControllerConfiguration)Return Value
an initialized
PTAnnotationViewControllerConfigurationinstance
-
Whether the type names of annotations are displayed.
The default value of this property is
YES.Declaration
Objective-C
@property (nonatomic) BOOL displayAnnotationTypes;Swift
var displayAnnotationTypes: Bool { get set } -
Whether the authors of annotations are displayed.
The default value of this property is
NO.Declaration
Objective-C
@property (nonatomic) BOOL displayAnnotationAuthors;Swift
var displayAnnotationAuthors: Bool { get set }
PTAnnotationViewControllerConfiguration Class Reference