TruePreviewMessageViewer


Version: @(#) $Id: TruePreviewLibraryMessage.h 2 2009-06-27 07:02:45Z jhriggs $
Superclass: NSObject
Declared In: TruePreviewMessageViewer.h

Discussion

Adds a method for overriding the "mark as viewed" behavior of MessageViewer.



Groups

Instance methods

Group members:

-truePreviewReset
-truePreviewTimerFired:
-truePreviewMessageClickedOrScrolled:

 

Swizzled instance methods

Group members:

-truePreviewDealloc
-truePreviewForwardAsAttachment:
-truePreviewForwardMessage:
-truePreviewMarkAsRead:
-truePreviewMarkAsUnread:
-truePreviewMessageNoLongerDisplayedInTextView:
-truePreviewMessageWasDisplayedInTextView:
-truePreviewReplyAllMessage:
-truePreviewReplyMessage:

 

Class methods

Group members:

+truePreviewTimers

 

Accessors

Group members:

-truePreviewTimer
-truePreviewSetTimer:

Methods

+truePreviewTimers
-truePreviewDealloc
-truePreviewForwardAsAttachment:
-truePreviewForwardMessage:
-truePreviewMarkAsRead:
-truePreviewMarkAsUnread:
-truePreviewMessageNoLongerDisplayedInTextView:
-truePreviewMessageWasDisplayedInTextView:
-truePreviewReplyAllMessage:
-truePreviewReplyMessage:
-truePreviewTimer
-truePreviewSetTimer:
-truePreviewReset
-truePreviewTimerFired:
-truePreviewMessageClickedOrScrolled:

truePreviewTimers


+ (NSMutableDictionary*)truePreviewTimers; 
Return Value

The NSMutableDictionary containing the NSTimer for each instance of this class. The key is an NSNumber (unsigned long) of the address of each instance.

Discussion

Returns the timers for instances of this class.


truePreviewDealloc


- (void)truePreviewDealloc; 
Discussion

Invalidates this instance's timer and stops observing scroll changes before deallocating.


truePreviewForwardAsAttachment:


- (void)truePreviewForwardAsAttachment:(id)inSender; 
Parameters
inSender

Unused.

Discussion

Marks the currently-displayed message as read if configured to do so when forwarding.


truePreviewForwardMessage:


- (void)truePreviewForwardMessage:(id)inSender; 
Parameters
inSender

Unused.

Discussion

Marks the currently-displayed message as read if configured to do so when forwarding.


truePreviewMarkAsRead:


- (void)truePreviewMarkAsRead:(id)inSender; 
Parameters
inSender

Unused.

Discussion

Invalidates this instance's timer and stops observing scroll changes when a message is explicitly marked as read.


truePreviewMarkAsUnread:


- (void)truePreviewMarkAsUnread:(id)inSender; 
Parameters
inSender

Unused.

Discussion

Invalidates this instance's timer and stops observing scroll changes when a message is explicitly marked as unread.


truePreviewMessageNoLongerDisplayedInTextView:


- (void)truePreviewMessageNoLongerDisplayedInTextView:(NSNotification*)inNotification; 
Parameters
inNotification

The NSNotification describing the event.

Discussion

Invalidates this instance's timer and stops observing scroll changes.


truePreviewMessageWasDisplayedInTextView:


- (void)truePreviewMessageWasDisplayedInTextView:(id)inNotification; 
Parameters
inNotification

The NSNotification describing the event.

Discussion

Marks the displayed message as viewed, sets a timer to mark the displayed message as viewed, and/or adds a notification observer to mark the message as viewed when it is scrolled as appropriate.


truePreviewReplyAllMessage:


- (void)truePreviewReplyAllMessage:(id)inSender; 
Parameters
inSender

Unused.

Discussion

Marks the currently-displayed message as read if configured to do so when replying.


truePreviewReplyMessage:


- (void)truePreviewReplyMessage:(id)inSender; 
Parameters
inSender

Unused.

Discussion

Marks the currently-displayed message as read if configured to do so when replying.


truePreviewTimer


- (NSTimer*)truePreviewTimer; 
Return Value

The NSTimer for this instance.

Discussion

Returns the timer for this instance.


truePreviewSetTimer:


- (void)truePreviewSetTimer:(NSTimer*)inTimer; 
Parameters
inTimer

The NSTimer for this instance.

Discussion

Sets the timer for this instance.


truePreviewReset


- (void)truePreviewReset; 
Discussion

Invalidates this instance's timer and stops observing scroll changes.


truePreviewTimerFired:


- (void)truePreviewTimerFired:(NSTimer*)inTimer; 
Parameters
inTimer

Unused.

Discussion

Marks the currently-displayed message as read.


truePreviewMessageClickedOrScrolled:


- (void)truePreviewMessageClickedOrScrolled:(NSNotification*)inNotification; 
Parameters
inNotification

Unused.

Discussion

Marks the currently-displayed message as read.

Last Updated: Tuesday, November 24, 2009