OCKConnectMessageItem Class Reference

Inherits from NSObject
Conforms to NSCopying
NSSecureCoding
Declared in OCKConnectMessageItem.h

The OCKConnectMessageItem is an object that can be used to display a message in the connect view controller.

– initWithMessageType:name:message:dateString:

Returns an initialzed message item using the specified values.

- (instancetype)initWithMessageType:(OCKConnectMessageType)type name:(NSString *)name message:(NSString *)message dateString:(NSString *)dateString

Parameters

type

The message type (see OCKConnectMessageType).

name

The contact name associated with the message.

message

The content of the message.

dateString

The string representation of the message date.

Return Value

An initialzed connect message item.

Declared In

OCKConnectMessageItem.h

  type

The message type (see OCKConnectMessageType).

@property (nonatomic, readonly) OCKConnectMessageType type

Declared In

OCKConnectMessageItem.h

  name

A string indicating the contact name associated with the message.

@property (nonatomic, copy, readonly) NSString *name

Declared In

OCKConnectMessageItem.h

  message

A string indicating the message content.

@property (nonatomic, copy, readonly) NSString *message

Declared In

OCKConnectMessageItem.h

  dateString

A string indicating the date for the message.

@property (nonatomic, readonly) NSString *dateString

Declared In

OCKConnectMessageItem.h