author | Jens Alfke <jens@mooseyard.com> |
Fri Apr 18 09:25:10 2008 -0700 (2008-04-18) | |
changeset 6 | 2d492d8c2053 |
child 7 | 59addced5e2a |
permissions | -rw-r--r-- |
jens@0 | 1 |
// |
jens@0 | 2 |
// Target.h |
jens@0 | 3 |
// MYUtilities |
jens@0 | 4 |
// |
jens@0 | 5 |
// Created by Jens Alfke on 2/11/08. |
jens@0 | 6 |
// Copyright 2008 Jens Alfke. All rights reserved. |
jens@0 | 7 |
// |
jens@0 | 8 |
|
jens@0 | 9 |
#import <Cocoa/Cocoa.h> |
jens@0 | 10 |
|
jens@0 | 11 |
|
jens@0 | 12 |
#define $target(RCVR,METHOD) _mktarget((RCVR),@selector(METHOD)) |
jens@0 | 13 |
|
jens@0 | 14 |
id $calltarget( NSInvocation *target, id sender ); |
jens@0 | 15 |
|
jens@0 | 16 |
|
jens@0 | 17 |
NSInvocation* _mktarget( id rcvr, SEL action ); |