Hi,
I am looking around and I can't find docs about GUI scripting from the
Scripting Bridge... it seems like NSAppleScript would do it, but I would
like it better if I could do it with objective-c logic. Anybody has worked
around something like that?
_
Hi,
I am trying to add dynamic class methods to a class,
I implement:
@implementation MyClass
+ (BOOL)resolveClassMethod:(SEL)sel
{
if (sel == @selector(MySel)) {
class_addMethod(R3DSDKMeta.self, sel, (IMP)dynamicMethodIMP, "*@:");
return YES;
} else {
return NO;
}
}
NSString* dynamicMethodIMP
Correct me if I am wrong, but there is no way in objective-c to do a runtime
string execution for which the responding object is not an Objective-C
class?
like, if I have a c++ lib I would like to call from within an Objective-c
class, assuming a call like:
const char * retValue = MyExtLib::ExtLi
Thanks!
That's what I thought,
2010/5/31 Jens Alfke
>
> On May 31, 2010, at 10:11 AM, Louis-Philippe wrote:
>
> > like, if I have a c++ lib I would like to call from within an Objective-c
> > class, assuming a call like:
>
> I’m not sure what it is you’re try
An other totally different angle to tackle the implementation would be to
use both inheritance and proxing with forwardInvocation.
having:
(something like) MyObject as RootClass
then, MyArray subclass MyObject and forwardInvocation to an inner NSArray
ivar
and MyMutableArray subclass MyObject and