CocoaDev

Edit AllPages

OriginalClass -part of AspectCocoa

#import <Foundation/Foundation.h>

@interface OriginalClass : NSObject {

}

@end


#import “OriginalClass.h”

@implementation OriginalClass

@end

Shouldn’t -g:’s parameter be (id) rather than (id *)? Otherwise it’s a C-array of objects… and you’re using it like it’s a single object. So either change (id *) to (id) or change thing in the NSLog statement to *thing.