My question is, that I would know how to use 2 .m files for one objectclass also for one header (.h)
I have a big method with 20000+ lines and I would, that this method
You can make the excessively long method a category of the class:
MyClass.h:
@interface MyClass
@property ...
-(void) method;
...
@end
@interface MyClass (BigMethod)
-(void) bigMethod;
@end
MyClass.m:
@implementation MyClass
-(void) method
{
...
}
...
@end
BigMethod.m
@implementation MyClass (BigMethod)
-(void) bigMethod
{
...
}
@end
However, a 20k line method is absurd. You should really refactor it.