• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Beginner question - the differences between .h and .m
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Beginner question - the differences between .h and .m


  • Subject: Re: Beginner question - the differences between .h and .m
  • From: Marcus <email@hidden>
  • Date: Sun, 23 Mar 2008 11:58:09 +0100


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


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Beginner question - the differences between .h and .m (From: Alex Handley <email@hidden>)

  • Prev by Date: Beginner question - the differences between .h and .m
  • Next by Date: Re: @class
  • Previous by thread: Beginner question - the differences between .h and .m
  • Next by thread: Re: Beginner question - the differences between .h and .m
  • Index(es):
    • Date
    • Thread