TTCalloutViewSimple
@interface TTCalloutViewSimple : TTCalloutOutlineView
The TTCalloutViewSimple view displays additional information such as a title string. @deprecated This class is deprecated, use TTCalloutOutlineView instead.
-
Initializes and returns a new callout view simple.
Declaration
Objective-C
- (instancetype _Nonnull)initWithText:(NSString *_Nonnull)text;
Swift
init(text: String)
Parameters
text
The text to be displayed by the view.
Return Value
instance of TTCalloutViewSimple.
-
Initializes and returns a new callout view simple.
Declaration
Objective-C
- (instancetype _Nonnull)initWithAnnotation:(TTAnnotation *_Nonnull)annotation;
Swift
init(annotation: TTAnnotation)
Parameters
annotation
The annotation object to be displayed by the view.
Return Value
instance of TTCalloutViewSimple.
-
The annotation object currently associated with the view. Property is not null only when callout is attached to anotation.
Declaration
Objective-C
@property (readwrite, strong, nonatomic) TTAnnotation *_Nullable annotation;
Swift
var annotation: TTAnnotation? { get set }
-
The text to be displayed by the view.
Declaration
Objective-C
@property (readonly, strong, nonatomic) NSString *_Nonnull text;
Swift
var text: String { get }