One way is to declare an instance methods in .h file. And declare private methods inside .m using Category .
For example, in the file MyOwnClass.h .
@interface MyOwnClass - (void)aInstanceMethod; @end
And, inside your MyOwnClass.m file, before the @implementation block,
@interface MyOwnClass (MyPrivateMethods) - (void)aPrivateMethod; @end
source share