CocoaDev

Edit AllPages

General/TRConsolidateMessages is a small class I wrote to consolidate messages for myself, it was inspired by General/NSNotificationQueue.

Unlike General/NSNotificationQueue I didn’t want to mess around with General/NSNotificationCenter for this code which must be called often yet is relatively slow (redrawing).

I am releasing this code to the everyone under the BSD Licence so that everyone may benefit.

Upsides:

Downsides

Usage: #import “Controller.h” #import “General/TRConsolidatingObject.h”

@implementation Controller

@end

You may also use the objC method: General/[[TRConsolidatingObject consolidator] scheduleMessage:selector to:target withObject:object]; However the function is easier to type.

Download: http://triage-software.com/leach?id=General/TRConsolidateMessages

Comments: