OCKMessageItem Class Reference

Inherits from OCKInsightItem : NSObject
Declared in OCKMessageItem.h

The OCKMessageItem is an object that can display text such as tips or alerts.

– initWithTitle:text:tintColor:messageType:

Returns an initialzed message item using the specified values.

- (instancetype)initWithTitle:(nullable NSString *)title text:(nullable NSString *)text tintColor:(nullable UIColor *)tintColor messageType:(OCKMessageItemType)messageType

Parameters

title

The title for the message item (see OCKInsightItem).

text

The description text for the message item (see OCKInsightItem).

tintColor

The tint color for the message item (see OCKInsightItem).

messageType

The message item type.

Return Value

An initialzed message item.

Declared In

OCKMessageItem.h

  messageType

The message item type. This determines the icon indicator displayed next to the message title.

@property (nonatomic, readonly) OCKMessageItemType messageType

Discussion

See the OCKMessageItemType enum.

Declared In

OCKMessageItem.h