PLUIToolTipView Class Reference
| Inherits from | UIView |
| Declared in | PLUIToolTipView.h PLUIToolTipView.m |
Overview
Use the PLUIToolTipView class to display a descriptive message about another visual element.
Tasks
Other Methods
-
– initWithTitle:message:Convenience method for initializing a tool tip view.
-
– initWithMessage:Convenience method for initializing a tool tip view.
-
– initWithTitle:message:pointAt:Convenience method for initializing a tool tip view.
-
– pointAt:Helper method that automatically figures out the frame for various elements
-
– showAnimated:Displays the receiver.
-
– showDisplays the receiver using animation.
-
– dismissDismisses the receiver
Setting Properties
-
titleThe string that appears in the receiver’s title bar.
property -
messageDescriptive text that provides more details than the title.
property -
pointAtThe frame in which to point at in screen coordinates.
property -
fillColorThe receiver’s fill color.
property -
borderColorThe receiver’s border color.
property -
textColorThe receiver’s text color.
property -
paddingThe spacing between the border and text.
property -
marginThe spacing between the tooltip and window.
property -
arrowSizeThe size of the arrow.
property -
cornerRadiusThe radius used to draw the tooltip.
property -
orientationThe orientation of the tooltip around the view it’s pointing at.
property -
orientationOrderThe order that PLUIToolTipViewOrientationAuto uses to auto orient.
property -
arrowPositionThe position of the arrow.
property -
shrinkToFitDetermines if the receiver will shrink to maintain its visibility on screen.
property -
maximumShrinkThe minimum amount the receiver will shrink when adjusting itself to remain on screen.
property
Properties
arrowPosition
The position of the arrow.
@property (nonatomic, assign) PLUIToolTipViewArrowPosition arrowPositionDeclared In
PLUIToolTipView.harrowSize
The size of the arrow.
@property (nonatomic, assign) CGSize arrowSizeDeclared In
PLUIToolTipView.hborderColor
The receiver’s border color.
@property (nonatomic, retain) UIColor *borderColorDeclared In
PLUIToolTipView.hcornerRadius
The radius used to draw the tooltip.
@property (nonatomic, assign) NSInteger cornerRadiusDeclared In
PLUIToolTipView.hfillColor
The receiver’s fill color.
@property (nonatomic, retain) UIColor *fillColorDeclared In
PLUIToolTipView.hmargin
The spacing between the tooltip and window.
@property (nonatomic, assign) PLCGRectOffset marginDeclared In
PLUIToolTipView.hmaximumShrink
The minimum amount the receiver will shrink when adjusting itself to remain on screen.
@property (nonatomic, assign) CGFloat maximumShrinkDeclared In
PLUIToolTipView.hmessage
Descriptive text that provides more details than the title.
@property (nonatomic, retain) NSString *messageDeclared In
PLUIToolTipView.horientation
The orientation of the tooltip around the view it’s pointing at.
@property (nonatomic, assign) PLUIToolTipViewOrientation orientationDeclared In
PLUIToolTipView.horientationOrder
The order that PLUIToolTipViewOrientationAuto uses to auto orient.
@property (nonatomic, retain) NSArray *orientationOrderDeclared In
PLUIToolTipView.hpadding
The spacing between the border and text.
@property (nonatomic, assign) PLCGRectOffset paddingDeclared In
PLUIToolTipView.hpointAt
The frame in which to point at in screen coordinates.
@property (nonatomic, assign) CGRect pointAtDeclared In
PLUIToolTipView.hshrinkToFit
Determines if the receiver will shrink to maintain its visibility on screen.
@property (nonatomic, assign) BOOL shrinkToFitDeclared In
PLUIToolTipView.htextColor
The receiver’s text color.
@property (nonatomic, retain) UIColor *textColorDeclared In
PLUIToolTipView.htitle
The string that appears in the receiver’s title bar.
@property (nonatomic, retain) NSString *titleDeclared In
PLUIToolTipView.hInstance Methods
initWithMessage:
Convenience method for initializing a tool tip view.
- (id)initWithMessage:(NSString *)messageParameters
- message
Descriptive text that provides more details than the title.
Declared In
PLUIToolTipView.hinitWithTitle:message:
Convenience method for initializing a tool tip view.
- (id)initWithTitle:(NSString *)title message:(NSString *)messageParameters
- title
The string that appears in the receiver’s title bar.
- message
Descriptive text that provides more details than the title.
Declared In
PLUIToolTipView.hinitWithTitle:message:pointAt:
Convenience method for initializing a tool tip view.
- (id)initWithTitle:(NSString *)title message:(NSString *)message pointAt:(id)itemParameters
- title
The string that appears in the receiver’s title bar.
- message
Descriptive text that provides more details than the title.
- item
The element in which to point at.
Declared In
PLUIToolTipView.h