PTAnnotStyleViewControllerDelegate
@protocol PTAnnotStyleViewControllerDelegate <NSObject>
The methods declared by the PTAnnotStyleViewControllerDelegate protocol allow the adopting delegate to respond to messages from the AnnotStyleViewController class.
-
Informs the delegate when the annotation style has been committed by the user.
Declaration
Objective-C
- (void)annotStyleViewController: (nonnull PTAnnotStyleViewController *)annotStyleViewController didCommitStyle:(nonnull PTAnnotStyle *)annotStyle;
Swift
func annotStyleViewController(_ annotStyleViewController: PTAnnotStyleViewController, didCommit annotStyle: PTAnnotStyle)
-
Allows the delegate to adjust the minimum value for the given annotation style and style key.
Declaration
Objective-C
- (void)annotStyleViewController: (nonnull PTAnnotStyleViewController *)annotStyleViewController minimumValue:(inout nonnull CGFloat *)minimumValue forStyle:(nonnull PTAnnotStyle *)annotStyle key:(nonnull PTAnnotStyleKey)styleKey;
Swift
optional func annotStyleViewController(_ annotStyleViewController: PTAnnotStyleViewController, minimumValue: UnsafeMutablePointer<CGFloat>, for annotStyle: PTAnnotStyle, key styleKey: PTAnnotStyleKey)
-
Allows the delegate to adjust the maximum value for the given annotation style and style key.
Declaration
Objective-C
- (void)annotStyleViewController: (nonnull PTAnnotStyleViewController *)annotStyleViewController maximumValue:(inout nonnull CGFloat *)maximumValue forStyle:(nonnull PTAnnotStyle *)annotStyle key:(nonnull PTAnnotStyleKey)styleKey;
Swift
optional func annotStyleViewController(_ annotStyleViewController: PTAnnotStyleViewController, maximumValue: UnsafeMutablePointer<CGFloat>, for annotStyle: PTAnnotStyle, key styleKey: PTAnnotStyleKey)
-
Informs the delegate when the annotation style has been changed by the user.
Declaration
Objective-C
- (void)annotStyleViewController: (nonnull PTAnnotStyleViewController *)annotStyleViewController didChangeStyle:(nonnull PTAnnotStyle *)annotStyle;
Swift
optional func annotStyleViewController(_ annotStyleViewController: PTAnnotStyleViewController, didChange annotStyle: PTAnnotStyle)