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

Setting Properties

Properties

arrowPosition

The position of the arrow.

@property (nonatomic, assign) PLUIToolTipViewArrowPosition arrowPosition

Declared In

PLUIToolTipView.h

arrowSize

The size of the arrow.

@property (nonatomic, assign) CGSize arrowSize

Declared In

PLUIToolTipView.h

borderColor

The receiver’s border color.

@property (nonatomic, retain) UIColor *borderColor

Declared In

PLUIToolTipView.h

cornerRadius

The radius used to draw the tooltip.

@property (nonatomic, assign) NSInteger cornerRadius

Declared In

PLUIToolTipView.h

fillColor

The receiver’s fill color.

@property (nonatomic, retain) UIColor *fillColor

Declared In

PLUIToolTipView.h

margin

The spacing between the tooltip and window.

@property (nonatomic, assign) PLCGRectOffset margin

Declared In

PLUIToolTipView.h

maximumShrink

The minimum amount the receiver will shrink when adjusting itself to remain on screen.

@property (nonatomic, assign) CGFloat maximumShrink

Declared In

PLUIToolTipView.h

message

Descriptive text that provides more details than the title.

@property (nonatomic, retain) NSString *message

Declared In

PLUIToolTipView.h

orientation

The orientation of the tooltip around the view it’s pointing at.

@property (nonatomic, assign) PLUIToolTipViewOrientation orientation

Declared In

PLUIToolTipView.h

orientationOrder

The order that PLUIToolTipViewOrientationAuto uses to auto orient.

@property (nonatomic, retain) NSArray *orientationOrder

Declared In

PLUIToolTipView.h

padding

The spacing between the border and text.

@property (nonatomic, assign) PLCGRectOffset padding

Declared In

PLUIToolTipView.h

pointAt

The frame in which to point at in screen coordinates.

@property (nonatomic, assign) CGRect pointAt

Declared In

PLUIToolTipView.h

shrinkToFit

Determines if the receiver will shrink to maintain its visibility on screen.

@property (nonatomic, assign) BOOL shrinkToFit

Declared In

PLUIToolTipView.h

textColor

The receiver’s text color.

@property (nonatomic, retain) UIColor *textColor

Declared In

PLUIToolTipView.h

title

The string that appears in the receiver’s title bar.

@property (nonatomic, retain) NSString *title

Declared In

PLUIToolTipView.h

Instance Methods

dismiss

Dismisses the receiver

- (void)dismiss

Declared In

PLUIToolTipView.h

initWithMessage:

Convenience method for initializing a tool tip view.

- (id)initWithMessage:(NSString *)message

Parameters

message

Descriptive text that provides more details than the title.

Declared In

PLUIToolTipView.h

initWithTitle:message:

Convenience method for initializing a tool tip view.

- (id)initWithTitle:(NSString *)title message:(NSString *)message

Parameters

title

The string that appears in the receiver’s title bar.

message

Descriptive text that provides more details than the title.

Declared In

PLUIToolTipView.h

initWithTitle:message:pointAt:

Convenience method for initializing a tool tip view.

- (id)initWithTitle:(NSString *)title message:(NSString *)message pointAt:(id)item

Parameters

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

pointAt:

Helper method that automatically figures out the frame for various elements

- (void)pointAt:(id)item

Parameters

item

The element in which to point at

Declared In

PLUIToolTipView.h

show

Displays the receiver using animation.

- (void)show

Declared In

PLUIToolTipView.h

showAnimated:

Displays the receiver.

- (void)showAnimated:(BOOL)animated

Declared In

PLUIToolTipView.h