// // NGAInvocationAdditions.m // P4Menu // // Created by Michael Bishop on 10/5/11. // Copyright 2011 Numerical Garden LLC. All rights reserved. // #import "NSInvocation+NGAAdditions.h" @implementation NSInvocation (NGAAdditions) +(NSInvocation*)invocationWithSelectorName:(NSString*)selectorName target:(id)target { SEL selector = NSSelectorFromString(selectorName); NSInvocation * invocation = [NSInvocation invocationWithMethodSignature:[target methodSignatureForSelector:selector]]; [invocation setSelector:selector]; [invocation setTarget:target]; return invocation; } @end
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 20722 | jdputsch | initial branch, prep for -Zapp= support | ||
//guest/michael_bishop/MacMenu/src/NGAUtilities/Source/NSInvocation+NGAAdditions.m | |||||
#1 | 8331 | Matt Attaway |
Adding initial version of MacMenu for Perforce MacMenu is a helpful Perforce client that sits in your toolbar. It allows you to run standard Perforce operations on the document that is open the currently active editor/viewer. |