Skip navigation.
 
mlRe: Beginner question - the differences between .h and .m
FROM : Marcus
DATE : Sun Mar 23 11:58:09 2008

23 mar 2008 kl. 11.45 skrev Alex Handley:

> Hi, I have just started learning Cocoa and I have been reading the 
> apple
> tutorials but one thing they don't really explain is what is the 
> purpose of
> a .m and .h for each class. This is probably a silly question but 
> coming
> from a java im only used to seeing one class file.


Most C programmers uses separate header and implementation files, it's 
not something that only applies when using Cocoa. I think the article 
on Wikipedia has a good explanation.
http://en.wikipedia.org/wiki/Header_file

> Happy Easter



Happy Easter to you too.

Marcus

Related mailsAuthorDate
mlBeginner question - the differences between .h and .m Alex Handley Mar 23, 11:45
mlRe: Beginner question - the differences between .h and .m Marcus Mar 23, 11:58
mlRe: Beginner question - the differences between .h and .m Alex Handley Mar 23, 14:12