I've been learning Object Oriented Programming in Objective-C and I'm a little confused about method declaration and implementation.
In some lectures I've been studying, the professor declares public methods in the .h file and then implements them in the .m file; or he may declare them private in the .m file and them implement them in the @implementation ClassViewController section.
Sometimes, however, he doesn't declare methods at all and just skips to method implementation in the @implementation ClassViewController section.
How do I make this distinction where to declare something either public or private, or not having to declare anything at all?