RE: "Recursive" #imports
RE: "Recursive" #imports
- Subject: RE: "Recursive" #imports
- From: "Nelson Santos" <email@hidden>
- Date: Thu, 14 Jun 2007 15:20:32 -0400
- Importance: Normal
On Jun 14, 2007, at 14:38 , Wain Glaister wrote:
>> Hi,
>>
>> You should be able to use @class in the headers (so you can declare
>> variables and method signatures) and then do a #import in the
>> implementations (so you can call methods).
>>
>> Wain
>
>I think the best advice is to only use import in header files when
>strictly necessary (subclasses, protocols, etc.) and declare
>everything else (instance variable classes, method argument classes)
>with @class.
>
>-M
I agree with M.
Nelson
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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