Re: "Recursive" #imports
Re: "Recursive" #imports
- Subject: Re: "Recursive" #imports
- From: "A.M." <email@hidden>
- Date: Thu, 14 Jun 2007 15:12:53 -0400
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
_______________________________________________
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