> If I do a NSBundle *thisBundle = [NSBundle bundleForClass:[self class]]; it
> won't compile.
I'm going to go out on a limb and say you're using the above line in a
plain-C function rather than an Objective-C class. Is this correct?
'self' is meaningless/undefined outside of the Objective-C clas
> If I do a NSBundle *thisBundle = [NSBundle bundleForClass:[self class]];
> it won't compile.
That code should work. Can you be more specific about the error? E.g.
your exact code and compiler error logs.
-Ben
___
Cocoa-dev mailing list (Cocoa-dev@l