In Xcode 3 I could first write my method in the implementation (.m) file; afterwards adding the same method to the interface (.h) file. At that point Xcode 3 made a code completion for the method written in the .m file. Sadly, Xcode 4 doesn't code complete my methods like Xcode 3 did. Does anyone else encountered this, and is there an option for this case?
An example:
The implementation .m file could look like this:
#import "Foundation, MyClass.h and stuff"
@implementation MyClass
-(void)mySampleMethod { NSLog(@"mySampleMethod"); }
@end
The interface .h file could look like this:
#import "Foundation and stuff"
@interface MyClass : MySuperClass {
}
-(void)myS /* in Xcode 3 the code completion would now pop up with the 'mySampleMethod' from the .m, in Xcode 4 this does not happen */ ampleMethod; /* So I either copy/paste, or write the method */
@end