PTAnnotationViewCellDelegate
@protocol PTAnnotationViewCellDelegate <NSObject>
The interface for the delegate of a PTAnnotationViewCell instance.
-
Called by the annotation view cell to determine whether replies should be shown for the annotation.
If this method is not implemented by the delegate, the default return value is
NO.Declaration
Objective-C
- (BOOL)annotationViewCell:(nonnull PTAnnotationViewCell *)cell shouldShowRepliesForAnnotation:(nonnull id<PTAnnotationModel>)annotation;Swift
optional func annotationViewCell(_ cell: PTAnnotationViewCell, shouldShowRepliesForAnnotation annotation: any PTAnnotationModel) -> BoolParameters
cellThe annotation view cell.
annotationThe annotation model.
Return Value
YESif annotation reply comments should be shown,NOotherwise.
PTAnnotationViewCellDelegate Protocol Reference