Conforms to NSObject
Declared in JSMessageData.h

Overview

The JSMessageData protocol defines the common interface through which JSMessagesViewController interacts with message model objects. It declares the methods that a class must implement so that instances of that class can be displayed properly by a JSMessagesViewController.

Tasks

  • – text

    This value must not be nil.

    required method
  • – sender

    The name of the user who sent the message.

  • – date

    The date that the message was sent.

Instance Methods

date

The date that the message was sent.

- (NSDate *)date

Return Value

The date that the message was sent.

Declared In

JSMessageData.h

sender

The name of the user who sent the message.

- (NSString *)sender

Return Value

The name of the user who sent the message.

Declared In

JSMessageData.h

text

- (NSString *)text
Discussion

Warning: This value must not be nil.

Return Value

The body text of the message.

Declared In

JSMessageData.h