• 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: "Recursive" #imports
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: "Recursive" #imports (From: "A.M." <email@hidden>)

  • Prev by Date: Re: "Recursive" #imports
  • Next by Date: Clarifying when NSTextField/Cell triggers target/action...
  • Previous by thread: Re: "Recursive" #imports
  • Next by thread: Re: "Recursive" #imports
  • Index(es):
    • Date
    • Thread