• 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: Simple question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Simple question


  • Subject: RE: Simple question
  • From: Luca Ciciriello <email@hidden>
  • Date: Mon, 17 Mar 2008 12:53:52 +0000
  • Importance: Normal

Yes, you got it. .h stands for "header" and is the place where you make your declarations, .m stands for "module" and is where the definitions take place.
You can encounter also .mm exetension. In these file you can mix Objective-C an C++ language.

Luca.
----------------------------------------
> From: email@hidden
> To: email@hidden
> Date: Tue, 18 Mar 2008 00:45:17 +1300
> CC:
> Subject: Simple question
>
> I have studying Cocoa - objective-C by myself for a few days ( im
> entirely new to programming). There's a question I wanna know about.
>
> When you create a project in XCode, and add a new class, does anyone
> know what .h file and .m respectively for?
>
> I mean if they have their own jobs in the coding, I wanna know like .h
> for declare the varibles and .m for implementing?
>
>
>
> _______________________________________________
>
> 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

_________________________________________________________________
Free games, great prizes - get gaming at Gamesbox.
http://www.searchgamesbox.com_______________________________________________

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

  • Follow-Ups:
    • Re: Simple question
      • From: Scott Thompson <email@hidden>
References: 
 >Simple question (From: Cocoa <email@hidden>)

  • Prev by Date: Re: Distributed Objects NSPortTimeoutException
  • Next by Date: Return the value to a pop up window
  • Previous by thread: Simple question
  • Next by thread: Re: Simple question
  • Index(es):
    • Date
    • Thread