Add macros to simplify.

This commit is contained in:
Steve Checkoway
2006-01-15 04:28:03 +00:00
parent 56779e06e5
commit 353453a9df
@@ -14,6 +14,9 @@
- (void) performOnMainThread;
@end
#define ADD_ACTION0(mt, t, s) [mt addAction:@selector(s) withTarget:(t)]
#define ADD_ACTION1(mt, t, s, o) [mt addAction:@selector(s) withTarget:(t) andObject:(o)]
/*
* (c) 2006 Steve Checkoway
* All rights reserved.