Consider the following code:
================= #include <Cocoa/Cocoa.h> #include "MyClass.h"
@implementation MyClass
- (id) init { return self; }
#ifndef _DEMO_
- (void) setSerialNumber: (NSString *) aSerialNumber { serialNumber = [aSerialNumber copy]; }
#endif
- (NSString *) description { return @"A MyClass"; }
@end =================
The name of the method setSerialNumber: is not highlighted, and it does not appear in the function popup. Removing the #ifndef cures both problems.
Is there something I can do? Is there a later version of the Obj-C bundle that covers this?
— F