FROM : Alex Handley
DATE : Sun Mar 23 14:12:16 2008
Thanks, that's cleared that up
>> 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
DATE : Sun Mar 23 14:12:16 2008
Thanks, that's cleared that up
>> 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 mails | Author | Date |
|---|---|---|
| Alex Handley | Mar 23, 11:45 | |
| Marcus | Mar 23, 11:58 | |
| Alex Handley | Mar 23, 14:12 |






Cocoa mail archive

