RE: Simple question
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