Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Tree: b34a154449
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (20 sloc) 0.921 kB
// Licensed under the terms in License.txt
// Copyright 2010 Allen Ding. All rights reserved.
#import "KiwiConfiguration.h"
@interface NSInvocation(KiwiAdditions)
#pragma mark -
#pragma mark Creating NSInvocation Objects
+ (NSInvocation *)invocationWithTarget:(id)anObject selector:(SEL)aSelector;
+ (NSInvocation *)invocationWithTarget:(id)anObject selector:(SEL)aSelector messageArguments:(const void *)firstBytes, ...;
#pragma mark -
#pragma mark Accessing Message Arguments
// Message arguments are invocation arguments that begin after the target and selector arguments. These methods provide
// convenient ways to access them.
- (NSData *)messageArgumentDataAtIndex:(NSUInteger)anIndex;
- (void)getMessageArgument:(void *)buffer atIndex:(NSUInteger)anIndex;
- (void)setMessageArgument:(const void *)bytes atIndex:(NSUInteger)anIndex;
- (void)setMessageArguments:(const void *)firstBytes, ...;
Jump to Line
Something went wrong with that request. Please try again.