Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (16 sloc) 481 Bytes
//
// Licensed under the terms in License.txt
//
// Copyright 2010 Allen Ding. All rights reserved.
//
#import "NSMethodSignature+KiwiAdditions.h"
@implementation NSMethodSignature(KiwiAdditions)
#pragma mark -
#pragma mark Getting Information on Message Arguments
- (NSUInteger)numberOfMessageArguments {
return [self numberOfArguments] - 2;
}
- (const char *)messageArgumentTypeAtIndex:(NSUInteger)anIndex {
return [self getArgumentTypeAtIndex:anIndex + 2];
}
@end
Jump to Line
Something went wrong with that request. Please try again.