myclass.m 262 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 #import <Foundation/Foundation.h> #import "myclass.h" @implementation MyClass { IMP myImp; } - (id)init { if (self = [super init]) { SEL theSelector = @selector(init); self->myImp = [self methodForSelector:theSelector]; } return self; } @end